---
title: Setting up ClickHouse
description: Setting up Database Monitoring on a ClickHouse database
breadcrumbs: Docs > Database Monitoring > Setting up ClickHouse
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Setting up ClickHouse

{% alert level="info" %}
This feature is in preview and requires Datadog Agent v7.78 or later. Customers who participate in the Datadog Database Monitoring for ClickHouse preview **will not be charged** for usage incurred during the preview period. No additional enablement is required; follow the setup instructions below to get started.
{% /alert %}

### ClickHouse versions supported{% #clickhouse-versions-supported %}

| Self-hosted     | ClickHouse Cloud |
| --------------- | ---------------- |
| ClickHouse 23.x | yes              | yes |
| ClickHouse 24.x | yes              | yes |
| ClickHouse 25.x | yes              | yes |

### Setup instructions by hosting type{% #setup-instructions-by-hosting-type %}

To learn how to set up Database Monitoring on a ClickHouse database, select your hosting type:
Self-hostedClickHouse Cloud