Salesforce data sources

更新时间:
复制 MD 格式

To synchronize data from Salesforce to Quick Audience in non-real time, you must perform the initial configuration in Salesforce Platform and Quick Audience.

Add a QA connector to Salesforce

Note

You must add a QA connector in Salesforce before you can configure connectivity in Quick Audience.

1. Configure External Client App

  • Under Setup > External Client App > External Client App Manager, click New External Client App

    image.png

  • Configuration External Client App

    image.png

    Select Enable OAuth and configure the API information

    image.png

    image.png

    Parameters

    Description

    Name/API Name

    Because it is a link for QA use, you can take a name related to it, such as Quick Audience

    Email

    It is recommended to fill in the administrator email address of the configuration External Client App, which will be used to receive relevant configuration emails.

    Callback Url

    The URL used to exchange tokens. You can enter http://localhost:1717 /OauthRedirect.

    OAuth Scopes

    QA is required to make the most accurate selection through debugging, but selecting three of the above pictures can basically manipulate the data.

    • Manage user data via APIs

    • Manage user data via Web browsers

    • Perform requests at any time

    Flow Enablement

    Select Enable Client Credentials Flow

    Security

    Deselect Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows

2. Set External Client App policies

  • Click the new External Client App to enter the details page, click the edit button, and set the policy content.

    image.png

  • Add a permission set to the right image.png

  • Setting Permitted Users and Enable Client Credentials Flow

image.png

  • Parameters

    Description

    Permitted Users

    Admin approved mode

    Enable Client Credentials Flow

    Enter the email information of a Salesforce account (the email information of Salesforce account is the Username of this account)

Add a Salesforce data source for Quick Audience

  1. In the Configuration Management section, click Data Source. In the Data Source section, configure the data source and click Add Data Source to add a Salesforce data source.

    截屏2024-04-11 10

    Parameters

    Description

    Display Name

    Enter the display name of the Salesforce data source.

    Database address

    Enter the database address. Under Setup > My Domain > My Domain Details, find the URL and enter: https://+ URL address in QA.

    Screenshot 2024-04-15 142125

    AccessKey ID

    Get the Consumer Key and Secret in the new External Client App. Click the External Client App to enter the details page, click the Setting tab page, click to open the OAuth Setting content, and click the Consumer Key and Secret button.

    image.png

    After you receive the email verification code, view the Consumer Key and Consumer Secret of the Connected App, and enter the Consumer Key in the AccessKey ID.

    image

    AccessKey Secret

    The AccessKey secret is obtained in the same way as the AccessKey ID. Enter the consumer secret in the AccessKey secret.

  2. After the test connection is successful, add the Salesforce data source.

  3. Click Add Table to pull the Salesforce table.

    截屏2024-04-11 10

    You can select multiple data tables to add to QuickAudience at the same time and click OK.

    截屏2024-04-11 10

    After the data table is added, the data table starts to be synchronized automatically, that is, the overall configuration of the Salesforce data source is completed.

    截屏2024-04-11 10

Important

For added Salesforce data tables, you need to complete the following steps before you can use all kinds of data from Salesforce in various application modules of QA as needed.

  1. Add and manage user IDs that are supported by Quick Audience. For more information, see Manage user IDs.

  2. Set the ID to participate in the ID Mapping Logic and complete the table structure configuration and scheduling tasks.