> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mora.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PostHog

> Sync PostHog product analytics data into your warehouse.

## Prerequisites

* A PostHog account with a **personal API key**.
* A [datasource](/datasources/overview) 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

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.

## Related

* [Managing connections](/connections/manage)
* [Connections overview](/connections/overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.