Make sure to enable the SSL if you are using ClickHouse® Cloud.
How to connect your deployment to BI tools
This page explains how to integrate your Data Warehouse for ClickHouse® deployment with your preferred Business Intelligence (BI) tools.
Before you startLink to this anchor
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- Signed up to the private beta and received a confirmation email.
- Created a Data Warehouse deployment
TableauLink to this anchor
Tableau is a powerful data visualization and business intelligence tool that enables users to transform complex data into interactive and shareable dashboards and reports, providing actionable insights through intuitive drag-and-drop interfaces.
Download and install the ClickHouse® connector for TableauLink to this anchor
-
Download and install Tableau Desktop.
-
Follow the instructions for
clickhouse-tableau-connector-jdbc
to download the compatible version of the ClickHouse® JDBC driver. -
Store the JDBC driver in the
Drivers
folder. If the directory does not exist, create it:- macOS/Linux:
~/Library/Tableau/Drivers
- Windows:
C:\Program Files\Tableau\Drivers
- macOS/Linux:
Configure a ClickHouse® data source in TableauLink to this anchor
-
Start or restart Tableau.
-
From the Connect left-side menu, click on More under the To a Server section.
-
Select ClickHouse® by ClickHouse® from the connectors list.
-
Enter the following connection parameters:
-
Enter your connection details:
Setting Value Server Your ClickHouse® host (with no prefixes or suffix) Port 8443 Database default Username default Password Password set at deployment creation Note -
Click Sign In. A new Tableau workbook appears.
-
Select default from the Schema dropdown menu in the left side panel. A list of tables appears.
-
Your Data Warehouse for ClickHouse® is now integrated into your Tableau platform.
Refer to the official ClickHouse® and Tableau documentation portals for more information.
MetabaseLink to this anchor
Metabase is an open-source business intelligence tool that allows users to create and share customizable dashboards and reports from various data sources.
Integrating ClickHouse® into Metabase enhances query performance and scalability, for faster data analysis on large datasets, and provides robust support for complex queries and real-time analytics.
Download the ClickHouse® plugin for MetabaseLink to this anchor
-
Download the latest version of the plugin (JAR file named
clickhouse.metabase-driver.jar
) from the official CLickHouse® GitHub repository. -
Save
clickhouse.metabase-driver.jar
in your Metabase plugins folder.NoteIf you do not have a plugins folder, create it in the same directory as the
metabase.jar
file. Refer to the official Metabase documentation for more information on plugins. -
Start (or restart) Metabase to load the new plugin.
-
Access your Metabase server.
NoteOn the initial startup, if prompted to select a database, select I’ll add my data later.
Connect Metabase to ClickHouse®Link to this anchor
-
Click on the gear icon in the top-right corner and select Admin Settings to visit your Metabase admin page.
-
Click Add a database. Alternatively, you can click the Add database button from the Databases tab.
-
If your driver installation worked, you will see ClickHouse® in the dropdown menu for Database type.
-
Enter a display name for your database.
-
Enter the credentials Data Warehouse for ClickHouse® deployment. Toggle on **Use a secure connection (SSL)**if your ClickHouse® server is configured to use SSL.
-
Click Connect database to finish.
Your Data Warehouse for ClickHouse® is now integrated into your Metabase platform.
Refer to the official ClickHouse® and Metabase documentation portals for more information.
PowerBI DesktopLink to this anchor
Power BI Desktop is a robust data visualization tool that allows users to create dynamic reports and dashboards from various data sources.
ODBC connection between PowerBI and Data Warehouse for ClickHouse® is currently not supported.
-
Make sure you installed [PowerBI Desktop]https://www.microsoft.com/en-us/download/details.aspx?id=58494/), and MySQL Connector/NET.
-
Open PowerBI Desktop.
-
Click Get Data from the top ribbon, then select More… at the bottom of the drop-down menu. A pop-up displays.
-
Select the Database category, select MySQL database in the list, then click Connect. A connection pop-up displays.
-
Enter the values below, then click OK.
- Server:
<YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud
- Database: the name of the database to import
A credentials pop-up displays.
- Server:
-
Select Database from the left menu, enter the values below, then click Connect.
- User name: your deployment admin user (
scwadmin
by default) - Password: the password you set at deployment creation
The Navigator pop-up displays, showing the different schemas and tables contained in your Data Warehouse for ClickHouse® deployment.
- User name: your deployment admin user (
-
Select the desired tables, then Load to import data, or Transform Data to start working with your dataset.
Your Data Warehouse for ClickHouse® is now integrated into your PowerBI platform.
Refer to the official ClickHouse® and PowerBI documentation portals for more information.