env0

env0

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.

Learn more
PostHog Wizard hedgehog

Connect env0 to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your env0 API key credentials to pull your env0 data into the PostHog Data warehouse.

You can create an organization API key in your env0 Organization Settings > API Keys, or a personal API key from your user settings. The key needs read access to the organizations you want to sync.

Environment cost data is only available for environments with cost monitoring configured.

Configuration

OptionTypeRequired
API key IDtextYes
API key secretpasswordYes

Linking env0 to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select env0
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
organizations

An env0 organization the API key can access, including its policies and plan settings.

Full refresh
projects

A project groups environments, templates, and team access under an organization.

Full refresh
teams

A team of users used to assign roles and project access within an organization.

Full refresh
templates

A template (blueprint) defines a deployable environment type: its IaC repository, revision, and tooling.

Full refresh
environments

An environment is a deployment managed by env0 — the live instance of a template within a project.

Full refresh
deployments

A deployment log records one deploy, destroy, plan, or drift-detection run of an environment.

Incremental, Full refreshstartedAt
environment_costs

Daily cloud cost records for an environment over the last year. Requires cost monitoring to be configured for the environment.

Full refresh