User Community Service Desk Downloads

Salesforce Connection

This article describes how to connect to Salesforce.

Availability

Data processing & catalog Edge processing Lineage Exceptions

Doesn’t support:

  • Writing data using data transformation steps.

  • Creating SQL catalog items.

Prerequisites

Add a connection

  1. Go to [your source] > Connections and select Add Connection.

  2. In Connection type, select Salesforce.

  3. Fill in the following:

    • Name: A meaningful name for your connection. Used to indicate the location of catalog items.

    • Description (Optional): A short description of the connection.

    • Login hostname (Optional): If your organization uses a custom Salesforce domain (for example, my-company.salesforce.com), enter it here. Otherwise, leave the field empty.

Add credentials

  1. Select Add Credentials.

  2. Choose an authentication method and continue with the corresponding step:

    • Login credentials: Authentication using your Salesforce username, password, and security token.

    • OAuth credentials: Authentication using Salesforce OAuth 2.0 with refresh tokens.

One set of credentials must be defined as default for each connection. Otherwise, DQ evaluation fails and previewing data in the catalog is not possible.

Login credentials

To authenticate using username and password:

  1. Fill in the following:

    • Name: Provide a clear name for this set of credentials.

    • Description (Optional): Explain what the credentials are used for or provide other useful information.

    • Username: The username associated with your Salesforce account.

    • Password: The password associated with your Salesforce account.

    • Token: The security token for accessing Salesforce from an IP address outside your trusted IP range.

      To obtain or reset your security token, go to Setup > My Personal Information > Reset My Security Token in Salesforce. The token is sent to your registered email address.
  2. To use this set of credentials by default when connecting to the data source, select Set as default.

OAuth credentials

To authenticate using OAuth 2.0:

  1. Fill in the following:

    • Name: Provide a clear name for this set of credentials.

    • Description (Optional): Explain what the credentials are used for or provide other useful information.

    • Client ID: The OAuth 2.0 consumer key associated with your Salesforce connected app.

    • Client secret: The consumer secret for your Salesforce connected app. See Prerequisites.

  2. In Refresh token, select Generate to create a new token.

    This redirects you to Salesforce to approve access. Select Allow to continue.

    Once generated, the token’s expiration date is shown in Refresh token valid till.

    Ensure the refresh token option is enabled in Salesforce:

    1. Go to Setup > Apps > App Manager.

    2. Find your connected app and select Edit Policies.

    3. Verify that Refresh Token & Perform requests at any time is selected.

  3. To use this set of credentials by default when connecting to the data source, select Set as default.

Add write credentials

If you want to export data to this source, add write credentials. Select Add Credentials and follow the instructions in Add credentials.

Next steps

Test and save your connection to complete setup.

Was this page useful?