Integrate with Tableau
You can integrate Imply Polaris with Tableau using the Imply Tableau connector. The connector adds the ability to use Tableau Desktop or Tableau Server to query and visualize data stored in Polaris.
Prerequisites
Before you start, ensure that you have the following:
A Polaris API key with the
AccessQueries
permission. See API key authentication to obtain an API key and assign permissions. Visit Permissions reference for more information on permissions.The ID of the Polaris project you want to access with Tableau.
Access to Tableau Desktop or Tableau Server. Note that the instructions in this guide relate to Tableau Desktop. You can't use the Imply Tableau connector with Tableau Cloud.
The screen captures and instructions in this guide show the configuration for Tableau Desktop 2024.3. They may not reflect the current state of the product.
Install the driver and connector
Follow these steps to install the JDBC driver and Tableau connector:
- Download the Avatica JDBC driver available from Imply.
- Place the JAR file in the appropriate folder for your software and operating system:
- Tableau Desktop, macOS: ~/Library/Tableau/Drivers
- Tableau Desktop, Windows: C:\Program Files\Tableau\Drivers
- Tableau Server, Linux: /opt/tableau/tableau_driver/jdbc/
- Tableau Server, Windows: C:\Program Files\Tableau\Drivers
- Download the Tableau connector file druid_jdbc-v0.0.1.taco.
- Place the TACO file into the appropriate folder for your software and operating system. Replace USERNAME with your OS username:
- Tableau Desktop, macOS: /Users/USERNAME/Documents/My Tableau Repository/Connectors
- Tableau Desktop, Windows: C:\Users\USERNAME\Documents\My Tableau Repository\Connectors
- Tableau Server, Linux: /var/opt/tableau/tableau_server/data/tabsvc/vizqlserver/Connectors
- Tableau Server, Windows: C:\ProgramData\Tableau\Tableau Server\data\tabsvc\vizqlserver\Connectors
Integrate Polaris with Tableau
Follow these steps to integrate Polaris with Tableau Desktop. If you're using Tableau Server, configure a connection with the same details.
- Launch Tableau Desktop.
- In the Connect pane, display the server connection options and click Druid Connector by Imply.
- Provide the following connection details:
- Server/Project Id: Your Polaris URL in the following format. Note that
transparent_reconnection=true
enables silent reconnect in the case of a dropped connection.https://PROJECT_ID.jdbc.REGION.CLOUD_PROVIDER.api.imply.io;transparent_reconnection=true
For example:https://f683410c-0935-4d2a-ab74-9a584f2727b7.jdbc.us-east-1.aws.api.docs.imply.io;transparent_reconnection=true
- Port: 443
- Authentication: Username and Password.
- Username: Your Polaris API key name, for example
docs-tableau
. - Password: Your Polaris API key.
- TLS: TLS Disabled.
- Server/Project Id: Your Polaris URL in the following format. Note that
- Click Sign In.
- Once Tableau connects to Polaris, select druid in the Database drop-down and druid in the Schema drop-down to view your Polaris tables:
If you see the following error when trying to connect, check the URL in the Server/Project Id field and make sure the Avatica JDBC driver is in the right location.
An error occurred while communicating with the Druid Connector by Imply data source 'Untitled Data Source'.
The drivers required to connect to the data source are not installed.
Learn more
See the following topics for more information:
- Connect from external business intelligence applications for information on other business intelligence tools you can use to explore, query, and share your Polaris data.
- Query data for information on querying data in Polaris.