Salesforce
Salesforce API Connection Configuration
To integrate with Salesforce, an application must be registered. Once you register the application, you can fill in the Site, Consumer Key and Consumer Secret values.
You will need help from the Salesforce Admin in your organization for the following configuration.
Login to your Salesforce portal and select the settings icon and Setup.
|
Click the App Manager menu on the left.
|
|---|
Click the New Connected App button on the right top.
|
Fill in the Basic Information section for the app definition.
Name: MultiSource Connector for CSM
Email: contact@yourcompany.com
Screenshot coming soon |
For more information, please refer to Salesforce documentation for Configure Basic Connected App Settings.
Click on the checkbox to Enable OAuth Settings.
Enter
http://localhostfor the Callback URL.Select the
Manage user data via APIs (api)scope.Disable Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows
Select Enable Client Credentials Flow and click OK on the pop-up confirmation message.
|
For more information, please refer to Salesforce documentation for OAuth Settings for API Integration and Configure a Connected App for the OAuth 2.0 Client Credentials Flow.
Once you create the application, you will get a message similar to the following:
Changes can take up to 10 minutes to take effect. Deleting a parent org also deletes all connected apps with OAuth settings enabled.
Under the App Manager menu, find the application definition and select the Manage option.
Screenshot coming soon |
Click the Edit Policies button
Screenshot coming soon |
Scroll down to the end of the page and search for the Salesforce user you would like to use for the connection, then click the Save button.
Screenshot coming soon |
We recommend using a specific user for this integration who has the API Only User permission.
If you are getting INSUFFICIENT_ACCESS error in the logs then we suggest reviewing the user permission on the following path:
Salesforce > Setup > Identity Verification > Session Security Level Policies
Under the App Manager menu, find the application definition and select the View option.
Click the Manage Consumer Details button in the API (Enable OAuth Settings) section.
|
Verify your identity with the code sent to your email address.
|
Copy the Consumer Key and Consumer Secret information.
Screenshot coming soon |
Enter Site name, Consumer Key and Consumer Secret on the Source page of our application and click Save & Check button. The site address needs to be in
*.my.salesforce.comformat. Please don’t include HTTP or slashes for the site address.
Screenshot coming soon |
Now, configure the Destination.