Salesforce V2
Salesforce is a cloud-based CRM platform. You can land Salesforce data as a data source when landing or replicating data.
-
有关连接 SaaS 应用程序的更多信息,请参阅连接到 SaaS 应用程序。
-
有关 Lite 连接器的更多信息,请参阅 连接器分类。
-
根据您的用例,您可能需要安装 数据移动网关 才能从 SaaS 应用程序中移动数据。有关更多信息,请参阅什么时候需要 数据移动网关?。
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.
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 your consumer key and 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 Consumer Key connection setting.
-
Copy Consumer secret to the Consumer Client 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
有关更多信息,请参阅连接到 SaaS 应用程序。
- 填写所需的连接属性。
-
在连接名称中提供连接的名称。
-
选择打开连接元数据以定义创建连接时的元数据。
-
单击创建。
| Setting | Description |
|---|---|
| Data gateway |
如果您的用例需要,请选择一个 数据移动网关。 信息注释
此字段不适用于 Qlik Talend Cloud Starter 订阅,因为它不支持 数据移动网关。如果您有另一个订阅层并且不想使用 数据移动网关,请选择无。 有关 数据移动网关 的优势和需要它的用例的信息,请参阅Qlik 数据网关 - 数据移动。 |
| Company Name | Company name. |
| Consumer Key | Consumer key. |
| Consumer Secret | Consumer 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. |
Limitations and considerations
- Denormalized output and naming: Salesforce tables are retrieved in a denormalized format. As a result, table and column names in the output might be normalized and might not exactly match the names in the Salesforce source, including letter case and naming style.
Example: A Salesforce field returned as
ParentIDmight appear asparent_idin Qlik Talend Cloud.