PostHog (OAuth)

Integrate your application with the PostHog API using OAuth

🚀 Quickstart

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

Create the integration

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

Authorize PostHog

Go to Connections -> Add Test Connection -> Authorize, then log in to PostHog. 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. Replace the placeholders below with your Environment API key, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/api/users/@me" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"

Or fetch credentials with the Node SDK or API.

✅ You're connected! Check the Logs tab in Tenklo to inspect requests.

Implement Tenklo in your app

Follow our Auth implementation guide to integrate Tenklo in your app.

To obtain your own production credentials, follow the setup guide linked below.

📚 PostHog (OAuth) Integration Guides

Tenklo maintained guides for common use cases.

Official docs: PostHog OAuth documentation

🧩 Pre-built syncs & actions for PostHog (OAuth)

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

No pre-built syncs or actions available yet.

Not seeing the integration you need? Build your own independently.

On this page