Docs/Integrations/Posthog

PostHog Integration

Connect PostHog to bring your AI metrics into the same place as the rest of your product analytics. Once connected, the platform forwards usage and metrics to your PostHog project so you can build dashboards that blend LLM cost, volume, and quality with product behavior.

Connect it from your project settings under integrations. You'll need your PostHog hostname and Project API key.

Connecting

Get your PostHog details

In PostHog, find your instance hostname (e.g. https://us.posthog.com or your self-hosted URL) and your Project API key — it starts with phc_ and is in your PostHog project settings.

Add the integration

In AgenticAnts, open the PostHog integration settings and enter the hostname and project API key.

Analyze in PostHog

With the integration active, your AI metrics flow to PostHog, where you can chart them alongside your product analytics.

The Project API key (phc_...) is the correct key for this integration — not a personal API key.

Next steps

  • FinOps — cost and usage metrics within AgenticAnts.
  • Custom Dashboards — build views without leaving the platform.
© 2026 ANTS Platform, Inc.Docs v1.0 · Last updated June 2026