What you unlock
Event analytics
Query events, track user behavior, and analyze funnels and trends through natural language.
Feature flags
Create, update, and evaluate feature flags — control rollouts and target specific user segments.
Experiments
Set up and monitor A/B experiments, track results, and make data-driven decisions.
Dashboards & insights
Create dashboards, build custom insights, and analyze retention and funnel data.
Connect PostHog (US)
1
Open Settings → Integrations
In any workspace go to Settings → Integrations and select PostHog (US).
2
Get your API key
Log in to your PostHog US account at us.posthog.com, navigate to Settings → Personal API
Keys, and create a new key with the scopes your agent needs.
3
Paste and connect
Paste the key into the API Key field and click Connect.
This integration connects to PostHog’s US data region. If your PostHog project is hosted in the EU, use the
PostHog (EU) integration instead.
Agent tools
Add PostHog tools to agents that need them. Their access is limited by the connected key and selected tools.Events & Analytics
Feature Flags
Experiments & Dashboards
Triggers
Automated triggers for PostHog are not yet available. Triggers will be added in a future update — check back soon.
Example use cases
Quick metrics check from chat
Quick metrics check from chat
Ask “How many users completed onboarding this week?” and the agent queries PostHog events, filters by date, and
returns the count — no dashboard navigation needed.
Feature flag rollout management
Feature flag rollout management
Ask your agent to roll out a feature flag to 25% of users in a specific cohort. It updates the flag configuration
and confirms the targeting rules are applied.
Experiment results summary
Experiment results summary
Ask “How is the new checkout experiment performing?” and the agent retrieves experiment statistics, calculates
significance, and presents a clear summary of which variant is winning.
Troubleshooting
My API key isn't working
My API key isn't working
Verify the key was created at us.posthog.com under Settings → Personal API Keys. Make
sure the key has the scopes needed for the operations your agent performs.
Wrong data region
Wrong data region
This integration connects to PostHog’s US cloud (us.posthog.com). If your project is on the EU cloud, disconnect
this integration and connect PostHog (EU) instead.
Events aren't showing up
Events aren't showing up
Events may take a few minutes to appear in PostHog after being captured. If events are consistently missing, check
that your PostHog SDK is correctly initialized in your application.
Feature flag evaluation returns unexpected results
Feature flag evaluation returns unexpected results
Check the flag’s targeting rules and rollout percentage. Use “Get flag details” to inspect the full configuration
and verify the conditions match your expectations.
Back to Integrations
View all available integrations