AccessLayer
Connectors
Setup Guides

PostHog

Set up the PostHog connector in AccessLayer.

PostHog is a product analytics platform for event tracking, feature flags, session replay, experimentation, and data warehouse use cases.

In AccessLayer, the PostHog connector lets you query project data, analytics endpoints, and related metadata for reporting and operational analysis.

Before you start

You will need PostHog API credentials for the project and region you want to query.

Before you begin, make sure you have:

  • A PostHog personal API key
  • Your PostHog project ID
  • The correct PostHog host for your region or deployment

For additional details, see the PostHog API documentation.

Use a personal API key

Use a personal API key for this connector. For PostHog Cloud, the host is usually us.posthog.com or eu.posthog.com.

Generating your credentials

Create a personal API key

In PostHog, create a personal API key from your account settings and copy it for use in AccessLayer.

Find your project ID

Open the PostHog project you want to query and copy its project ID from the project settings.

Choose the correct host

Use us.posthog.com for US Cloud, eu.posthog.com for EU Cloud, or your own self-hosted PostHog domain.

Troubleshooting

On this page