@samgaia/salesforce
v1.0.8-test
Published
Salesforce module for Samgaia applications
Readme
Samgaia Salesforce
Salesforce module for Samgaia applications
Getting Started
Prerequisites
This database module works with Node >= v8.6.0
For this module to work, you need to have process environment set with this values
CLIENT_ID=<-- FROM SALESFORCE APPLICATION -->
CLIENT_SECRET=<-- FROM SALESFORCE APPLICATION -->
REDIRECT_URL=<-- FROM SALESFORCE APPLICATION -->Installing
npm install git+https://gitlab.com/samgaia/salesforce.gitUsages
By default its the main database environment used.
- Initializing
import { Salesforce as sf } from '@samgaia/salesforce';
async authSalesforce() {
let authUrl = await sf.getAuthorizationUrl({});
return h.response('').redirect(authUrl);
}
API
For full API see Official jsforce docs
Authors
- Marvin Slegt - Initial work
See also the list of contributors who participated in this project.
License
This project is private and belong to Samgaia B.V.
Latest version
- 1.0.0-prod
Issues
- Visit issues page
