Discourse

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.

Learn more
PostHog Wizard hedgehog

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

OptionTypeRequired
Instance URLtextYes
Admin API keypasswordYes
API usernametextYes

Linking Discourse to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Discourse
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Community questions