← Back to Integrations
PostHog
freePostHog for product analytics, feature flags, and session replay.
Install
npx integrateapi add posthogFeatures
- Analytics
- Feature flags
- Session replay
Environment variables
| Variable | Description |
|---|---|
NEXT_PUBLIC_POSTHOG_KEY | Project API key |
NEXT_PUBLIC_POSTHOG_HOST | PostHog host (e.g. app.posthog.com) |