Salesforce

API configuration: salesforcearrow-up-right, salesforce-sandboxarrow-up-right

Features

We can implement missing features in <48h, just ask for it in the communityarrow-up-right.

Getting started

Need help getting started? Get help in the communityarrow-up-right.

Connection Configuration in terapi

Salesforce uses a different API base URL, called the instance_url, for each customer.

terapi automatically retrieves the instance_url (e.g. https://yourInstance.salesforce.com/) from Salesforce and stores it in the Connection configarrow-up-right for you.

If you use the terapi Proxy, it is automatically using the correct API base URL. But, if needed, you can retrieve the instance_url with the backend SDKarrow-up-right or Connections APIarrow-up-right.

API gotchas

  • If you or your end-user are authorizing a Salesforce sandbox account, you must use the salesforce-sandbox integration in terapi.

  • Salesforce calls the client_id and client_secret as Consumer Key and Consumer 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, terapi 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 charactersarrow-up-right (yes, really.)

Add Getting Started links and Gotchas by editing this pagearrow-up-right

Last updated