Salesforce | Qlik Cloud Help
Skip to main content Skip to complementary content

Salesforce

Salesforce is a cloud-based CRM platform. You can use Salesforce data as a data source for replication.

Salesforce integration replicates data from your Salesforce account. When setting up a Salesforce integration, you can select one of the following Salesforce APIs to replicate your data:

See the Schema section for a list of objects available for replication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

Before creating the Salesforce connection in Qlik Talend Cloud, confirm that:

  • Your Salesforce org supports API access and you have API access enabled. See REST API compatible editions. API access is enabled by default in Enterprise, Performance, Unlimited, and Developer editions.
  • If you need help confirming API access for your org, see Salesforce Help or contact your Salesforce account executive.

Note: You can’t create Connected Apps. Salesforce recommends using an External Client App instead. For more information, see Salesforce Help and External Client Apps.

To create, edit, or delete external client apps, you need admin permissions.

To create an integration user for the external client apps:

  1. Log into your Salesforce account.
  2. From Setup, search for and open Users.
  3. Click New User, then enter the integration user details.

    Use an email address that you can access.

  4. Set User License to Salesforce Integration.
  5. Set Profile to Minimum Access - API only Integrations.
  6. Click Save.

To set up an external client app:

  1. Log into your Salesforce account.
  2. From Setup, search for and open App Manager.
  3. Select New External Client App and enter a name.
  4. Set Distribution State to Local.
  5. Enable OAuth Settings, then in App Settings set the callback URL to https://connector.qlik.com/auth/oauth/v3.htm.
  6. Select these OAuth scopes:
    • Manage user data via APIs (api)
    • Perform requests at any time (refresh_token, offline_access)
    • Access unique user identifiers (openid)
    • Full access (full)
  7. Under Flow Enablement, enable Client Credentials Flow.
  8. Under Security, select Require Secret for the Web Server Flow, then click Create.

    Only select Require Secret for the Web Server Flow. If you select more options, the integration will fail.

  9. Open the Policies tab, click Edit, and set Permitted Users to All users can self-authorize.
  10. Under OAuth Flows and External Client App Enhancements, confirm Enable Client Credentials Flow is selected, then enter the integration username.
  11. Under App Authorization, select Refresh token is valid until revoked.

    This option is recommended. Otherwise, you must create a new connection for each task when the token expires.

  12. Set IP Relaxation to Relax IP restrictions, then click Save.
  13. Open Settings > Plugin Policies.
  14. Under OAuth Setting, select Consumer Key and Secret.

    A new tab opens where you can authenticate and copy your client ID and client secret.

Creating the connection

For more information, see Connecting to SaaS applications.

  1. Fill in the required connection properties.
  2. Provide a name for the connection in Connection name.

  3. Select Open connection metadata to define metadata for the connection when it has been created.

  4. Click Create.

Connection settings
SettingDescription
Data gateway

Select a Data Movement gateway if required by your use case.

Information note

This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.

For information on the benefits of Data Movement gateway and use cases that require it, see Qlik Data Gateway - Data Movement.

Start Date

Enter the date, in the format MM/DD/YYYY, from which the data must be replicated from your source to your target.

API TypeSelect the API type from the drop-down list:
  • BULK (recommended): Best for large datasets and less frequent replication. Limited to 10,000 batches per rolling 24 hours.
  • REST: Best for smaller datasets and frequent updates.
Replicate new fields automaticallyBy default, Qlik Talend Cloud does not replicate new Salesforce fields. Select this checkbox to automatically detect and add new fields.
Max percentage of API quota to usePercentage of your standard API quota Qlik Talend Cloud can use. If the limit is reached, replication pauses and resumes when quota is available.

If set to 80 and your quota is 10,000 calls/24 hours, Qlik Talend Cloud can use up to 8,000 calls across all connected apps.

Note: Enter 80, not 80%.

Max percentage allowed per runPercentage of your total API quota that Qlik Talend Cloud can use per replication job.

If set to 10 and your quota is 10,000 calls, Qlik Talend Cloud can use up to 1,000 calls per job (10,000 × 0.1).

Note: Enter 10, not 10%.

Client IDClient ID.
Client SecretClient secret.

Unsupported objects in REST API

The following objects won’t be available for replications in Qlik Talend Cloud:

  • Announcement
  • CollaborationGroupRecord
  • ContentDocumentLink
  • ContentFolderMember
  • DataStatistics
  • EntityParticle
  • FieldDefinition
  • FlexQueueItem
  • IdeaComment
  • OwnerChangeOptionInfo
  • PicklistValueInfo
  • PlatformAction
  • RelationshipDomain
  • RelationshipInfo
  • SearchLayout
  • SiteDetail
  • UserEntityAccess
  • UserFieldAccess
  • Vote
  • Any *ChangeEvent object
  • ActivityHistory
  • AggregateResult
  • AttachedContentDocument
  • CombinedAttachment
  • ContentBody
  • EmailStatus
  • FeedLike
  • FeedTrackedChange
  • FeedSignal
  • FolderedContentDocument
  • ListViewChartInstance
  • LookedUpFromActivity
  • Name
  • NoteAndAttachment
  • OpenActivity
  • OutgoingEmail
  • OutgoingEmailRelation
  • OwnedContentDocument
  • ProcessInstanceHistory
  • UserRecordAccess

The unsupported objects list is not exhaustive. Salesforce might change the unsupported objects for the API as Salesforce continues to maintain and update their APIs.

Unsupported objects in Bulk API

The following objects won’t be available for selection in Qlik Talend Cloud:

  • AcceptedEventRelation
  • AssetTokenEvent
  • AttachedContentNote
  • CaseStatus
  • ContentFolderItem
  • ContractStatus
  • DeclinedEventRelation
  • EventWhoRelation
  • PartnerRole
  • QuoteTemplateRichTextData
  • RecentlyViewed
  • SolutionStatus
  • TaskPriority
  • TaskWhoRelation
  • TaskStatus
  • UndecidedEventRelation

The unsupported objects list is not exhaustive. Salesforce might change the unsupported objects for the API as Salesforce continues to maintain and update their APIs.

Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and info displayed below is for version 2.

To ensure we can provide you with up-to-date documentation, this section covers a few of the most popular tables that Salesforce integration offers.

See the Salesforce Object Reference guide for info on objects not listed here, including the fields available in each object.

Custom Salesforce object and field replication

Salesforce integration supports the replication of custom objects and fields.

Custom object and field names are appended with __c to make identification easier. For example: AE_Assignment__c or Assignment_Group_Name__c

Depending on your destination, table and column names may not appear as they are outlined below.

account

The account table contains info about the individual accounts (organizations and persons) involved with your business. This could be a customer, a competitor, a partner, and so on.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

contact

The contact table contains info about your contacts, who are individuals associated with accounts in your Salesforce instance.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

lead

The lead table contains info about your leads, who are prospects or potential Opportunities.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

opportunity

The opportunity table contains info about your opportunities, which are sales or pending deals.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

user

The user table contains info about the users in your organization.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!