BAFOSJoin Waitlist
BAFOS Docs

PostHog Integration Guide

The PostHog integration brings daily active usage trends and frontend error spikes directly into the Morning Pulse and Blocker Radar.

What It Does

  • Usage Trends: Shows 24-hour active user sessions and event volumes.
  • Outage Spike Detection: Flags an alert on Blocker Radar when captured error exceptions surge above 3x normal baseline.
  • Release Verification: Verifies post-deployment product stability following new production releases.

Authentication Method: Personal API Key

PostHog connects directly using a Personal API Key and your Project ID.

Step-by-Step: How to Generate Your PostHog API Key

1

Open PostHog Project Settings

Log in to PostHog, select your project, click the gear icon in the bottom left, and navigate to Project → Project API Keys (or user Personal API Keys in account settings).

2

Create Personal API Key

Click Create personal API key. Name it BAFOS Monitor and copy the generated key (starts with phx_).

3

Locate Project ID & Host

In Project Settings, note your numeric Project ID and your PostHog Cloud Host (e.g., https://us.i.posthog.com or https://eu.i.posthog.com).

4

Save in BAFOS

In BAFOS, open Project Settings → Connected Stack → PostHog. Enter the Host URL, Project ID, and API Key, then click Test & Save Connection.

Maintained Changelog

DateTypeDescription
2026-11-17AddedDedicated /tools/posthog page showing error rates and session trends.
2026-11-16AddedAutomated Blocker Radar rule triggering warning on runtime error spikes.
2026-11-15InitialPostHog EU/US cloud API connector with encrypted key storage.