Skip to main content
Connect your PostHog EU cloud account and let your AI agents query analytics events, manage feature flags, run experiments, and build dashboards — all from Mantle. This integration connects to PostHog’s EU data region (eu.posthog.com), keeping your data within the European Union.

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 (EU)

1

Open Settings → Integrations

In any workspace go to Settings → Integrations and select PostHog (EU).
2

Get your API key

Log in to your PostHog EU account at eu.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 EU data region. If your PostHog project is hosted in the US, use the PostHog (US) integration instead. The EU region ensures your analytics data stays within the European Union.

Agent tools

Any agent in your workspace can use PostHog tools once an API key is connected.

Events & Analytics

ToolDescription
Capture eventSend a custom event to PostHog
List eventsList and filter events in a project
Get event definitionRetrieve details of an event definition
Create insightCreate a custom analytics insight
Get trend insightsRetrieve trend data for events over time
Get funnel insightsAnalyze conversion funnels

Feature Flags

ToolDescription
Create feature flagCreate a new feature flag with targeting rules
Get flag detailsRetrieve feature flag configuration and status
Update feature flagModify flag rules, rollout percentage, or targeting
List feature flagsList all feature flags in a project
Get flag statusCheck the evaluation status of a feature flag

Experiments & Dashboards

ToolDescription
Create experimentSet up a new A/B experiment
Get experiment statsRetrieve experiment results and statistical data
List dashboardsList all dashboards in a project
Create dashboardCreate a new dashboard
Get cohort detailsRetrieve details of a user cohort

Triggers

Automated triggers for PostHog are not yet available. Triggers will be added in a future update — check back soon.

Example use cases

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.
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.
Run experiments and analyze results knowing your data stays in the EU. Ask “How is the pricing page experiment performing?” and get a clear statistical summary.

Troubleshooting

Verify the key was created at eu.posthog.com under Settings → Personal API Keys. Make sure the key has the scopes needed for the operations your agent performs. US keys will not work with this integration.
This integration connects to PostHog’s EU cloud (eu.posthog.com). If your project is on the US cloud, disconnect this integration and connect PostHog (US) instead.
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 and pointing to the EU endpoint.
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