Prerequisites
Before setting up a ClickHouse destination, ensure that you have:- A ClickHouse instance reachable over HTTPS (ClickHouse Cloud or self-hosted)
- A table to insert into (see Data format and table setup)
- A username and password with
INSERTprivileges on that table
Data format and table setup
Ampersand delivers each read or subscribe message as a JSON object. The full payload schema is defined in webhook.yaml. ClickHouse matches the payload’s top-level keys to your table’s columns by name. Create a column for each top-level key you want to store. Keys with no matching column are ignored.result is the array of synced records; store it as a JSON string.
Create a ClickHouse destination
Go to the Destinations page in the Ampersand Dashboard and create a new ClickHouse destination. You’ll need to provide:Refer to the destination in your integration
After creating your ClickHouse destination, reference it in youramp.yaml file:

