CloudCX Connector Hub provides integration with Salesforce via the API for CRM. The configuration is done server-side, in an easy and straightforward way. Let's follow the instructions step by step to complete the integration with Salesforce.
Create A Salesforce App
To integrate with Salesforce, you have to create a Salesforce app in your Salesforce.
Prerequisites
A valid Salesforce Account.
An account that has the Administrator role.
Create A Salesforce App
Go to your Salesforce portal and click on “Setup”.
Go to PLATFORM TOOLS > Apps > App Manager, click on “New Connected App”.
In the Basic Information, enter basic details like the Connected App Name, API Name and Contact Email.
In the API (Enable OAuth Settings), select Enable OAuth Settings and add the Authorized Redirect URL
https://your_cx_domain/backend/api/v2.0/integration/app/callback/api/salesforce
to the Callback URL.
Select and add OAuth Scopes to the Selected OAuth Scopes.
Select the required permissions mentioned below for your Salesforce App, then click on “Save” to create the App.
Require Secret for Web Server Flow Require Secret for Refresh Token Flow Enable Client Credentials Flow Enable Authorization Code and Credentials Flow Require user credentials in the POST body for Authorization Code and Credentials Flow |
---|
Note: Please do not select the ”Require proof key for Code Exchange (PKCE) Extension for Supported Authorization Flows” permission, otherwise your CloudCX will not be able to connect Salesforce properly.
Re-enter App Manager, find the newly created connected app in the list on the left, click on “View” to go to Manage Connected Apps.
In the Manage Connected Apps, click on “Manage Consumer Details”
In the Consumer Details, you will have to obtain the Consumer Key and Consumer Secret. These values will be required while setting up in the Connector Hub.
Configure Salesforce Integration in CloudCX
Log in to your system administrator portal https://your_cx_domain:9006
, go to Advance > Connector Hub Setting > Salesforce to configure.
Paste the Consumer Key & Consumer Secret to Client ID & Client Secret, the Client ID & Client Secret obtain from Consumer Details https://cloudfon.atlassian.net/wiki/spaces/CCSD/pages/edit-v2/51839345#Create-A-Salesforce-App.1 .
Copy the Authorized Redirect URL and paste to Callback URL https://cloudfon.atlassian.net/wiki/spaces/CCSD/pages/edit-v2/51839345#Create-A-Salesforce-App.1 .
Enter the Salesforce login URL “https://login.salesforce.com/” into Account Server Address & CRM address.
That's all the Salesforce integration, now, you can connect your Salesforce to the App & Integrations > Salesforce in your tenant 8.1 Integrating Salesforce in CloudCX !