Overview
Before you can connect Deskpro to Salesforce using the CRM Sync feature, you need to create an External Client App in Salesforce. This app allows Deskpro to communicate securely with Salesforce using OAuth authentication.
Once the app is created, you will return to Deskpro to finish setting up the Salesforce CRM Sync.
Prerequisites
- You must have Salesforce administrator access. 
- You will need the Callback URL from the Salesforce CRM Sync setup page in Deskpro. 
Steps to Create an External Client App in Salesforce
1. Open the External Client App Manager
- Log in to your Salesforce instance. 
- In the left-hand navigation menu, go to Setup > Platform Tools > Apps > External Client Apps > External Client App Manager. 
- Click New External Client App at the top-right corner. 
2. Complete Basic Information
Under Basic Information, enter the following details:
- External Client App Name: A recognizable name, for example Deskpro CRM Sync. 
- Email Address: Enter your admin contact email. 
- Distribution State: Select Local. 
3. Configure API (Enable OAuth Settings)
- Under API (Enable OAuth Settings), tick Enable OAuth. 
- In the Callback URL field, paste the URL provided in Deskpro’s Salesforce CRM Sync setup. 
- Under OAuth Scopes, add the following scopes: - Manage user data via APIs (api) 
- Manage user data via Web browsers (web) 
- Perform requessts at any time (refresh_token, offline_access) 
 
- Enable the following options: - Enable Token Exchange Flow 
- Require Proof Key for Code Exchange (PKCE) 
 
- Leave all other checkboxes unticked. 
4. Save and Retrieve Credentials
- Click Create to save your new External Client App. 
- After the app is created, open it from the External Client App Manager. 
- In the App Settings section, locate OAuth Settings. 
- Under App Settings, click the Consumer Key and Secret link to view your credentials. 
- Copy the Consumer Key. This is your Client ID in Deskpro. 
Next Steps
After you have created your Salesforce External Client App and copied your Client ID, return to Deskpro to complete the configuration.
See Syncing to Salesforce for the next part of the setup process.
 
                                    