You can show a course inside a page of your own website, so learners take it without leaving your site. You find the codes in the Share tab of the course.
Embed or iFrame?
Option | Use it when |
Embed | Your site lets you add custom code with scripts. This gives the best result: the course fits the space and each page opens from the top. |
iFrame | Your platform does not allow scripts, for example Notion, Webflow or most LMS pages. |
đĄ On WordPress? See Embedding Courses in WordPress.
Embed a course
Open Courses in the left-hand menu and click your course.
Open the Share tab and choose Embed.
Set the Width and Height (px) if you need to.
Click Copy embed code.
In your website builder, add a custom code or HTML block on the page and paste the code.
â ď¸ A course in draft does not show up on your site. Publish it in the Share tab first.
Use the iFrame code
Open the Share tab of your course and choose iFrame.
Click Copy iFrame code.
Paste it into an HTML or embed block on your page. Change the height in the code if you need more or less space.
Embed a learning path
A learning path has its own codes. Open the path, go to Share âş Widget and choose Embed Widget. You can also open the path from a button as a sidebar or a pop-up window. See Share Your Learning Paths Anywhere Using Widgets.
âšď¸ Widgets are available on the Growth plan and above.
FAQ
I see two scrollbars. What can I do?
This happens with the iFrame code. Use the Embed code instead, or increase the height in the iFrame code.
Can I show more than one course on the same page?
Yes, but do not paste the full embed code twice, because only the first course shows up. Add one box for each course and list the course codes in a single script:
<div style="width: 100%; height: 720px;"><div id="mcg-form-FIRST-COURSE-CODE"></div></div>
<div style="width: 100%; height: 720px;"><div id="mcg-form-SECOND-COURSE-CODE"></div></div>
<script src="https://share.minicoursegenerator.com/viewer.js"></script>
<script>new MiniCourse().init({ code: ["FIRST-COURSE-CODE", "SECOND-COURSE-CODE"] })</script>You find each course code in its own embed code.
Can learners start on the first page instead of the landing page?
Yes. Turn off Show landing page in the Landing page tab of your course.
Can I embed a course that asks learners to sign in?
Yes. With Email verification or Invitation only, learners enter their email and the code they receive inside the embed, and then continue on your site.
Do I need to copy the code again after I edit the course?
No. The embed always shows the latest published version.
I want the course on my own domain, not inside a page. How?
That is a custom domain, not an embed. See Customizing Links with Custom Domain (CNAME).
â Please reach out via the Blue Chat bubble in the bottom right corner of your screen if you have any questions about embedding your courses.

