Salesforce
Salesforce
Setup Guide
Follow these steps to connect Salesforce to your CData Connect Cloud account:
-
Open the Connections page of the CData Connect Cloud dashboard.
-
Click + Add Connection in the upper-right corner.
-
Type Salesforce into the search field, then click the data source name.
-
On the Basic Settings tab of the new connection, enter a connection name or keep the default name.
-
Select the Authentication method, then proceed to the relevant section and follow those instructions.
Authentication Methods
Basic
-
Enter the Salesforce username for authentication.
-
Enter the user password.
-
Enter a security token. This step is mandatory unless your IP has been added to ‘Trusted IP Addresses’ in Salesforce already.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
OAuth
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
Click Sign in to connect securely through OAuth. This action opens the Salesforce sign-in page in a new tab.
-
Log into your Salesforce account and provide the requested permissions (if applicable).
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
OAuthPassword
-
Enter the Salesforce username for authentication.
-
Enter the user password.
-
Enter a Security Token. This step is mandatory unless your IP has been added to ‘Trusted IP Addresses’ in Salesforce already.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
OAuthJWT
-
Enter your OAuth JWT Certificate. This is multi-line and in PEM format.
-
Select the OAuth JWT Certification type.
-
Enter the OAuth JWT Issuer. This must include the client_id or connected app for the which the certificate is registered.
-
(Optional) Enter an OAuth JWT Cert Password if the certificate. This only needs to be done if the certificate is encrypted.
-
(Optional) If required, add an OAuth JWT Cert Subject.
-
(Optional) If implementing for an Experience Cloud Site, an OAuth JWT Subject is required. It must be formatted as an email.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
OneLogin
-
Enter the OneLogin User Id.
-
Add the Password for that account.
-
Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.
-
Add the SSO Exchange URL You can find this in the Salesforce account settings by navigating to Administration Setup > SAML Single Sign-On Settings and locating the OAuth 2.0 Token endpoint.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
PingFederate
-
Enter the PingFederate User Id.
-
Add the Password for that account.
-
Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.
-
Add the SSO Exchange URL You can find this in the Salesforce account settings by navigating to Administration Setup > SAML Single Sign-On Settings and locating the OAuth 2.0 Token endpoint.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
OKTA
-
Enter the OKTA User Id.
-
Add the Password for that account.
-
Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.
-
Add the SSO Exchange URL You can find this in the Salesforce account settings by navigating to Administration Setup > SAML Single Sign-On Settings and locating the OAuth 2.0 Token endpoint.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
ADFS
-
Enter the ADFS User Id.
-
Add the Password for that account.
-
Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.
-
Add the SSO Exchange URL You can find this in the Salesforce account settings by navigating to Administration Setup > SAML Single Sign-On Settings and locating the OAuth 2.0 Token endpoint.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
AzureAD
-
Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.
-
Add the SSO Exchange URL You can find this in the Salesforce account settings by navigating to Administration Setup > SAML Single Sign-On Settings and locating the OAuth 2.0 Token endpoint.
-
Enter the OAuth Client Id assigned when you registered your Salesforce account for OAuth.
-
Enter the OAuth Client Secret for your Salesforce account for OAuth.
-
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
-
Click Sign in to connect securely through OAuth. This action opens the Salesforce sign-in page in a new tab.
-
Log into your Salesforce account and provide the requested permissions (if applicable).
-
At the top of the CData Connect Cloud Add Salesforce Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
More Information
For more information about interactions between CData Connect Cloud and Salesforce, see this information page.