Authorizations Supported
The XO Platform supports OAuth 2.0 authentication for Salesforce CRM. See Setting Up Authorization Using OAuth v2 for details.Salesforce CRM integration can only be authorized for Developer and Enterprise editions — not Trial. See Salesforce documentation for account types.
| Authorization Type | OAuth – System | OAuth – Custom |
|---|---|---|
| Pre-authorize the Integration | Yes | Yes |
| Allow Users to Authorize the Integration | Yes | Yes |
Step 1: Enable the Salesforce CRM Action
Prerequisites:- Create a developer account in Salesforce CRM Help Center.
- Copy the Client ID, Client Secret Key, Authorization URL, and Callback URL.
- Go to App Settings > Integrations > Actions.
- Select Salesforce.
Pre-authorize the Integration
System Authorization- Go to App Settings > Integrations > Actions and select Salesforce.
- In Configurations, select the Authorization tab.
-
Set Authorization Type to Pre-authorize the Integration > OAuth.
-
Select the System card and click Authorize.
-
You are redirected to
login.salesforce.com. Enter credentials and click Allow Access.
-
Select Custom and click Select Authorization > Create New.
-
Select OAuth v2. See Setting Up Authorization Using OAuth v2.
-
Enter the OAuth v2 credentials:
- Call back URL
- Identity Provider Name
- Client ID
- Client Secret
- Authorization URL
- Token Request URL
- Scope
- Refresh Token URL
-
Click Save Auth, then select the new profile.
-
Click Authorize, enter credentials at
login.salesforce.com, and click Allow Access. -
Click Enable.
The Salesforce action moves from Available to Configured after enabling.
Allow End User to Authorize
- Go to App Settings > Integrations > Actions and select Salesforce.
- In Configurations, select the Authorization tab.
-
Set Authorization Type to Allow Users to Authorize the Integration > OAuth.
-
Select the System card.
- Click Enable. A link is sent to the end user to authorize.
- Select Custom and click Select Authorization > Create New, following the Custom Authorization steps above.
-
You can also select an existing profile:
-
Click Enable.
Step 2: Install the Salesforce Action Templates
-
On the Integration Successful dialog, click Explore Templates.
-
Click Install to begin installation.
-
Once installed, click Go to Dialog. A dialog task for each template is auto-created.
-
Select the desired dialog task and click Proceed.
- The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts.