🚧 We’re in the process of improving this guide and expect a little bit of back and forth as we make sure it’s right for all Salesforce versions. Any feedback you might have would be sincerely appreciated.
Initial setup & authentication
Quick steps:- Confirm Company name
- Candu issues certificate
- Integration Profile Setup
- Integration User Setup
- Client App Setup
- Candu sets up your sync
- Confirm mapped fields and Enable
1. Confirm Company name
Candu will issue a signing certificate for use in the integration flow, for this we’ll need to confirm the company name: Organization Name - usually in Company Settings → Company Information
2. Candu will issue a certificate
Based off the provided company name, Candu will generate a certificate and private key for use accessing the API. You’ll upload the certificate in step 5. Note: The certificate will be issued with the emailengineering+{companyName}@candu.ai.
3. Integration Profile setup
Create a new profile to be used for the integration
-
Administrative Permissions
- API Enabled

-
Standard Object Permissions
- Accounts: Read, View All Records, View All Fields
- Contacts: Read, View All Records, View All Fields


4. Integration User Setup
Create a Candu User, with email:engineering+{companyName}@candu.ai and associate the above Profile to this User.

5. Client App Setup
Next we’ll set up an External Client App - usually in Apps → External Client Apps → External Client App Manager It should be configured as follows:-
Basic Information
- Contact Email: engineering@candu.ai

-
API (Enable OAuth Settings)
- Enable OAuth
-
App Settings
- Callback URL: https://app.candu.ai/salesforce/auth/callback
- OAuth Scopes
- Access Headless Passwordless Login (
pwdless_login_api) - Manage user data via APIs (
api) - Perform requests at any time (
refresh_token,offline_access)
- Access Headless Passwordless Login (

- Flow Enablement
- Enable JWT Bearer Flow
- Upload the Candu certificate
- Enable JWT Bearer Flow
- Security
- Check: Require secret for Web Server Flow
- Check: Require secret for Refresh Token Flow
- Uncheck: Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows
- We do not support PKCE at the moment

- Oauth Policies - Set Permitted Users: Admin approved users are pre-authorized
- App Policies Once Oauth Policies is set to pre-authorised, add the Profile we created earlier to Selected Profiles



6. Candu team sets up your sync
This step is not currently self-serve. The Candu team will set up your Workspace with the correct Salesforce endpoints. For this, please provide us with the following information:- Your Salesforce authentication host URL, for example:
- https://login.salesforce.com - usually it’s this for cloud managed instances
- Your Salesforce token and query URLs, for example:
https://orgfarm-06fe5fea5a-dev-ed.develop.lightning.force.com/services/data/v63.0/tokenhttps://orgfarm-06fe5fea5a-dev-ed.develop.lightning.force.com/services/data/v63.0/query
- The Consumer Key from step 5
7. Confirm Mapped Fields and Enable
Once initial set up is performed, you’ll be able to manage your integration via the Candu dashboard.- Configure mapping IDs for contacts and accounts.
- Set up traits you’d like to import
- Confirm details enable

After setup
Initial sync
The first sync after you enable the integration can take 24 to 48 hours to complete. After that, Candu syncs on the schedule you choose in the integration settings.Adding new Salesforce fields
You don’t need a resync or a support request to bring in fields you add to Salesforce later.- In Candu, go to Settings → Integrations → Salesforce → Configure Fields.
- New Account and Contact fields appear in the field list right away.
- Map each new field to a Candu trait and save.