---
title: "Integrating ClickHouse with Metabase"
description: "Metabase is an easy-to-use, open source UI tool for asking questions about your data"
category: "DATA_VISUALIZATION"
support: "PARTNER"
docs: "https://clickhouse.com/docs/integrations/connectors/data-visualization/metabase-and-clickhouse"
---

# Metabase

> **NEW:**  We have recently contributed to version `0.9.0` of metabase-clickhouse-driver which includes bug fixes and a support for the latest JDBC driver

&nbsp;

## Installation
We recommend running Metabase as a Docker container. Alternatively, you can also use the Metabase JAR. We present below the two options:

### Run as a Docker container

```bash
mkdir -p mb/plugins && cd mb
curl -L -o plugins/ch.jar https://github.com/clickhouse/metabase-clickhouse-driver/releases/download/0.9.0/clickhouse.metabase-driver.jar
docker run -d -p 3000:3000 \
  --mount type=bind,source=$PWD/plugins/ch.jar,destination=/plugins/clickhouse.jar \
  --name metabase metabase/metabase:v0.44.6
```

&nbsp;

### Run using Metabase JAR



Download a fairly recent Metabase binary release (jar file) from the [Metabase distribution page](https://metabase.com/start/jar.html).




Download the ClickHouse driver jar from this repository's [Releases](https://github.com/clickhouse/metabase-clickhouse-driver/releases) page




Create a directory and copy the `metabase.jar` to it. In that directory create a sub-directory called `plugins` and copy the ClickHouse driver jar to the `plugins` directory.




Make sure you are the in the directory where your `metabase.jar` lives and run `MB_PLUGINS_DIR=./plugins; java -jar metabase.jar`.




For example (using Metabase v0.44.6 and ClickHouse driver 0.9.0):

```bash
mkdir -p mb/plugins && cd mb
curl -o metabase.jar https://downloads.metabase.com/v0.44.6/metabase.jar
curl -L -o plugins/ch.jar https://github.com/clickhouse/metabase-clickhouse-driver/releases/download/0.9.0/clickhouse.metabase-driver.jar
MB_PLUGINS_DIR=./plugins; java -jar metabase.jar
```




&nbsp;

## Connect to ClickHouse Cloud



Start (or restart) Metabase and access it at <a href="http://localhost:3000/" target="_blank">http://hostname:3000</a>, click on "Add a database" and select "ClickHouse".




Enter the connection details of your ClickHouse Cloud service and click "Save" (make sure to check the "Use secure connection" option).




Start building data visualizations against your ClickHouse tables!


