> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Fivetran and ClickHouse Cloud

> Use Fivetran to move data from any source into ClickHouse Cloud with automated schema creation, deduplication, and History Mode (SCD Type 2).

ClickHouse Supported

## Overview

[Fivetran](https://www.fivetran.com) is the automated data movement platform moving data out of, into and across your cloud data platforms.

[ClickHouse Cloud](https://clickhouse.com/cloud) is supported as a [Fivetran destination](https://fivetran.com/docs/destinations/clickhouse), allowing you to load data from various sources into ClickHouse. Open Source ClickHouse version isn't supported as a destination.

The destination connector is developed and maintained together by ClickHouse and Fivetran. The source code is available on [GitHub](https://github.com/ClickHouse/clickhouse-fivetran-destination).

> [!NOTE]
>
> [ClickHouse Cloud destination](https://fivetran.com/docs/destinations/clickhouse) is currently in **Beta** but we are working to make it generally available soon.

[//www.youtube.com/embed/sWe5JHW3lAs](//www.youtube.com/embed/sWe5JHW3lAs)

## Key features

* **ClickHouse Cloud compatible**: use your ClickHouse Cloud database as a Fivetran destination.
* **SaaS deployment model**: fully managed by Fivetran, no need to manage your own infrastructure.
* **History Mode (SCD Type 2)**: preserves complete history of all record versions for point-in-time analysis and audit trails.
* **Configurable batch sizes**: You can adapt Fivetran to your particular use case by tuning write, select, mutation, and hard delete batch sizes via a JSON configuration file.

## Limitations

* Schema migrations are not supported yet, but we are working on it.
* Adding, removing, or modifying primary key columns is not supported.
* Custom ClickHouse settings on `CREATE TABLE` statements are not supported.
* Role-based grants are not fully supported. The connector's grants check only queries direct user grants. Use [direct grants](https://clickhouse.com/docs/integrations/connectors/data-ingestion/etl-tools/fivetran/troubleshooting.md#role-based-grants) instead.

## Related pages

* [Technical Reference](https://clickhouse.com/docs/integrations/connectors/data-ingestion/etl-tools/fivetran/reference.md): type mappings, table engines, metadata columns and advanced configurations
* [Troubleshooting & Best Practices](https://clickhouse.com/docs/integrations/connectors/data-ingestion/etl-tools/fivetran/troubleshooting.md): common errors and optimization tips and debugging queries
* [ClickHouse Fivetran destination on GitHub](https://github.com/ClickHouse/clickhouse-fivetran-destination)

## Setup guide

* If you're looking for configurations and general technical details, please refer to the [technical reference](https://clickhouse.com/docs/integrations/connectors/data-ingestion/etl-tools/fivetran/reference.md).
* For a comprehensive guide, check the [setup guide](https://fivetran.com/docs/destinations/clickhouse/setup-guide) in the Fivetran documentation.

## Contact and support

The ClickHouse Fivetran destination has a split ownership model:

* **ClickHouse** develops and maintains the destination connector code.
* **Fivetran** hosts the connector and is responsible for data movement, pipeline scheduling, and source connectors.

Both Fivetran and ClickHouse provide support for the Fivetran ClickHouse destination. For general inquiries, we recommend reaching out to Fivetran, as they are the experts on the Fivetran platform. For any ClickHouse-specific questions or issues, our support team is happy to help. Create a [support ticket](https://clickhouse.com/docs/resources/about/support.md) to ask a question or report an issue.
