Your community forum is full of real-world answers. Connect a Discourse forum and BeforeQuery indexes topics and replies so the assistant can answer edge-case questions your documentation never covered — with citations linking back to the forum thread.

Prerequisites

  • The base URL of your Discourse forum (e.g. https://community.example.com).
  • For private categories only: a Discourse API key (created by a forum admin under Admin → API). Public forums need no credentials.
  • A BeforeQuery workspace owner role.

Data ingested

One topic, one document:
  • Topic URL and title
  • The opening post, under a ## Question heading
  • The accepted answer, under its own heading where the topic has one
  • Every other reply, numbered in order
Posts are converted from Discourse’s rendered HTML to markdown.

Set up the connector

1

Add the source

In the dashboard, open Knowledge Base → Sources → Add source and choose Discourse. Enter your forum’s base URL.
2

Choose what to index (optional)

Narrow indexing with any of:
  • Categories — only topics in these category slugs (e.g. support).
  • Tags — only topics carrying these tags.
  • Solved topics only — index only topics with an accepted solution.
Turn on Solved topics only. Indexing only threads with an accepted answer keeps quality high by excluding unresolved or speculative discussions.
3

Sync and verify

Click Add to start the first sync, then ask a known community question in the Playground to confirm forum threads show up as citations.

Connection settings

Keeping content in sync

Discourse re-syncs every 10 minutes — there is no schedule to configure, and Sync on the source’s page runs one now if you cannot wait. Only changed content is re-embedded. See Sources Overview.

Troubleshooting

  • Private-category topics missing? Add an admin-scoped API key to the source.
  • Low-quality answers from the forum? Enable Solved topics only and/or restrict to your support category, then re-sync.
  • Want forum content in a separate scope? Put the Discourse source in its own source group so you can include or exclude it per surface.