PostHog Connector
Connector implementation
Build the PostHog integration
Open-source product analytics with session recordings, feature flags, and A/B testing
Implementation Overview
Implement a PostHog connector that authenticates to the vendor surface, normalizes source records in Tajo, and activates eligible data in Brevo.
Treat this as an implementation guide. Build and validate the auth, mapping, sync, and operations paths before production use.
mcp.posthog.com/mcp
| Property | Value |
|---|---|
| Integration surface | API + MCP |
| Implementation status | Implementation required |
| Category | Product Analytics |
| Setup complexity | medium |
| Vendor documentation | posthog.com/docs/api |
| Allowed host | Not recorded |
| Base URL | Not recorded |
| OpenAPI schema | app.posthog.com/api/schema/ |
| MCP server | mcp.posthog.com/mcp |
| Last researched | 2026-08-19 |
OpenAPI schema downloadable + official MCP server at mcp.posthog.com/mcp.
Authentication
-
Use app.posthog.com/api/schema/ to generate or validate typed API clients and request models.
-
Validate the MCP server endpoint at mcp.posthog.com/mcp and document required headers, auth grants, and tool availability.
-
Keep posthog.com/docs/api linked from the connector runbook so operators can confirm vendor behavior during incidents.
-
Store credentials per Tajo workspace and keep tenant-specific secrets out of connector configuration files.
-
Add a credential smoke test that verifies read access to a harmless resource before running backfills or enabling webhooks.
Data To Sync
Start with these inferred data domains, then confirm exact vendor resources and permissions from the source documentation:
- Commerce, payment, or subscription objects
- Events, webhooks, and behavioral activity
The connector should make source records idempotent by keeping a stable key such as a vendor object ID, email address, event ID, ticket ID, order ID, or campaign ID. If the vendor only exposes list APIs, Tajo should store the cursor strategy and replay policy explicitly.
Sync Shape
No typed contract exists for PostHog, so the direction of each resource and its conflict handling are not recorded. Direction is declared per resource on a connector contract; see the connector catalog for how contracts are promoted.
Mapping To Tajo/Brevo
No Brevo projection is recorded for PostHog. A projection is declared on a typed connector contract, and PostHog does not have one yet, so this page will not state a mapping it cannot source.
The conventions that apply to every connector — stable external IDs, normalization, backfill and sync strategy, error handling, and the builder checklist — are documented once under “Applies to every connector” on the connector catalog.