Prerequisites
- A PostHog account with a personal API key.
- A datasource already configured in Mora.
Required fields
| Field | Description | Example |
|---|---|---|
| Name | A display name for this connection. | PostHog production |
| Schema | The schema name where tables will be created. Letters and underscores only. | posthog |
| Domain | Your PostHog instance region — US (app.posthog.com) or EU (eu.posthog.com). | US |
| API Key | A PostHog personal API key. | phc_XXXX... |
Steps
- Open Settings → Connections → New.
- Select PostHog.
- Fill in the fields above.
- Click Create.
Getting your API key
- In PostHog, go to Settings → Personal API Keys.
- Click Create personal API key.
- Copy the key and paste it into Mora.