Skip to main content

Prerequisites

  • A PostHog account with a personal API key.
  • A datasource already configured in Mora.

Required fields

FieldDescriptionExample
NameA display name for this connection.PostHog production
SchemaThe schema name where tables will be created. Letters and underscores only.posthog
DomainYour PostHog instance region — US (app.posthog.com) or EU (eu.posthog.com).US
API KeyA PostHog personal API key.phc_XXXX...

Steps

  1. Open Settings → Connections → New.
  2. Select PostHog.
  3. Fill in the fields above.
  4. Click Create.
Mora will begin syncing your PostHog data into the specified schema. Once the initial sync completes, you can query PostHog tables from any dataset.

Getting your API key

  1. In PostHog, go to Settings → Personal API Keys.
  2. Click Create personal API key.
  3. Copy the key and paste it into Mora.