Skip to main content

Discourse Forum

Integrating Discourse forums as a data source for Kapa enables you to ingest forum posts, topics, and associated metadata from your Discourse community.

This integration lets you provide AI-powered assistance using content from your community discussions and support questions, turning valuable community knowledge into accessible information for all users.

Prerequisites

  • A publicly accessible Discourse forum URL
  • Administrator access (for private forum access)

Data ingested

When you connect Kapa to Discourse, the following data is ingested:

  • Original posts and all replies
  • User IDs (anonymized) and roles
  • Upvotes, reply counts, and acceptance status
  • Creation dates, categories, and tags
  • Answers and comments

Setup

Step 1: Prepare your Discourse forum URL

  1. Identify the URL of your Discourse forum (e.g., https://community.example.com)
  2. Ensure the forum is publicly accessible or you have appropriate credentials

Step 2: Configure the Kapa platform

  1. Go to the Kapa platform
  2. Open the Sources tab
  3. Click Add new source
  4. Enter a name for the integration
  5. Select Discourse Forum, and then click Continue
  6. Enter the URL of your Discourse site
  7. Once your site is validated, configure the content filters
  8. Click Save to create the source and begin the initial data ingestion

Configuration options

The following configuration options are available for the Discourse Forum integration:

OptionDescriptionDefaultRequired
Discourse URLURL of your Discourse forumNoneYes
Post ageChoose how far back to ingest postsAll postsNo
Include only posts marked as solvedOnly import posts marked as solutionsDisabledNo
Include posts without repliesImport posts that haven't received responsesEnabledNo
CategoriesSelect specific categories to includeAll categoriesNo
TagsSelect specific tags to includeAll tagsNo
Include post usernamesLimit ingestion to posts from specific usersAll usersNo
Include post primary group namesLimit ingestion to posts from specific user groupsAll groupsNo
Exclude posts by keywordsExclude posts containing specific keywordsNoneNo
Exclude page elements by classExclude pages containing HTML elements with specific CSS classesNoneNo

Best practices

  • Filter by solved posts: To focus on content with verified solutions, enable the "Include only posts marked as solved" option
  • Target specific categories: Technical support or FAQ categories often contain the most valuable information
  • Consider recency: Older posts may contain outdated information; use the "Post age" filter appropriately
  • Include staff responses: Posts from staff or community managers often contain official, accurate information
  • Review and refine: After initial ingestion, review the content quality and adjust filters accordingly

Troubleshooting

  • Site validation errors: Ensure your Discourse URL is correct and publicly accessible
  • No content appearing: Check that your forum has content matching your filter criteria