Guides · analytics · Everyday developer services

PostHog

Product analytics, session replay, feature flags and experiments. Copy the project token and the US or EU ingestion host.

Researched · not yet run liveLast researched 25 October 2026 · PostHog · provider site

Researched, not yet run live. Built from the provider’s official pages (linked below). A person hasn’t walked this flow end to end yet, so check each step against the source.

Steps

Steps marked “human step” are ones only you can do: verapli never signs in, submits, pays or accepts terms for you.

  1. Sign in or create a PostHog account

    Sign in to PostHog. If you have no account yet, you create it yourself; verapli does not create accounts.

    • Guided by hand
    • Human step: You sign in

    Where: https://app.posthog.com/login

  2. Copy the project token and host

    On the Project settings page copy the Project token and use the host for your cloud (https://us.i.posthog.com or https://eu.i.posthog.com). Or run stripe projects add posthog/analytics.

    • Guided by hand
    • After: Sign in or create a PostHog account

    verapli captures NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN here by plain code: encrypted in your browser, never shown to AI.

  3. Set billing limits (optional)optional

    If you add a card, set per-product billing limits so ingestion stops instead of overspending.

    • Guided by hand
    • Human step: You add payment details
    • After: Copy the project token and host

What you end up with

Env varSecretFormatWhat it is
NEXT_PUBLIC_POSTHOG_PROJECT_TOKENnot secretPostHog project token (public, client-side)
NEXT_PUBLIC_POSTHOG_HOSTnot secrethttps://us.i.posthog.comPostHog ingestion host (US or EU)

For agents

The same entry as JSON: /api/v1/entries/posthog/analytics · requirements /api/v1/requirements/posthog/analytics · terms /api/v1/terms/posthog/analytics.

Remote MCP (read-only, no auth)
claude mcp add --transport http verapli https://verapli.com/mcp

> "What do I need for PostHog, and how long will it take?"
  → tools/call requirements { "provider_id": "posthog/analytics" }

Sources

  1. Stripe Projects CLI (Available providers) PostHog is listed as a Stripe Projects provider (Analytics, feature flags) · accessed 25 October 2026 · official
  2. projects.dev provider catalogue Catalogue service id posthog/analytics · accessed 25 October 2026 · official
  3. PostHog docs - Install Project token from the Project page; host https://us.i.posthog.com or https://eu.i.posthog.com for EU Cloud · accessed 25 October 2026 · official
  4. PostHog docs - Next.js NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN and NEXT_PUBLIC_POSTHOG_HOST in .env.local; posthog-js and posthog-node · accessed 25 October 2026 · official
  5. PostHog docs - Billing limits and alerts Billing limits stop ingestion so you aren't charged over the limit; owner alerts at 80% and 100% · accessed 25 October 2026 · official

Provider rules change. This page is generated from verapli registry version 2026.1025.316; spotted something out of date? Tell us. PostHog is not affiliated with verapli.