Documentation
Discourse integration
The Orbit Discourse integration allows you to connect your Discourse instance to Orbit. The integration will automatically create anΒ ActivityΒ for any new topic, new reply, or user account creation, and it will save that Activity to an existing member's profile. If the post is from a person not already associated with your workspace, Orbit will create a new member.
The table below summarizes what is included in this integration:
Activities | - New topic created
- New post created
- New member account created |
Historical Import | - Up to 100,000 posts or 365 days of posts retrospectively from the date of connecting the integration to Orbit |
Does not track or import | - Post likes
- Badge grants |
Initially, Orbit will import the last 12 months of activity with a limit of up to 100,000.Β If you'd like more history, just let us know.
Connect your Discourse account
If you're setting up a new workspace, you'll see the Connect Discourse button during setup.
If you're adding Discourse to an existing workspace, navigate to your workspace settings page, then to theΒ IntegrationsΒ tab and click the Discourse logo in the Plug & Play Integrations section.
Create an API key on Discourse
You need to be a Discourse Admin to setup a new Discourse integration
- In the Discourse Admin interface, go to the API tab and create a new API Key
- Fill out the API Key form as follows
- User Level:Β Single User;
- User:Β your username. If you use any other username, make sure itβs an admin or a moderator. Otherwise we wonβt be able to retrieve your membersβ emails;
- Select "Read-only" Scope
- Save the form and copy the API key
If you have a Discourse group for your teammates, the integration can automatically mark its members as teammates. You can get its ID by visiting the group page and appendingΒ .jsonΒ to the URL.
Configure the new Discourse integration in Orbit
After setting up your API key on Discourse, complete the Orbit form presented during the setup flow.
Connect Webhooks
- In the Discourse Admin interface, go to the API tab andΒ create a new Webhook
- Fill out the Webhook form as follows
- Payload URL and Secret Key - Orbit will provide this during the setup process
- Content Type:Β Application/json;
- Individual events:Β Topic Event, Post EventΒ andΒ User Event;
- Triggered Categories and Triggered Groups:Β leave empty;
- Check TLS certificate of payload URL:Β Checked
- Active:Β Checked
Finally, save the form.
Due to Discourse rate limits, the import will take from several minutes to several hours.
Reporting
Discourse activity will now appear alongside other integrations in your reports.