Salesforce
Salesforce is a cloud-based CRM platform. You can land Salesforce data as a data source when landing or replicating data.
-
Для получения дополнительной информации о подключении к приложениям SaaS см. раздел Подключение к приложениям SaaS.
-
В зависимости от конкретного случая может потребоваться установить Шлюз движения данных для переноса данных из приложений 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 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
Для получения дополнительной информации см. раздел Подключение к приложениям SaaS.
-
Щелкните Проверить подлинность, когда будут настроены необходимые параметры подключения.
Может появиться запрос на вход в исходное приложение.
Открывается окно с кодом для проверки подлинности.
-
Скопируйте код в буфер обмена и вернитесь в диалоговое окно подключения.
-
Вставьте код в поле Завершите проверку подлинности с помощью кода, предоставленного источником и нажмите кнопку Проверить.
Примечание к подсказкеМожет потребоваться прокрутить вниз, чтобы увидеть это поле.Когда статус Проверено, аутентификация подтверждена.
-
Заполните поле Имя подключения.
-
Установите флажок Открыть метаданные подключения, чтобы определить метаданные для подключения, когда оно будет создано.
| Setting | Description |
|---|---|
| Data gateway |
Выберите шлюз Шлюз движения данных, если этого требует текущий сценарий использования. Примечание к информации
Это поле недоступно при использовании подписки Qlik Talend Cloud Starter, так как она не поддерживает Шлюз движения данных. Если используется другой уровень подписки или не требуется использовать Шлюз движения данных, выберите Нет. Для получения информации о преимуществах Шлюз движения данных и о сценариях, требующих его использования, см. раздел Шлюз данных Qlik — движение данных. |
| Salesforce Instance |
Salesforce instance. To find your Salesforce instance:
If you are using a sandbox or a custom domain, use your domain with .salesforce.com excluded. Example: <domain>.sandbox.my if the sandbox domain is <domain>.sandbox.my.salesforce.com. |
| 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. |