How to load data from Customer.io to Clickhouse
Learn how to use Airbyte to synchronize your Customer.io data into Clickhouse within minutes.


Building your pipeline or Using Airbyte
Airbyte is the only open source solution empowering data teams to meet all their growing custom business demands in the new AI era.
- Inconsistent and inaccurate data
- Laborious and expensive
- Brittle and inflexible
- Reliable and accurate
- Extensible and scalable for all your needs
- Deployed and governed your way
Start syncing with Airbyte in 3 easy steps within 10 minutes



Take a virtual tour
Demo video of Airbyte Cloud
Demo video of AI Connector Builder
Setup Complexities simplified!
Simple & Easy to use Interface
Airbyte is built to get out of your way. Our clean, modern interface walks you through setup, so you can go from zero to sync in minutes—without deep technical expertise.
Guided Tour: Assisting you in building connections
Whether you’re setting up your first connection or managing complex syncs, Airbyte’s UI and documentation help you move with confidence. No guesswork. Just clarity.
Airbyte AI Assistant that will act as your sidekick in building your data pipelines in Minutes
Airbyte’s built-in assistant helps you choose sources, set destinations, and configure syncs quickly. It’s like having a data engineer on call—without the overhead.
What sets Airbyte Apart
Modern GenAI Workflows
Move Large Volumes, Fast
An Extensible Open-Source Standard
Full Control & Security
Fully Featured & Integrated
Enterprise Support with SLAs
What our users say

Raman Singh
Predictable, straightforward pricing model that simplified budgeting and significantly reduced overall spend

Chase Zieman

“Airbyte helped us accelerate our progress by years, compared to our competitors. We don’t need to worry about connectors and focus on creating value for our users instead of building infrastructure. That’s priceless. The time and energy saved allows us to disrupt and grow faster.”

Rupak Patel
"With Airbyte, we could just push a few buttons, allow API access, and bring all the data into Google BigQuery. By blending all the different marketing data sources, we can gain valuable insights."
How to Sync to Manually
Begin by identifying the data you need to extract from Customer.io. Use Customer.io's API to retrieve your data. This typically involves making HTTP requests to their endpoints. You can use tools like `curl` or write a script in Python or another programming language to programmatically fetch the data. Ensure you have access credentials such as an API key to authenticate your requests.
Once you have the data, you need to transform it into a format that ClickHouse can understand, such as CSV or TSV. Ensure that your data types are compatible with ClickHouse's data types to prevent errors during insertion. This might involve converting timestamps, numbers, or handling null values appropriately.
If you haven't already, set up a ClickHouse server. You can do this by installing ClickHouse on a dedicated server or using a managed ClickHouse service. Follow ClickHouse's official documentation for installation and configuration, ensuring that you have network access and sufficient permissions to insert data.
Before importing data, create tables in ClickHouse that match the structure of your transformed data. Use `CREATE TABLE` statements to define the schema, ensuring your column names and data types align with your transformed dataset. You can use the ClickHouse client or a SQL interface to run these commands.
With your data transformed and tables created, transfer the data to ClickHouse. You can use the `clickhouse-client` tool for this task. For example, you can load a CSV file using the `--query` option:
```
clickhouse-client --query="INSERT INTO your_table FORMAT CSV" < your_data.csv
```
Ensure that your data file is accessible to the ClickHouse server.
After loading the data, perform checks to ensure that the data in ClickHouse matches the original dataset. You can run `SELECT` queries to count rows, check for null values, or spot-check specific data points. This step is crucial to ensure that the data transfer was successful and accurate.
If you need to move data regularly, consider writing a script to automate the extraction, transformation, and loading (ETL) process. You can use a cron job or a similar scheduling tool to run your script at regular intervals. Ensure that your script handles errors gracefully and logs its operations for troubleshooting purposes.
By following these steps, you can manually transfer data from Customer.io to ClickHouse without relying on third-party connectors.