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
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).
Create Personal API Key
Click Create personal API key. Name it BAFOS Monitor and copy the generated key (starts with phx_).
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).
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
| Date | Type | Description |
|---|---|---|
| 2026-11-17 | Added | Dedicated /tools/posthog page showing error rates and session trends. |
| 2026-11-16 | Added | Automated Blocker Radar rule triggering warning on runtime error spikes. |
| 2026-11-15 | Initial | PostHog EU/US cloud API connector with encrypted key storage. |