Skip to main content

Discourse

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview

Discourse is a modern, open-source discussion platform. It's used for community forums, customer support, and team discussions. The API allows you to manage topics, posts, users, and more.

Authentication Type

API Key

Setup Instructions

Step 1: Access Your Discourse Instance

  1. Log in to your Discourse forum as an admin
  2. Access the admin panel

Step 2: Create an API Key

  1. Go to Admin > API > API Keys
  2. Click New API Key
  3. Configure the key:
    • Select a user (typically 'system' for full access)
    • Choose scope (global or specific)
  4. Copy the generated API key

Step 3: Add to Nirvai

  1. In Nirvai, go to Credentials
  2. Select Discourse API
  3. Enter your:
    • Discourse URL (e.g., https://community.example.com)
    • API Key
    • API Username (typically 'system')
  4. Save the credential

Common Use Cases

  • Create and manage topics
  • Post replies and comments
  • User management
  • Category administration

API Documentation

Discourse API Documentation


Next Steps

Got your credential? Connect it to an agent

Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.