ClickHouse Cloud
Connect your ClickHouse Cloud organization to track compute, storage, data transfer, and ClickPipes costs in StackSpend.
ClickHouse Cloud
Usage Cost API — Organization billing read key required
The ClickHouse Cloud provider connects StackSpend to your organization via the ClickHouse Cloud Usage Cost API. StackSpend backfills up to 90 days of usage on first sync, then updates daily as new charges are finalized.
What StackSpend tracks
- Compute costs per warehouse and service
- Storage and backup charges
- Data transfer costs
- ClickPipes usage
- Costs denominated in ClickHouse Credits (1 CHC = 1 USD)
- 90 days of historical data, updated daily
Prerequisites
- A ClickHouse Cloud organization account
- An API key with Organization billing read access
Setup
Create an API key
In the ClickHouse Cloud console, go to Organization → API Keys → Generate API key. Set the role to Organization billing read.
Copy the Key ID and Key Secret. The secret is shown only once — store it somewhere safe before closing the dialog.
Get your Organization ID
This step is only needed if your API key can access multiple organizations. In the ClickHouse Cloud console, go to Organization → Settings and copy the Organization ID.
If your key is scoped to a single organization, you can leave this field blank in StackSpend.
Add to StackSpend
In StackSpend, go to Providers → ClickHouse Cloud. Enter your API Key ID, API Key Secret, and optionally your Organization ID. Click Save.
Data summary
| Attribute | Value |
|---|---|
| Data latency | Daily |
| Historical data | 90 days |
| Setup time | 5 min |
