# Chargebee + ClickHouse

> Integrate subscription, invoice, and billing data from Chargebee into Clickhouse with Erathos. Start for free.

Source: https://www.erathos.com/en/pipelines/chargebee-clickhouse
Em português: https://www.erathos.com/pipelines/chargebee-clickhouse

Chargebee is a subscription management and recurring billing platform used by SaaS companies to automate invoicing, billing, and revenue operations.

With Erathos, Chargebee data is loaded into ClickHouse in an OLAP-optimized format, ready for high-concurrency dashboards and sub-second queries even over massive datasets.

### What Chargebee data does Erathos sync to Clickhouse?

The integration automatically syncs key Chargebee objects:

- **Subscriptions**: plans, status, and billing cycle of each subscription
- **Invoices**: amounts, dates, and payment statuses
- **Transactions**: payment attempts and their outcomes
- **Plans**: pricing structures and configured plans
- **Customers**: profile and contact data linked to subscriptions
- **Revenue events**: MRR, upgrades, downgrades, and churn

### Why sync Chargebee with Clickhouse?

In ClickHouse, you can run OLAP queries on your Chargebee data in milliseconds—ideal for high-concurrency dashboards and large-volume time series analysis.

### How it works

Erathos connects to Chargebee via official APIs and syncs your data incrementally: only new or updated records are processed in each run, keeping pipelines fast and Clickhouse costs predictable. You choose the sync frequency (from 5 minutes to daily), the objects to sync, and the target dataset. Every execution is logged with full observability: runtime, rows processed, errors with context, and instant alerts via Slack or email if anything goes wrong.

## Data in your data warehouse in minutes

### Out-of-the-box Chargebee connector

Connect Chargebee to Clickhouse and automatically export subscriptions, invoices, and transactions. No intermediate spreadsheets, no scripts.

### Full control over your Chargebee pipelines

Configure the schedule, frequency, and sync mode at the table level. Incremental sync processes only new or updated records, keeping your ClickHouse costs predictable and your data always up to date.

### End-to-end observability

Stop finding out about Chargebee failures only when the business team complains. Every run is logged with runtime, rows processed, and error context. Get automatic alerts via Slack, Discord, or email the moment something goes wrong.

## Centralizing Chargebee data into ClickHouse has never been easier

Erathos is a data ingestion platform built for financial and data teams. With the Chargebee connector, you can automatically export subscriptions, invoices, and charges to Clickhouse—with zero intermediary spreadsheets, no custom scripts, and full observability.

## FAQ

### What is Erathos and how can it help my company?

Erathos is a data ingestion platform built for reliability, transparency, and control. We help data teams connect tools like Chargebee to their data warehouse with full observability into every run, zero maintenance, and none of the opacity of traditional market tools.

### What Chargebee data does Erathos sync to ClickHouse?

Erathos syncs Chargebee subscriptions, invoices, charges, plans, customers, and revenue events directly to Clickhouse.

### How often does Erathos sync data from Chargebee to Clickhouse?

You can configure the sync frequency from every 5 minutes to daily, at the table level. Erathos uses incremental sync, meaning only new or updated records are processed in each run, keeping the Chargebee pipeline efficient and Clickhouse costs predictable.

### What happens if a Chargebee sync fails?

Erathos automatically detects failures and sends alerts to your email, Slack, or Discord with full context—not just "job failed." Smart retries handle transient errors, and every run is logged with runtime, processed rows, and error context so your team can debug in minutes, not hours.

### Is there a free trial available for the Chargebee connector?

Yes. Every Erathos connector comes with a 14-day free trial. Connect Chargebee to Clickhouse and start syncing immediately, no credit card required.
