Prerequisites
- A PostHog account with a project set up
- Your PostHog project API key (found in PostHog under Project Settings)
- Workspace admin permissions in Superhawk AI
Setup
1
Open integrations
Navigate to Settings > Integrations in your Superhawk AI workspace.
2
Find PostHog
Locate PostHog under the Analytics & Monitoring category.
3
Start the connection
Click Connect on the PostHog card.
4
Enter your API key
Paste your PostHog project API key into the field provided.
5
Configure tracking options
Select the tracking options for your integration:
- Autocapture events — automatically capture page views, clicks, and form submissions
- Feature flag tracking — sync feature flag evaluations to see which features trial users have access to
- Custom events — include any custom events your team has instrumented in PostHog
6
Save
Click Save to activate the integration. Data will begin flowing into Superhawk AI within a few minutes.
Configuration Options
After connecting PostHog, you can adjust settings from Settings > Integrations > PostHog.- Autocapture — toggle automatic capture of page views and interactions on or off.
- Feature flag tracking — enable or disable syncing of feature flag evaluations to see which trial users have access to specific features.
- Event filters — limit which custom events are synced to Superhawk AI to keep your trial data focused.