> For the complete documentation index, see [llms.txt](https://docs.stylemixthemes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/udemy-course-importer.md).

# Udemy Course Importer

{% embed url="<https://www.youtube.com/watch?t=1379s&v=98LKgphFSCY>" %}

Do you want to import courses from Udemy and display them on your website? You can enable the Udemy Course Importer addon in the **MasterStudy LMS Settings > Addons** section of the WordPress dashboard menu. You need to click on the "**Enable Addon**" and a gear icon appears over the image of the addon where you can set up Udemy Settings and import courses.

![](https://gblobscdn.gitbook.com/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MSShqYZD-Q24p5g7w8P%2F-MSW-fnY-BqQIC7Yk4mU%2Fudemy.png?alt=media\&token=f4c6c747-1282-4b49-9a1a-98ff7ce15326)

In the Credentials tab of the MasterStudy LMS Udemy Settings section, you need to add your [client ID](https://www.udemy.com/user/edit-api-clients/), [Secret API keys](https://www.udemy.com/user/edit-api-clients/), and [Udemy Rakuten Affiliate script](https://cli.linksynergy.com/cli/publisher/portfolio/automate/automate.php).

![](https://gblobscdn.gitbook.com/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MSShqYZD-Q24p5g7w8P%2F-MSW0AmumQmVz-9MxPi-%2Fudemy1.png?alt=media\&token=1322da08-db89-4ae5-9755-2e1b51bdc89e)

## Udemy API Client <a href="#udemycourseimporter-udemyapiclient" id="udemycourseimporter-udemyapiclient"></a>

You need to click on the [**Udemy API**](https://www.udemy.com/user/edit-api-clients/) link in order to get your Udemy credentials.

![](https://gblobscdn.gitbook.com/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MTZEStM40EXQ_QxPkg4%2F-MTZIAVjuZ1DxFBQggvz%2FScreenshot_162.png?alt=media\&token=976ef5f4-936d-4b5d-ae62-373213210b4f)

When your API Client request is approved, API credentials will be available in the API Clients section.

![](https://gblobscdn.gitbook.com/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MTZEStM40EXQ_QxPkg4%2F-MTZIISCZQTTkESVnVIi%2Fbobby_udemy.png?alt=media\&token=bb8e5ae8-6394-4b97-8c1e-43335f858828)

## Udemy Rakuten Affiliate script <a href="#udemycourseimporter-udemyrakutenaffiliatescript" id="udemycourseimporter-udemyrakutenaffiliatescript"></a>

For the **Udemy Rakuten Affiliate** script, you need to register on the Rakuten Marketing website and generate a unique Rakuten Automate script.

![](https://support.stylemixthemes.com/storage/stm-manuals/April2020/udemy-8.png)

Here you can read more about the Rakuten Automate tool - [**https://blog.rakutenmarketing.com/news/attention-publishers-announcing-automate-new-deep-linking-tool/**](https://blog.rakutenmarketing.com/news/attention-publishers-announcing-automate-new-deep-linking-tool/).

## Import and manage Udemy courses <a href="#udemycourseimporter-importandmanageudemycourses" id="udemycourseimporter-importandmanageudemycourses"></a>

After adding Udemy API credentials, you will be able to search and import Udemy courses in the Search tab.

![](https://gblobscdn.gitbook.com/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MSShqYZD-Q24p5g7w8P%2F-MSW0LkoP7I1t75oXsOd%2Fudemy2.png?alt=media\&token=e7f4b3f6-4b07-4c8c-a967-7a6343132573)

The Imported Courses tab contains options for managing your imported courses.

![](https://gblobscdn.gitbook.com/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MSShqYZD-Q24p5g7w8P%2F-MSW0XOQzzIRXFefmqpy%2Fudemy3.png?alt=media\&token=e7eea222-e6f4-4db9-aef6-03fc87248e8d)

Your customers will be able to get published courses on Udemy from your website.

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FhSyGYbKGzQ4974AxJwyv%2Fimage.png?alt=media&amp;token=52894e0f-4ad1-4648-af34-6ec6c40cbe87" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/udemy-course-importer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
