The Salesforce Data Cloud connector was released for Tableau Desktop and Tableau Prep in 2023.2, for Tableau Cloud in June 2023, and for Tableau Server in 2023.3. This connector seamlessly connects Tableau to Data Cloud, and is available for Tableau Desktop, Tableau Cloud, Tableau Server, and Tableau Prep. Compared to the older CDP connector, the Salesforce Data Cloud connector is easier to connect with, shows object labels instead of API names, and is powered by accelerated queries.
Note: Data Cloud was previously called Customer Data Platform (CDP). The CDP connector was deprecated in Tableau Server 2023.3, was made unavailable in Tableau Server 2024.2, and is removed entirely from Tableau Server 2025.1 and later. Existing assets that use the CDP connector must be recreated using the Salesforce Data Cloud connector.
If you're using Tableau Server 2023.1 or earlier, see Tableau Server (version 2023.1 and earlier).
Tableau Server (version 2023.3 and later) Step 1: Create a Salesforce connected appThe Salesforce Data Cloud connector requires you to create a connected app in Salesforce.
Both the Salesforce Data Cloud connector and the Salesforce connector can use the same connected app. Therefore, if you are already using the Salesforce connector, you only need to add the three Customer Data Platform scopes listed in step 7 to your existing connected app.
https
protocol, and append the following text to the URL: auth/add_oauth_token
.https://www.your_tableau_server.com/auth/add_oauth_token
After you save the app, Salesforce populates the API section with the following IDs that you will use to configure Tableau Server:
Once your connected app is created in Salesforce and you have the Customer Key, Customer Secret, and the Callback URL, you can configure Tableau Server for Salesforce data connections and outputs, and Einstein Discovery.
tsm configuration set -k oauth.salesforce.client_id -v <your_customer_key>
tsm configuration set -k oauth.salesforce.client_secret -v <your_customer_secret>
tsm configuration set -k oauth.salesforce.redirect_uri -v <your_redirect_URL>
tsm configuration set -k oauth.salesforce.server_base_url -v <URL>
tsm pending-changes apply
--ignore-prompt
option, but this does not change the restart behavior. If the changes do not require a restart, the changes are applied without a prompt. For more information, see tsm pending-changes apply.For setup instructions, see the OAuth Connections topic.
Tableau Server (version 2023.1 and earlier)Warning: The Customer Data Platform was deprecated in October 2023, was made unavailable in Tableau Server 2024.2, and is removed entirely from Tableau Server 2025.1 and later. If you are using assets that use the CDP connector, Tableau strongly recommends you upgrade and use the Salesforce Data Cloud connector instead.
This section describes how to connect from Tableau Server to the Salesforce Customer Data Platform through OAuth authentication.
The steps described in this section are required to use Salesforce Customer Data Platform data in Tableau Server.
Step 1: Set up the connectorC:\Users[Windows User]\Documents\My Tableau Repository\Connectors
/opt/tableau/connectors
OR /var/opt/tableau_server/data/tabsvc/vizqlserver/Connectors/
Note: Tableau version 2023.1 for Server is only compatible with JDBC driver version 18 and above.
C:\Program Files\Tableau\Drivers
/opt/tableau/tableau_driver/jdbc
After creating the API scopes, use the following procedure to create a Salesforce connected app to handle OAuth delegation from Tableau Server.
Sign in to your Salesforce Customer Data Platform account as an admin, click your username in the upper-right, and then select Setup.
In the left pane, under Apps, select App Manager.
In the Connected Apps section, click New Connected App.
In Basic Information, give your connected app a name (for example, Example.com), tab through the API field so it self-populates in the correct format, and enter a contact email address for the app.
In the API [Enable OAuth Settings] section, select Enable OAuth Settings, and then do the following:
In the new OAuth settings that appear, for Callback URL, type the fully qualified domain name (FQDN) of your Tableau Server, using the https
protocol, and append the following text to the URL: /auth/add_oauth_token
.
For example: https://example.com/auth/add_oauth_token
Move the following items from Available OAuth Scopes to Selected OAuth Scopes:
When finished, click Save.
Go to your App Manager list, navigate to your connected app, click the dropdown arrow, and then select Manage.
After you save the app, the API (Enable OAuth Settings) section is populated with the following IDs that you'll use to configure Tableau Server:
Note: Save your Consumer Key, Secret, and Callback URL for use later.
Consider configuring a custom OAuth client to 1) override an OAuth client if configured for the server or 2) enable support for securely connecting to data that requires unique OAuth clients.
After the connected app is created in Salesforce and you have the Consumer Key, Consumer Secret, and the Callback URL, you can configure Tableau Server for the Customer Data Platform OAuth connections. To get started gather the following information.
[your_consumer_key]
in the following tsm command.[your_consumer_secret]
in the following tsm command.https://example.com
and "/auth/add_oauth_token
" appended to it. Use this value for [your_callback_url]
in the following tsm command.oauth.config.id
parameter you use in the following tsm:Â customer_360_audience
Run the following tsm commands to configure OAuth.
tsm configuration set -k oauth.config.clients -v "[{\"oauth.config.id\":\"customer_360_audience\", \"oauth.config.client_id\":\"[your_consumer_key]\", \"oauth.config.client_secret\":\"[your_consumer_secret]\", \"oauth.config.redirect_uri\":\"[your_callback_url]\"}]" --force-keys
tsm pending-changes apply
If you have multiple connectors to set, you must include all of them in a single command. For example:Â
tsm configuration set -k oauth.config.clients -v "[{\"oauth.config.id\":\"custom_360_audience\", \"oauth.config.client_id\":\"[your_consumer_key]\", \"oauth.config.client_secret\":\"[your_consumer_secret]\", \"oauth.config.redirect_uri\":\"[your_callback_url]\"}, {\"oauth.config.id\":\"dremio\", \"oauth.config.client_id\":\"[your_client_id]\", \"oauth.config.client_secret\":\"[your_client_secret]\", \"oauth.config.redirect_uri\":\"[your_server_url]/auth/add_oauth_token\"}, {\"oauth.config.id\":\"azure_sql_dw\", \"oauth.config.client_id\":\"[your_client_id]\", \"oauth.config.client_secret\":\"[your_client_secret]\", \"oauth.config.redirect_uri\":\"[your_server_url]/auth/add_oauth_token\"}, {\"oauth.config.id\":\"azure_sqldb\", \"oauth.config.client_id\":\"[your_client_id]\", \"oauth.config.client_secret\":\"[your_client_secret]\", \"oauth.config.redirect_uri\":\"[your_server_url]/auth/add_oauth_token\"}]" --force-keys
tsm pending-changes apply
Complete the following procedure to register the custom OAuth client to your site.
To help ensure uninterrupted data access, you (and your site users) must delete any previous saved credentials and add them again.
Make sure you notify your site users to update their saved credentials for the Customer Data Platform connector. Site users can use the procedure described in Manage Saved Credentials for Data Connections to update their saved credentials.
See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4