# What can the Teachable webhook do?

**URL:** https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598
**Category:** Support
**Created:** [February 2, 2018, 3:38am UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598 "2018-02-02T03:38:06Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![danielw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danielw/32/88795_2.png) [@danielw](https://meta.discourse.org/u/danielw)
#### Post date: [February 2, 2018, 3:38am UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/1 "2018-02-02T03:38:06Z")

</div>

Hi everyone,

I’m new to Discourse: it looks fantastic. I want to create a forum for an online course I’m running on Teachable. Can I do something clever with the webhook to automatically register my students for the forum, or something like that?

PS I’ve created webhooks before, with Zapier, but overall I am a real beginner with them. I read the page about webhooks and creating a bot in git, but I didn’t really understand how to relate it to Teachable.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [February 2, 2018, 5:10am UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/2 "2018-02-02T05:10:21Z")

</div>

If you want to have users from Teachable in Discourse, you’re best off just implementing single sign-on (SSO), which Discourse is very strong on. There are a variety of protocols for it, you’d need to dig into Teachable to see what it’s capable of.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [February 2, 2018, 6:14am UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/3 "2018-02-02T06:14:29Z")

</div>

We have a Teachable endpoint on a plugin available at our hosting, here is how to set it up:

> **[Integrating Teachable with Discourse - Communiteq](https://www.communiteq.com/discoursehosting/kb/integrating-teachable-with-discourse/)**
>
> 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....

@mpalmer Teachable is not-so-strong on SSO, so we currently use the Teachable webhooks to invite people over to Discourse.

---

<div class="post-metadata">

### Author: ![EddieC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eddiec/32/96009_2.png) [@EddieC](https://meta.discourse.org/u/EddieC)
#### Post date: [May 6, 2018, 3:52pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/4 "2018-05-06T15:52:51Z")

</div>

@danielw I’m curious if you found a solution that works for you. I’m asking because I will have to do same thing soon…

---

<div class="post-metadata">

### Author: ![mgandy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mgandy/32/118015_2.png) [@mgandy](https://meta.discourse.org/u/mgandy)
#### Post date: [March 17, 2019, 9:24pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/5 "2019-03-17T21:24:26Z")

</div>

Do you have a similar plugin for Thinkific?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [March 18, 2019, 8:42pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/6 "2019-03-18T20:42:00Z")

</div>

No - we could develop one as a bespoke project.  
It would be a bit limited though since Thinkific lacks webhooks for some events, like customer cancellation.  
If you’re interested, please send me a PM.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [April 23, 2019, 3:22pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/7 "2019-04-23T15:22:15Z")

</div>

We have now added support for the New Enrollment event, which can be set up in the same way as described [on our site](https://www.communiteq.com/kb/integrating-teachable-with-discourse/).

The New Enrollment event does need some additional configuration on Discourse side:

- You’ll need to create a category with the same name as your course;
- don’t forget to edit the welcome topic for the category!
- then you’ll need to create a group with the same (full) name as your course
- go to the category security permissions and add that group with create/reply/see permissions (and you will probably want to remove the permissions for the ‘everyone’ group).

When a user enrolls in your course, they will be added to the group (which will grant them access to the category), and invited to the welcome topic of the category.

You can use the New Enrollment webhook next to the New User webhook, but you can also choose to use the New Enrollment webhook only.

---

<div class="post-metadata">

### Author: ![cgcs](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cgcs](https://meta.discourse.org/u/cgcs)
#### Post date: [October 13, 2019, 8:34pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/8 "2019-10-13T20:34:37Z")

</div>

Has anyone had luck finding a solution to the teachable/[discourse SSO](https://meta.discourse.org/t/13045?silent=true) issue or a way to auto-register users?

[Communiteq](https://www.communiteq.com) (formerly DiscourseHosting)'s solution sounds like it would work but I’m already hosted somewhere else. Any help is appreciated.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [October 13, 2019, 9:23pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/9 "2019-10-13T21:23:18Z")

</div>

> [@cgcs](#):
>
> [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting)’s solution sounds like it would work but I’m already hosted somewhere else.

Actually - it works pretty well and it does the embedding too.  
We can help you move 🙂

---

<div class="post-metadata">

### Author: ![cgcs](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cgcs](https://meta.discourse.org/u/cgcs)
#### Post date: [October 13, 2019, 9:59pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/10 "2019-10-13T21:59:25Z")

</div>

😁 I’ll talk to the team and consider it. For clarification does this plugin just sign up and invite users or will it keep them signed in when the forum is embedded.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [October 14, 2019, 9:02pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/11 "2019-10-14T21:02:58Z")

</div>

It does not keep the users logged in (not any more than Discourse already does). Teachable does not support that, unfortunately.

The plugin also assigns users to a group corresponding to a specific course, so you can have different categories for different courses.

---

<div class="post-metadata">

### Author: ![DanW](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@DanW](https://meta.discourse.org/u/DanW)
#### Post date: [January 8, 2021, 5:11pm UTC](https://meta.discourse.org/t/what-can-the-teachable-webhook-do/79598/12 "2021-01-08T17:11:37Z")

</div>

Is there a way to use this webhook and ONLY add people to a group? We have people from different courses we want in the same Category.

We want to use this webhook to add people to groups and we will take it from there.

Any way to do that??
