> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/7.6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/7.6/data-center/data-connectors/supported-data-connectors/database-connectors/clickhouse.md). Agents can also search and read this documentation through its [MCP server](https://docs.bdb.ai/7.6/~gitbook/mcp).

# ClickHouse

![](https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fr2fqeQuLaEI1Qz1nXJhi%2Fimage.png?alt=media\&token=fff891c3-4102-4a9b-b336-816d6b437e79)

Provide the following information to create a ClickHouse Data Connector.

* **Data Connector Name**: Provide a user-defined name to identify the data connector.
* **Description**: Provide connection details (Optional).
* **Username**: Enter a Username (It should be the same as given in the connection server).
* **Password:** Enter the Password (It should be the same as provided in the connection server).
* **IP/Host**: Enter database server details (from where the user wants to fetch data).
* **Port:** Provide the server port number. (TCP port)
* **Http Port:** (For Datastore purpose)
* **Database Name:** Name of the database where you wish to store data.
* Click the **‘Save’** option.

![](https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fo9z6MuMjCbHHBYpwlATk%2Fimage.png?alt=media\&token=f58843e2-1c1a-4f9f-9fc6-cb5be7a0f2a9)

* A success message appears confirming the connection.

![](https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FItmW1TWSN8MRUbtcXzQV%2Fimage.png?alt=media\&token=552aef22-b2c4-43b6-9979-3509b052f6e4)

* &#x20;Another success message appears confirming the creation of the Data Connector.
* The newly created ClickHouse data connector gets added to the Data Connectors list.

Note: The user can use the following Environment Variables instead of the actual Username and Password to create the ClickHouse Data Connectors.
