# ClickHouse

​![](https://859511478-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)
* **Database Name:** Name of the database where you wish to store data.
* **Http Port:** (For Datastore purpose)
* **SSL Type**: Select SSL or Non SSL as choices.
* **Upload Key:** Select a upload key using the drop-down menu (This field appears only if the SSL option has been selected for the SSL Type field.
* Click the ***Save*** option.

<figure><img src="https://1292667781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTXhIkVsF2MUsgjZftfJq%2Fuploads%2FuB1Acj50pbcs2tD4REaj%2Fimage.png?alt=media&#x26;token=6d1a53b6-28d0-44de-a44a-89f1690841ca" alt=""><figcaption></figcaption></figure>

* A success message appears confirming the connection.

&#x20;     ​![](https://859511478-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)​

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

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *The user can use the Environment Variables instead of the actual Username and Password to create the ClickHouse Data Connectors.*
* *The user needs to pass two Port numbers as listed below:*
  * *TCP Port Number*
  * *Http Port Number*
    {% endhint %}


---

# 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.bdb.ai/data-center-1/data-center/data-connectors/supported-data-connectors/database-connectors/clickhouse.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.
