Tableau Cloud / Server
Tableau Server Connector & Driver setup
You can skip this step if using Tableau Cloud.
If you are running Tableau Server as a multi-node cluster, you must install the JDBC driver and the Honeydew connector on each node.
- If Tableau is open, close it, and exit.
- Download the latest Trino JDBC driver.
-
Place the JDBC driver file in the following location according to your operating system:
- Linux:
/opt/tableau/tableau_driver/jdbc(if thejdbcfolder does not exist, create it first) - Windows:
C:\Program Files\Tableau\Drivers
- Linux:
- Get the Honeydew.taco file from Honeydew support (reach out to support@honeydew.cloud to get one).
-
Move the data connector Honeydew.taco file to the following location:
- Linux:
/opt/tableau/connectors(if theconnectorsfolder does not exist, create it first) - Windows:
C:\Program Files\Tableau\Connectors
- Linux:
- Restart Tableau Server and log in.
- Click Create, then select Workbook. In the Connect to Data pane, click the Connectors tab.
- Follow the steps to set up a new datasource. If this is your first time using this connector, a Connector Details dialog will pop up. Click the Install and Restart Tableau button.
Adding an OAuth Client For Honeydew
If you would like to use OAuth (SSO) to connect to Honeydew, you need to register an OAuth client
in Tableau Cloud or Tableau Server. This step is optional but recommended if you want each Tableau
user to connect to Honeydew using their own Honeydew credentials.
- Tableau Server
- Tableau Cloud
- Sign in to Tableau Server as a site admin and navigate to the Settings page
- Under the General tab, scroll down to the OAuth Clients Registry section
- Click Add OAuth Client
- In Connection Type, select the Honeydew Semantic Layer by Honeydew Data option
- For OAuth Provider, keep default
- Leave OAuth Instance URL empty
- For Client ID, enter
honeydew-jdbc-connector - For Client Secret, enter
honeydew-jdbc-connector(or any other non-empty value - it is not used) - Make a note of the Redirect URL - you will need to send it to Honeydew support to enable OAuth for your Tableau instance
- Click Add OAuth Client
API Access Setup
Honeydew connects to Tableau Cloud or Server using Tableau REST APIs. It uses Tableau Personal Access Tokens.1
Enable PAT in Tableau Cloud or Server
- Sign in to Tableau Cloud or Tableau Server as a site admin and navigate to the Settings page.
- Under the Personal Access Tokens section, select the Enable personal access tokens check box if not already selected.
2
Set a PAT in Tableau for Honeydew
-
Sign in as the user that will be used for Honeydew API connectivity
The Tableau user for API must have the ability to change and update published data sources.
- Create a PAT for the Honeydew connectivity using My Account Settings
-
Under Personal Access Tokens, enter a descriptive name (i.e.
honeydew_api) for your token in the Token Name field, and then click Create Token. - In the Personal Access Token dialog box, click the Copy Secret button.
- Keep the token name and the secret for the next step.
3
Configure Honeydew with the PAT
- Sign in to Honeydew with a user that has administrator privileges
- Open the user settings menu
- Navigate to Tableau → Settings
- Enter the following information
- Tableau Cloud
- Tableau Server
- Server: the server URL, i.e.
https://10ax.online.tableau.comif your Tableau domain ishttps://10ax.online.tableau.com/t/yoursite/ - Site: the site name, i.e.
yoursiteif your Tableau domain ishttps://10ax.online.tableau.com/t/yoursite/ - The PAT name and secret as generated in the previous step
4
Enable Tableau Catalog Integration
If you have the Tableau Data Management feature enabled in your
Tableau account, please ask support@honeydew.ai to enable the Tableau Catalog Integration.
Setting up a New Data Source
Tableau Data Sources are mapped to a Honeydew workspace, branch and domain. There are a few ways to create a new data source managed by Honeydew:Setting up a New Data Source in Honeydew UI
- In Honeydew UI, go to the Branch menu → Branch Integrations → Tableau → Sync to Tableau.
- Select the domain to use for the data source.
- Select the Tableau project to place the data source in.
- Provide a name for the data source.
- Click Publish.
- Open the data source in Tableau Cloud or Tableau Server.
-
Provide the credentials for the data source.
Setting up a New Data Source in Tableau Desktop
- In Honeydew UI, go to the Branch menu → Branch Integrations → Tableau → Download datasource.
- Select the domain to use for the data source.
- Click Download to download the data source file.
-
Open the data source file in Tableau Desktop and provide the credentials for the data source.
- Publish the data source to Tableau Cloud or Tableau Server.
Setting up a New Data Source in Tableau Cloud or Tableau Server
- Create a new data source: New → Published Data Source
- Choose data from Connectors
-
- Tableau Cloud
- Tableau Server / Desktop
Choose a Trino connection (use Starburst Enterprise in Tableau Cloud). You can connect with either an API key (or username and password) or OAuth (SSO).With an API key (or username and password), provide the following:With OAuth (SSO), provide the following:- Server:
jdbc.honeydew.cloud - Port:
443 - Authentication: choose OAuth (SSO)
- OAuth Instance URL:
https://jdbc.honeydew.cloud(use your own JDBC URL if your organization uses a custom hostname - it must match the JDBC Server endpoint) - Require SSL: check this option
If your organization uses a custom hostname for the JDBC connection, you can locate it in the Honeydew UI, under the JDBC section in Settings.Honeydew SQL interface uses the Trino protocol for Tableau connectivity. There is no actual Trino running in Honeydew - all queries are executed in Snowflake.
-
Upon connecting, choose a Catalog
- Catalog for the production branch is the name of the workspace (for example
tpch_demofor TPC-H demo). - Catalog for a development branch called
branchisworkspace__branch(for exampletpch_demo__devfor thedevbranch intpch_demoworkspace).
- Catalog for the production branch is the name of the workspace (for example
-
With a catalog, choose a Schema and a Table
- Schema for domains is called
domains, and tables are domain names - Schema for all of the semantic layer at once is called
world, and the table name isworldas well.
- Schema for domains is called
-
Run Publish Data Source.
Data from Honeydew can be queried by Tableau at this point, but it does not have metadata yet, like folders, descriptions or Tableau-specific metadata.The next step adds metadata.
- From within Honeydew UI, choose the same workspace and branch, and run Tableau → Sync to Tableau
Using a Published Data Source
Workbooks in Tableau can operate on Published Data Sources. To use a Honeydew-managed Tableau Data Source:- Navigate to the published data source
- Create a new workbook: New → Workbook Using This Data Source
- Enter your Honeydew credentials in the Workbook
- Choose Group By Folder in the workbook view
Refreshing a Published Data Source
Changes in calculations reflect automatically and immediately in Tableau. Any other change will not reflect in Tableau until running Tableau → Sync to Tableau. In particular, following changes requires syncing:- Changing metadata: descriptions, folders, display names and Tableau-specific metadata
- Adding new attributes or metrics
- Renaming or removing attributes or metrics
- Changing the entities or fields that participate in a domain
In an open workbook, might need to click the data source → Refresh data source to see changes.
Tableau Desktop
When working with Tableau Desktop, you can use a local data source or a published data source from Tableau Cloud or Server.Connector & Driver setup
Use the following steps to connect in Tableau Desktop, either to a local Honeydew data source or to one published on Tableau Server:- If Tableau Desktop is open, close it, and exit.
- Download the latest Trino JDBC driver.
- Place the JDBC driver file in the following location according to your operating system:
- MacOS:
~/Library/Tableau/Drivers(if the folder does not exist, create it first) - Windows:
C:\Program Files\Tableau\DriversDo not store more than one Trino JDBC driver in the directory. Delete any older Trino drivers when you update to a newer version. Connections to all connected data sources are made through the JDBC driver.
- MacOS:
- Get the Honeydew.taco file from Honeydew support (reach out to support@honeydew.cloud to get one).
- Move the data connector Honeydew.taco file to the following location:
- MacOS:
~/Documents/My Tableau Repository/Connectors(if theConnectorsfolder does not exist, create it first) - Windows:
C:\Users\<user>\Documents\My Tableau Repository\Connectors
- MacOS:
- Restart Tableau Desktop and log in.
- If Tableau Desktop is open, close it, and exit.
- Download the latest Trino (“Starburst”) connector from the Tableau exchange website. You might be required to login to your Tableau account to download the connector.
- Move the downloaded data connector file to the following location:
- MacOS:
~/Documents/My Tableau Repository/Connectors(if theConnectorsfolder does not exist, create it first) - Windows:
C:\Users\<user>\Documents\My Tableau Repository\Connectors
- MacOS:
- Restart Tableau Desktop and log in.
Local Data Source
Setting up a New Local Data Source
To set up a local data source on a chosen workspace, branch and domain: In Honeydew,- Choose the workspace and branch to use.
- Choose the domain to use.
- Download data source from Honeydew by running run Tableau → Download datasource
- Copy the data source to the Datasources folder under your Tableau repository
- Usually in your
Documents/My Tableau Respository/Datasources/<Tableau Version>/<Locale>/
- Usually in your
See more information about Saved Data Sources in
Tableau Desktop Documentation.
Using a Local Data Source
- Open Tableau Desktop
- Choose the data source from Saved Data Sources
- Provide your Honeydew credentials when instructed
- Edit and save your workbook
Refreshing a Local Data Source
Changes in calculations reflect automatically and immediately in Tableau.- Download a data source from Honeydew to the same location in your Tableau repository (you may overwrite the previous version)
- In a workbook based on the local data source, click Data → New Data Source and choose from saved data source the new version
- Now you have two data sources: old and new. Click the old data source.
- Click Data → Replace Data Source and switch the old to the new version.
- Delete the old data source
Using a Published Data Source from Tableau Cloud or Server
- Open Tableau Desktop New Workbook
- Choose Search For Data → Tableau Server
- Connect with your Tableau Cloud credentials
- Choose the published data source maintained by Honeydew and click Connect
- Provide your Honeydew credentials when instructed
If the published data source has changed, click the data source → Refresh to see changes in a
local workbook in Tableau Desktop connected to the published data source.