Salesforce
Salesforce is a cloud-based CRM platform. You can land Salesforce data as a data source when landing or replicating data.
-
For more information about connecting to SaaS applications, see 连接到 SaaS 应用程序.
-
Depending on your use case, you might need to install 数据移动网关 to move data from SaaS applications. For more information, see 什么时候需要 数据移动网关?.
This video provides an introduction to connecting to Salesforce.
Supported versions and objects
The following Salesforce versions are supported:
-
Salesforce Sales Cloud
-
Salesforce Service Cloud
-
Salesforce Marketing Cloud
This requires using Salesforce Marketing Cloud Connect. For more information, see Marketing Cloud Connect.
-
Salesforce Commerce Cloud
For more information about the results returned from Salesforce, see Salesforce REST API Developer Guide.
If the data contains custom objects using the extension of __c in the name, they will be created in the target with _c instead, using one _ and not two.
Supported update methods
For more information, see 目标更新方法概览.
Landing tasks:
-
Change data capture (CDC)
-
Reload and compare
Replication tasks:
-
Change data capture (CDC) using Change Tables
-
Full load
Landing data in a data lake tasks:
-
Change data capture (CDC)
-
Reload
Preparing for authentication
To access your Salesforce data, you need to authenticate the connection with your account credentials. You must create a private app in Salesforce and retrieve a client ID and a client secret:
-
Log into Salesforce and create a new Connected app. Name this app and API and provide your email address.
-
Enable OAuth Settings and set Callback URL to https://connector.qlik.com/auth/oauth/v3.htm.
-
Add the following OAuth Scopes:
-
Manage user data via APIs (api)
-
Access unique user identifiers (openid)
-
Perform requests at any time (refresh_token, offline_access)
-
-
Select Configure ID Token and set Token valid for to 720.
-
Deselect Require Proof Key for Code Exchange (PKCE) Extension for Supported Authentication Flows.
-
Scroll down and click Save.
At this point Salesforce advises to allow from 2-10 minutes for your changes to take effect on the server before using the connected app.
-
Copy Consumer key to the Client ID connection setting.
-
Copy Consumer secret to the Client Secret connection setting.
-
Provide your Salesforce Host. You can copy this from the location bar in your browser when accessing your Salesforce instance.
-
Scroll down and click Add.
Creating the connection
For more information, see 连接到 SaaS 应用程序.
-
Click Authenticate when you have filled in the required connection settings.
You may be asked to log in to the source application.
A window is displayed with an authentication code.
-
Copy the code to the clipboard and return to the connection dialog.
-
Paste the code in Complete authentication with the code provided by the source and click Verify.
提示注释You may need to scroll down to see this field.When status is Verified,the authentication is verified.
-
Provide a name for the connection in Connection name.
-
Select Open connection metadata to define metadata for the connection when it has been created.
Setting | Description |
---|---|
Data gateway |
如果您的用例需要,请选择一个 数据移动网关。 信息注释
此字段不适用于 Qlik Talend Cloud Starter 订阅,因为它不支持 数据移动网关。如果您有另一个订阅层并且不想使用 数据移动网关,请选择无。 有关 数据移动网关 的优势和需要它的用例的信息,请参阅Qlik 数据网关 - 数据移动。 |
Salesforce Instance |
Salesforce instance. To find your Salesforce instance:
|
Name |
Name of your Salesforce instance. |
Client ID | Client ID. |
Client Secret | Client secret. |
Login Domain |
Login domain. For the default production domain use login.salesforce.com. If you are using a sandbox or a custom domain, use your domain. Example: <domain>.sandbox.my.salesforce.com for a sandbox domain. |