Linking Clerk as a source

The Clerk connector can link users, organizations, organization memberships, and invitations to PostHog.

To link Clerk:

  1. Go to the sources tab of the data pipeline section in PostHog.

  2. Click + New source and then click Link next to Clerk.

  3. Next, you need a secret key from Clerk. Go to your API keys settings in Clerk. Copy the Secret key value.

  4. Back in PostHog, paste the secret key in the Secret key field and click Next.

  5. On the next page, set up the schemas you want to sync and modify the method and frequency as needed. Once done, click Import.

Once the syncs are complete, you can start using Clerk data in PostHog.

Configuration

OptionTypeRequired
Secret keypasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
users

A user account in the Clerk instance, including identity and authentication details.

Full refresh
organizations

An organization in the Clerk instance that groups users into a shared team.

Full refresh
organization_memberships

A membership linking a user to an organization, with their role in it.

Full refresh
invitations

An invitation sent to an email address to join the Clerk instance.

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.