
CloudZero
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect CloudZero to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your CloudZero API key. Grant it billing:read_dimensions so PostHog can check the connection, then add a scope for each table you want to sync: billing:read_costs for costs, budgets:read_budgets for budgets, insights:read_insights for insights, and optimize:list_recommendations plus optimize:list_recommendation_types for recommendations. You set these in CloudZero under Settings > API Keys.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Granularity | select | Yes |
Cost type | select | Yes |
Group costs by dimensions (optional) | text | No |
Linking CloudZero to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select CloudZero
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
Budgets | A budget defined in CloudZero: a monthly planned spend limit for a saved view, with optional alert thresholds. Sync this alongside Costs to compare planned against actual spend. | Full refresh | — | — |
Costs | A time-series row of cloud/SaaS spend for a single usage period (hour/day/week/month/year), optionally broken down by one or more CostFormation dimensions (e.g. service, account). | Incremental, Full refresh | usage_date | — |
Dimensions | A CostFormation dimension available to group or filter cost data by (e.g. service, account, team). | Full refresh | — | — |
Insights | A cost insight: a piece of cost work tracked in CloudZero, carrying its estimated dollar impact, effort, and status as it moves from new to addressed. | Full refresh | — | — |
RecommendationTypes | A recommendation type: the pattern CloudZero evaluates to produce recommendations, such as rightsizing an over-provisioned instance. Resolves the | Full refresh | — | — |
Recommendations | A savings recommendation CloudZero generated for one resource, with the spend it could save over the last 30 days. CloudZero only returns recommendations at or above a $1.00 30-day cost impact by default, so lower-impact recommendations are not in this table. | Full refresh | — | — |