Infisical

Infisical

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 Infisical to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Connect an Infisical machine identity to pull your organization's audit logs, projects, identities, and memberships into the PostHog Data warehouse. Secret values are never synced.

In Infisical, create a machine identity under Organization settings > Access control > Identities, add a Universal Auth method to it, and grant it read permissions for the data you want to sync (audit logs, projects, identities, and memberships). Note that audit log access is plan-gated on Infisical Cloud.

  • Base URL: https://app.infisical.com (US cloud), https://eu.infisical.com (EU cloud), or your self-hosted URL.
  • Organization ID: found in your Infisical URL after /org/, or in organization settings.
  • Client ID / Client secret: from the identity's Universal Auth configuration.

Configuration

OptionTypeRequired
Base URLtextYes
Organization IDtextYes
Client IDtextYes
Client secretpasswordYes

Linking Infisical to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Infisical
  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
audit_logs

The first sync fetches your plan's full retained history

Incremental, Full refreshcreatedAt
projects

Projects (workspaces) in the organization, including their environments and settings.

Full refresh
identities

Machine identity memberships in the organization: each machine identity with its organization role and last login details.

Full refresh
organization_memberships

User memberships in the organization: each member with their role, status, and last login details.

Full refresh
project_memberships

User memberships per project: which users belong to which project and the roles they hold there. One row per user-project membership across every project the machine identity can read.

Full refresh