docs/en/integrations/BI_integrations/Tableau_Desktop.md
This topic describes how to connect StarRocks to Tableau Desktop and Tableau Server with StarRocks Tableau JDBC Connector.
The StarRocks Tableau JDBC Connector is a custom extension for Tableau Desktop and Tableau Server. It simplifies the process of connecting Tableau to StarRocks and enhances support for standard Tableau functionality, outperforming the default Generic ODBC/JDBC connection.
Before proceeding, make sure the following requirements are met:
Download the MySQL JDBC Driver 8.0.33.
Store the driver file in the following directory (create the directory if it does not exist):
~/Library/Tableau/DriversC:\Program Files\Tableau\DriversDownload the StarRocks Tableau JDBC Connector file.
Store the connector file in the following directory:
~/Documents/My Tableau Repository/ConnectorsC:\Users\[Windows User]\Documents\My Tableau Repository\ConnectorsLaunch Tableau Desktop.
Navigate to Connect -> To a Server -> StarRocks JDBC by CelerData.
Download the MySQL JDBC Driver 8.0.33.
Store the driver file in the following directory (create the directory if it does not exist):
/opt/tableau/tableau_driver/jdbcC:\Program Files\Tableau\Drivers:::info
On Linux, you must permit the "Tableau" user to access the directory.
Follow these steps:
Create the directory and copy the driver file to the directory:
sudo mkdir -p /opt/tableau/tableau_driver/jdbc
# Replace <path_to_driver_file_name> with the absolute path of the driver file.
sudo cp /<path_to_driver_file_name>.jar /opt/tableau/tableau_driver/jdbc
Grant permission to the the "Tableau" user.
# Replace <driver_file_name> with the name of the driver file.
sudo chmod 755 /opt/tableau/tableau_driver/jdbc/<driver_file_name>.jar
:::
Download the StarRocks Tableau JDBC Connector file.
Store the connector file in the following directory of each node:
/opt/tableau/connectorsC:\Program Files\Tableau\ConnectorsRestart Tableau Server.
tsm restart
:::info
You must restart Tableau Server to apply the changes whenever you add, remove, or update a connector.
:::
If LDAP login support is required, you can tick the Enable LDAP switch in the Advanced tab during configuration.