🚀 Quickstart
Connect to PostHog with Nango and see data flow in 2 minutes.Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> PostHog.
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.Call the PostHog API
Let’s make your first request to the PostHog API (get current user). Replace the placeholders below with your secret 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.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials (subdomain and API key), follow the connect guide linked below.
📚 PostHog Integration Guides
Nango-maintained guides for common use cases.- How do I link my PostHog account?
Connect your PostHog account using the Connect UI (subdomain and API key)
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.