APIs & Integrations
Salesforce
Overview
Pre-built tooling
Pre-built use cases
Not seeing the use case you need? Build your own independently.
Access requirements
Pre-Requisites | Status | Comment |
---|---|---|
Paid dev account | ❓ | |
Paid test account | ❓ | |
Partnership | ❓ | |
App review | ❓ | |
Security audit | ❓ |
Setup guide
No setup guide yet.
Need help getting started? Get help in the community.
Contribute improvements to the setup guide by editing this page
Useful links
- Get a free Salesforce Developer Edition here (it’s a free Salesforce account to test your integration)
- Salesforce OAuth documentation (Step 7 contains the details of what Salesforce returns along with the token)
- Overview of OAuth scopes
- Web API docs (their REST API)
Contribute useful links by editing this page
Connection Configuration in Nango
Salesforce uses a different API base URL, called the instance_url
, for each customer.
Nango automatically retrieves the instance_url
(e.g. https://yourInstance.salesforce.com/
) from Salesforce and stores it in the Connection config for you.
If you use the Nango Proxy, it is automatically using the correct API base URL. But, if needed, you can retrieve the instance_url
with the backend SDK or Connections API.
API gotchas
- If you or your end-user are authorizing a Salesforce sandbox account, you must use the
salesforce-sandbox
integration in Nango. Your Salesforce Developer Edition account is not a Salesforce sandbox! Use it with the regularsalesforce
connector. - Salesforce calls the
client_id
andclient_secret
asConsumer Key
andConsumer Secret
. - To enable offline data access with a refresh token, add the
refresh_token
(or its synonym,offline_access
) scope. By default, access tokens expire in ~2h (but customers can configure this value). Also, check the “Introspect All Tokens” checkbox in your OAuth app settings on the Salesforce developer portal (Salesforce doesn’t share the expiration date of access tokens. Instead, Nango needs to call the Salesforce API to check if access tokens are valid.) - If you encounter an error in your flow that says
invalid_client_id
, make sure your (developer) User’s password does not contain any special characters (yes, really.)
Contribute API gotchas by editing this page
Was this page helpful?