Find Your Discourse Domain
Your Discourse domain is the base URL of your Discourse instance (e.g., community.example.com).
Generate an API Key
Create an API key from the Discourse admin panel to authenticate API requests.
Navigate to API Keys
Log in as an admin, click Admin in the left sidebar, then go to Advanced > API keys (or navigate to /admin/api/keys).
Create a new key
Click Add API key.
- Set a Description (e.g., “StackOne Integration”).
- Set User Level to All Users for global access, or select a specific user.
- Set Scope to Global to allow full access to all API endpoints.
- Click Save to generate the key.
Determine the API Username
The Api-Username header identifies which user the API requests are made on behalf of.
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Domain
- API Key
- API Username
If the account linking is successful, you will see the newly linked account in your Accounts page.