
Discourse
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect Discourse to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Connect your Discourse community forum to sync categories, topics, posts, tags, groups, and user stats into the PostHog Data warehouse.
Generate an Admin API key under Admin > API > Keys on your Discourse instance (a key scoped to "Global" access, or scoped to read the tables below, both work). The instance URL is your forum's address, e.g. https://yourforum.discourse.group.
Configuration
| Option | Type | Required |
|---|---|---|
Instance URL | text | Yes |
Admin API key | password | Yes |
API username | text | Yes |
Linking Discourse to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Discourse
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import