Overview
Hotmart is a platform for selling digital products, courses, and memberships. When you integrate Hotmart natively with Teachable, every sale or subscription event in Hotmart can trigger automatic enrollment or unenrollment in your Teachable school.
How it works
Event in Hotmart | Action in Teachable |
New purchase / Subscription reactivation / Subscription plan upgrade | Enroll student into the matched Teachable course |
Subscription cancellation / Purchase refund / Subscription plan downgrade / Purchase chargeback | Unenroll student from the matched Teachable course |
How to set up the integration
To set up the Hotmart and Teachable integration:
Integrate an API Key, connecting your Teachable school to Hotmart
1. Log in to your Teachable school. Go to Settings > API Keys and create a new API key (this screen may look slightly different depending on whether you already have API keys set up for your school).
2. Select a name for your key, and an individual API key will be generated. Always keep your API Key secure. Do not share it or expose it publicly.
3. In a separate tab or window, login to your, log in to your Hotmart account.
4. In the menu on the left-hand side of the screen, go to Tools > Show All.
5. Click on Integrations.
6. Find Teachable's integration.
7. Paste the Teachable API key into the appropriate field and click Integrate to activate the connection between Hotmart and Teachable. You can choose any name for the “Account name” field — this is how you’ll identify the school if you set up more than one Teachable integration.
8. Once it's integrated, it should look like this:
For each school you want to integrate, create a new integration using its respective API key. There’s no limit to the number of integrations you can set up.
Link your Hotmart product to a Teachable course
1. In Hotmart, re-open the menu on the left-hand side of the screen, go to Tools > Show All, and select Teachable.
2. Click Create New Integration.
3. Select the Hotmart product you want to connect. Each Hotmart product can only be mapped to one Teachable course using this integration.
4. Select the Teachable integration (the name shown here is the ‘Account name’ you chose when integrating the API key) and the corresponding course to be enrolled in when this product is purchased. Afterwards, click on Create Integration.
How to test the integration
After setup, run a test to ensure that enrollments and unenrollments are working correctly:
1. In the list of your integrations, click Run test.
2. In the pop-up/modal, confirm by clicking Run test again.
3. If everything is OK, you’ll see a confirmation message.
Disable the integration
You can disable the Hotmart integration at any time. To do so:
1. In Hotmart, open the menu on the left-hand side of the screen, go to Tools > Show All, and select Teachable.
2. Find the integration, select it, and click on Remove integration.
3. Confirm the action.
4. Once removed, your integration won't show up on this page anymore.