# Create a Course with AI

### Overview

The AI course creation tool aides the instructional design process, allowing admins and instructors to transform prompts and raw files into structured learning experiences in minutes.

To use this feature, specific administrative settings must be enabled:

* **Create with AI**: Navigate to **Admin Portal > Domain > AI Settings** and toggle Create with AI to ON.
* **Learn Module**: Ensure the Learn module is enabled under **Admin Portal > Domain > Modules**.

***

### Creating a Full Course

Network Admins and LMS Admins can generate comprehensive course drafts from the global Compose menu or directly from the Files module.

**Prompt-Based Generation**: Provide a prompt (up to 2,000 characters) or use one of the out-of-the-box prompt templates.

<figure><img src="/files/s425oG4qU8aN49KfHJhm" alt="" width="495"><figcaption></figcaption></figure>

**File-to-Chapter Conversion**: Attach up to 10 files (max 100MB each). The AI automatically converts each file into a specific chapter type:

* **DOCX/Google Docs**: Content chapters with structured text and AI-generated images.
* **PDF/PPTX**: Presentation chapters.
* **Video (MP4/WAV)**: Video chapters with auto-generated transcripts (for videos under 60 minutes).
* **Automated Quizzes**: In the Advanced Quiz Settings, choose to generate quizzes after each chapter or a cumulative quiz at the end of the course.

{% hint style="info" %}
Course generation happens in the background. You will receive a private message from the MangoApps Helper once your course is ready for review. You may **only** have one active AI course request at a time.
{% endhint %}

***

### Creating Individual Chapters

Instructors and Admins can use AI to add specific chapters to an existing course via the Add Chapter dialog.

<figure><img src="/files/BiHYIlr3QQ925mphA2pE" alt="" width="563"><figcaption></figcaption></figure>

1. Select Create with AI within the course editor.
2. Choose Content Chapter or Quiz Chapter.
3. Provide a prompt or upload a reference document (DOCX/Google Doc only).
4. The AI generates a title, description, and formatted text blocks while automatically stripping PII/PHI data for security.

{% hint style="warning" %}
This feature is **only** available for Content and Quiz chapters.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.mangoapps.com/lms-guide/learn-admin/creating-course-experience/instructor-experience/create-a-course-with-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
