
Pulumi
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 Pulumi to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your Pulumi Cloud access token and organization name to pull your infrastructure-as-code data into the PostHog Data warehouse.
Create a personal access token from your Pulumi Cloud access tokens page, or an organization access token from your organization's settings. The token inherits its owner's access, so no extra scopes are required.
The organization name is the one shown in your Pulumi Cloud console URL (app.pulumi.com/<organization>). Audit logs additionally require a Pulumi Cloud plan with audit logs enabled.
Configuration
| Option | Type | Required |
|---|---|---|
Access token | password | Yes |
Organization | text | Yes |
Linking Pulumi to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Pulumi
- 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 |
|---|---|---|---|---|
stacks | One row per stack the token can access in the organization, with its last update time and resource count | Full refresh | — | — |
stack_updates | The full update/preview/refresh/destroy history of every stack, with outcomes, timings, and resource change counts | Incremental, Full refresh | startTime | — |
deployments | Pulumi Deployments runs across the organization, with status, operation, and job details. Empty unless the organization uses Pulumi Deployments | Full refresh | — | — |
audit_logs | Organization audit log events (who did what, when, from where). Requires a Pulumi Cloud plan with audit logs enabled | Incremental, Full refresh | timestamp | — |
resources | Every resource in the organization's Pulumi Insights resource index, one row per resource | Full refresh | — | — |