Skip to main content

🚀 Quickstart

Connect to PostHog with Nango and see data flow in 2 minutes.
1

Create an integration

In Nango (free signup), go to Integrations -> Configure New Integration -> PostHog.
2

Authorize PostHog

Go to Connections -> Add Test Connection -> Authorize, then enter your Subdomain (e.g. us or eu.i) and API Key. Later, you’ll let your users do the same directly from your app.
3

Call the PostHog API

Let’s make your first request to the PostHog API (get current user). Replace the placeholders below with your Environment API key, integration ID, and connection ID:
Or fetch credentials dynamically via the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own credentials (subdomain and API key), follow the connect guide linked below.

📚 PostHog Integration Guides

Nango-maintained guides for common use cases.
Subdomain: Use the part of your PostHog URL after https:// and before .posthog.com (e.g. us, eu.i for US/EU Cloud). PostHog enforces different rate limits per resource.
Only need to send events, not read data? Use the PostHog (Capture API) integration instead — it authenticates with a public Project Token instead of a personal API key, and doesn’t require a logged-in PostHog user (events still need a distinct_id).
Official docs: PostHog API documentation

🧩 Pre-built syncs & actions for PostHog

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

Others