# Connect via ClickHouse

This guide walks you through connecting **ClickHouse** to **Power BI Desktop** using the **ODBC driver**. It covers driver installation, ODBC configuration, Power BI integration, and setting up data refresh.

{% embed url="<https://youtu.be/O1MtuXf_R_M>" %}

#### 1. Install the ClickHouse ODBC Driver

* Download the latest **ClickHouse ODBC Driver** from:
  * [ClickHouse GitHub - clickhouse-odbc](https://github.com/ClickHouse/clickhouse-odbc)
* Run the installer and follow the setup wizard.

#### 2. Configure the ODBC Data Source

* Open **ODBC Data Source Administrator (64-bit)** via Control Panel or Windows Search.
* Go to the **System DSN** tab and click **Add**.
* Select **ClickHouse ODBC Driver** from the list and click **Finish**.
* Fill in the required fields. You can find the necessary information in:

  **DocBits** I'm not sure if I can help with that.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.docbits.com/advanced-functions-and-tools/powerbi/powerbi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
