VOOZH about

URL: https://www.cdata.com/kb/tech/salesforce-tableau-desktop.rst

⇱ Visualize Live Salesforce Data in Tableau


Visualize Live Salesforce Data in Tableau

👁 Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use CData Tableau Connectors and Tableau Desktop to visualize live Salesforce data.

Tableau is a visual analytics platform transforming the way businesses use data to solve problems. When paired with the CData Tableau Connector for Salesforce, you can easily get access to live Salesforce data within Tableau. This article shows how to connect to Salesforce in Tableau and build a simple chart.

The CData Tableau Connectors enable high-speed access to live Salesforce data in Tableau. Once you install the connector, you simply authenticate with Salesforce and you can immediately start building responsive, dynamic visualizations and dashboards. By surfacing Salesforce data using native Tableau data types and handling complex filters, aggregations, & other operations automatically, CData Tableau Connectors grant seamless access to Salesforce data.

NOTE: The CData Tableau Connectors require Tableau 2020.3 or higher. If you are using an older version of Tableau, you will need to use the CData JDBC Driver. If you wish to connect to Salesforce data in Tableau Cloud, you will need to use CData Connect AI.

About Salesforce Data Integration

Accessing and integrating live data from Salesforce has never been easier with CData. Customers rely on CData connectivity to:

  • Access to custom entities and fields means Salesforce users get access to all of Salesforce.
  • Create atomic and batch update operations.
  • Read, write, update, and delete their Salesforce data.
  • Leverage the latest Salesforce features and functionalities with support for SOAP API versions 30.0.
  • See improved performance based on SOQL support to push complex queries down to Salesforce servers.
  • Use SQL stored procedures to perform actions like creating, retrieving, aborting, and deleting jobs, uploading and downloading attachments and documents, and more.

Users frequently integrate Salesforce data with:

  • other ERPs, marketing automation, HCMs, and more.
  • preferred data tools like Power BI, Tableau, Looker, and more.
  • databases and data warehouses.

For more information on how CData solutions work with Salesforce, check out our Salesforce integration page.


Getting Started


Connect to Salesforce in Tableau

Open Tableau and click More under Connect -> To a Server. Select "Salesforce by CData," then configure the connection and click "Sign In."

There are several authentication methods available for connecting to Salesforce: OAuth, Login (or basic), and SSO. The Login method requires you to have the username, password, and security token of the user.

OAuth Authentication (default)

The default authentication mechanism (and the one preferred by Salesforce) is OAuth. To use OAuth with CData's embedded OAuth application, leave the connection properties blank. If you have configured your own custom OAuth application with Salesforce (see the Help documentation for more information), set OAuthClientId, OAuthClientSecret, and CallbackURL to the properties for you application. Set InitiateOAuth to the desired OAuth flow ("GETANDREFRESH" will have the connector manage the entire OAuth flow).

Login (or Basic) Authentication

If you do not wish do not wish to use OAuth authentication, you can use Login (or basic) authentication. Set AuthScheme to Basic, and set the User, Password, and SecurityToken properties. You can configure your security token in Salesforce.

SSO (single sign-on) Authentication

SSO (single sign-on) can be used by setting the SSOProperties, SSOLoginUrl, and SSOExchangeURL connection properties, which allow you to authenticate to an identity provider. See the "Getting Started" chapter in the Help documentation for more information.

Multi-Factor Authentication (MFA)

If your Salesforce org has MFA enforcement enabled, set MFACode to the time-based one-time passcode (TOTP) generated by your authenticator app (such as Salesforce Authenticator or Google Authenticator). MFACode applies to both OAuth and Login authentication flows.

👁 Configuring the Connector (Sage Intacct is shown)

Discover Schemas and Query Data

  1. Select CData from the Database pull-down menu.
  2. Select Salesforce from the Schema pull-down menu.
  3. Drag the tables and views you wish to visualize onto the join area. You can include multiple tables. 👁 Selecting table(s)
  4. Select Update Now or Automatically Update. Update Now lets you preview the first 10,000 rows of the data source (or enter the number of rows you want to see in the Rows text box). Automatically Update automatically reflects the changes in the preview area.
  5. Click the tab for your worksheet. Columns are listed as Dimensions and Measures, depending on the data type. The CData Tableau Connector discovers data types automatically, allowing you to leverage the powerful data processing and visualization features of Tableau.
  6. Drag a field from the Dimensions or Measures area to Rows or Columns. Tableau creates column or row headers.
  7. Select one of the chart types from the Show Me tab. Tableau displays the chart type that you selected.
  8. 👁 Visualizing live Salesforce data

Using the CData Tableau Connector for Salesforce with Tableau, you can easily create robust visualizations and reports on Salesforce data. Download a free, 30-day trial and get started today.

Ready to get started?

Download a free trial of the Salesforce Tableau Connector to get started:

 Download Now

Learn more:

👁 Salesforce Icon
Salesforce Tableau Connector

The fastest and easiest way to connect Tableau to Salesforce data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.