Home IntegrationsHow to natively integrate Hotmart and Teachable

Find your question in the Help Center

How to natively integrate Hotmart and Teachable

This integration is useful when you sell your products through Hotmart but use Teachable to distribute your content. In this way, when a user purchases a product at Hotmart, they'll be enrolled in a course on Teachable and similarly, when they cancel a subscription, for example, they'll be unenrolled from the course.

The events considered for registration are:

  • Purchase approved
  • Subscription reactivation
  • Plan change

The events considered for deregistration are:

  • Subscription cancellation
  • Chargeback
  • Purchase overdue
  • Purchase refunded
  • Plan change

The integration between Hotmart and Teachable is done in 3 steps:

1. Creating an API key

The integration with Teachable uses API keys, an automatic authenticating method between applications that allows your online accounts to communicate with each other, exchanging information triggered by an action.

Each school on Teachable has a unique API key.

Follow the steps below to create a key:

  1. Access page Settings > API on your school's dashboard on Teachable. (Note that this page is only available to school owners).
  2. Next, click on Create API Key.
  3. In the pop-up window, enter the name your API key.
  4. Click on Create.
  5. Click on View key and copy the API key.


Another reference for creating the access key can be found on Teachable's website: https://docs.teachable.com/docs/quickstart-guide

2. Configuring the access key on Hotmart

Now that the API key has been created, we need to give the Hotmart app permission to connect with your Teachable school. To do this, follow the steps below:

  1. Access the following page: https://app-vlc.hotmart.com/tools/manage/integrations
  2. Look for the Teachable tool. You can filter by category Members Area
  3. Name the integration
  4. Paste the API Keygenerated on Teachable in the specific field
  5. Click on Integrate now


3. Integrate a Hotmart product with a Teachable course

Now that we've configured the Hotmart app to access your Teachable school, we need to configure the integration. To do so, follow these steps:

  1. Access the following page: https://app-vlc.hotmart.com/tools/teachable
  2. Click the button: Create new integration
  3. Select the product on Hotmart. Note: You can only configure one product at a time
  4. Click on Continue
  5. Select the integration, set up in Integrating a Hotmart product with a Teachable course
  6. Select the course. Note: You're only allowed to set up the course once.
  7. Click on Create integration
It's important to keep your API key secure. Don't share your API key with others.

After creating the integration, you can perform a test.

It is important to note that the student's enrollment and unenrollment in the Teachable course will be carried out in sequence. Thus, when you access the Teachable dashboard, you will not be able to see the student enrolled in the course. However, you'll be able to see them in the user list.

To do so, follow these steps:

  1. In the list of settings, click on Run test
  2. In the modal, click on Run test
  3. If the configuration is ok, you'll see something similar to this:


If you have questions regarding this issue, we suggest you contact our customer support with the subject HOTMART and TEACHABLE INTEGRATION, so we can help you.

Do you need to talk to us?

If you have any further questions, please contact us and we'll get back to you as soon as possible