Skip to main content
Connect Indexbrain to PostHog to analyze product usage using natural language — read-only, real server-side aggregates.

Setup

1

Create a personal API key

In PostHog, go to Settings > Account > Personal API Keys and create one with read access. The project API key (used for sending events) won’t work here — Indexbrain needs the personal key to read data.
2

Go to Integrations

Navigate to Settings > Integrations > PostHog.
3

Add your credentials

Enter your personal API key and host (e.g. https://us.i.posthog.com for US Cloud, https://eu.i.posthog.com for EU Cloud, or your self-hosted domain).
4

Test the connection

Ask about your top events.
Your project is resolved automatically after connecting — no project ID to enter manually.

Capabilities

Event volume

Real aggregate counts, computed server-side by PostHog — not a sample of recent events counted after the fact.

Top pages

Returns the top 15 pages by pageview count.

Funnels

Returns the count and conversion-from-start percentage at each step of an ordered sequence of events (2-6 steps).
This is a straightforward sequential-event funnel, not PostHog’s full UI funnel builder — it doesn’t support exclusion steps or breakdowns.

Retention

Returns a single Day-N retention percentage: of people who did a given event within a date range, what percent did the event again exactly N days later.
This is one retention number for the day you ask about, not PostHog’s full multi-period retention grid (Day 1, 2, 3… N all shown at once).

What Indexbrain does not do in PostHog (yet)

  • No exclusion steps or breakdowns in funnels.
  • No full multi-period retention grid — only a single Day-N percentage per question.
  • No individual user-level data, session recordings, or feature flag configs.

How data moves

Usage data is captured as one daily snapshot rather than individual events — it’s a trend signal. Snapshots sync on your configured processing interval; asking a question can also trigger a live query for the exact date range you ask about.

Troubleshooting

  • Confirm you used a personal API key, not the project API key from Settings > Project — the project key can only send events, not read them.
  • Confirm the host matches where your PostHog project actually lives (US Cloud, EU Cloud, or self-hosted).
  • Confirm the event names you used match exactly how they’re named in PostHog (event names are case-sensitive).
  • Remember funnels don’t support exclusions/breakdowns, and retention is a single Day-N number, not a full grid.