The integration consists of two steps; automatically inviting new Teachable registrants to join your Discourse forum (no additional forms to fill out);
and an optional step to automatically add discussion topics to Discourse. See more details below.
Automatically inviting new users to the forum
We are going to set up a webhook so new users in Teachable will get an invitation to join your forum.
This can be done using Zapier, but in case you are hosting your forum with DiscourseHosting you won’t be needing Zapier, since we provide the webhook endpoint ourselves.
A DiscourseHosting forum starts at only $20 per month – that’s the same as you’ll save when you don’t need to pay for Zapier any more!
With your DiscourseHosting hosted forum
1) First of all, log in to your forum and go to the Plugins menu. Scroll down and click the Settings button next to the Teachable plugin.
2) You will be taken to the plugin configuration screen:
3) Then, enable the plugin and optionally modify the other two settings: enter the welcome text that is sent in the email, and set the user that will be sending the emails. If you do not choose a user, the mails will be sent by the first admin user of your forum.
You’re going to need the “secret” value later, we’ll get back to that in a moment.
4) Next step is to configure the webhook on Teachable side. Log in into your Teachable environment and go to Settings by clicking on the Cog in the lower left side. Then select Webhooks in the menu. You will be taken to the webhook configuration screen.
5) Click the “New Webhook” button and fill in the URL. That consists of three parts.
- The first part is the address of your forum.
- The second part is
- And the third part is the ‘teachable webhooks secret’ that you copied from the Discourse forum Settings area, as shown below:
The Event Trigger should be set to New User, as shown below:
Now you have successfully connected Discourse and your users will receive invitations to the forum once they sign up for your Teachable course.
Once the first invitation has been sent the “Pending” in the webhooks screen will change to “Verified”.
This is an optional step.
In order to embed discussions, you will need to configure things on both sides.
1) So let’s first go back to Discourse, go to Admin – Customize – Embedding and click “Add Host”:
2) Enter the URL of your Teachable environment, choose the category where you want posts to be created, and click the checkmark.
3) An important step that you should not forget: scroll down and enter the username that will be used in order to create the topics in Discourse.
4) And finally, head back to Teachable, go to Site, Code Snippets, Logged in,
5) Copy the code snippet below and fill in the URL of your forum on the third line.
6) When you copied the code and changed the third line, press the Save button.
7) And that’s all there is to it. Now your lectures will show a ‘Start Discussion’ link that will take people to the forum so they can discuss the lecture.
“One Moment” is a registered trademark of the One Moment Company, LLC.