Getting Started with Salesforce

Let's first get you started by running your first Salesforce Integration using our demo creds, authorizing against a Salesforce Instance of your choice, and receiving the number of contacts in that Instance.

  1. Use the Fusebit Management Portal to create an account and log in.
  2. Create a new Integration using one of our Salesforce templates
  1. You will then be able to run the Integration, download it's code, modify it, and deploy your changes. Detailed instructions on how to get started with an Integration are available here.

The Integration template comes pre-configured with some example calls that invoke Salesforce's API, for example:

// For the Salesforce SDK documentation, see
  const contacts = await salesforceClient.query('SELECT count() FROM Contact');
  ctx.body = {
    message: `Successfully loaded ${contacts.totalSize} contacts from SFDC`,

The salesforceClient object provided by Fusebit is an instance of the jsforce npm package. The full reference documentation for the package is available here.

Fusebit ensures the above SDK object is already bootstrapped with the Salesforce credentials of the user invoking the integration. You do not need to worry about obtaining an access token or refresh token -- Fusebit does that for you automatically.

Whatโ€™s Next