# ClickHouse

**Integration type**: `Read` `Write` `SQL`

Integration with ClickHouse allows you to read and write data from and to ClickHouse instances in a streaming mode.

**Data for the connection:**

<figure><img src="/files/oxEJxHlHNAvUI75vMzvr" alt=""><figcaption></figcaption></figure>

ClickHouse supports both direct and SSH connection types. But for security reasons, we recommend always using SSH tunnels with restricted access from Ylem's IP.


---

# 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.ylem.co/integrations/library-of-integrations/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.
