Moodle Integration Guide: Add AI Chatbots to Your LMS

Moodle powers over 400 million users worldwide, yet most training centers still rely on manual support for learner questions. Adding an AI chatbot to Moodle can reduce support tickets by 70% while providing 24/7 assistance. This guide covers every integration method — from native plugins to LTI 1.3 — so you can choose the right approach for your organization.
Related Guides
1. Why Add a Chatbot to Moodle?
Moodle administrators and training managers face a common challenge: learners expect instant answers, but support teams can't scale infinitely. An AI chatbot trained on your course content bridges this gap.
The Support Problem in Moodle
What a Moodle AI Chatbot Can Do
- Answer course questions 24/7: "When is assignment 2 due?" "What topics are covered in Module 3?"
- Navigate the LMS: "Where do I find the discussion forum?" "How do I submit my project?"
- Explain course concepts: Using RAG (Retrieval-Augmented Generation), the chatbot retrieves relevant content from your materials
- Reduce admin workload: Handle password resets, enrollment questions, and policy clarifications
- Track learner engagement: Analytics on what questions learners ask most frequently
Real Impact
Training centers using AI chatbots in Moodle report 60-80% reduction in support tickets and 40% improvement in learner satisfaction scores. The ROI typically shows within the first month.
2. Integration Methods Compared
There are three main ways to add a chatbot to Moodle. Each has trade-offs between ease of setup, features, and control.
| Method | Best For | Setup Time | User Context | Admin Access |
|---|---|---|---|---|
| LTI 1.3 External Tool | Enterprise, multi-course | 30 min | ✓ Full | ✓ Required |
| Native Moodle Plugin | Self-hosted, full control | 1-2 hours | ✓ Full | ✓ Required |
| Embedded Widget (iframe) | Quick test, no admin | 5 min | ✗ Limited | ✗ Not needed |
Which Method Should You Choose?
- LTI 1.3 (Recommended): The industry standard for LMS integrations. Passes user identity securely, works at course or site level, and requires no plugin installation.
- Native Plugin: Best when you need deep Moodle integration or want to self-host the AI. Requires server access and technical expertise.
- Embedded Widget: Fastest to test but limited functionality. Good for proof-of-concept before committing to full integration.
3. LTI 1.3 Integration (Step-by-Step)
LTI (Learning Tools Interoperability) 1.3 is the most secure and feature-rich way to add an external chatbot to Moodle. Here's how to set it up with Criterium (or any LTI 1.3 compatible chatbot).
Prerequisites
- Moodle 3.7+ (LTI 1.3 support required)
- Site Administrator or Manager role
- Your chatbot provider's LTI credentials (Client ID, Deployment ID, URLs)
Step 1: Configure External Tool in Moodle
- Go to Site Administration → Plugins → Activity modules → External tool → Manage tools
- Click "Configure a tool manually"
- Fill in the basic settings:
- Tool name: AI Course Assistant (or your preferred name)
- Tool URL: Your chatbot's LTI launch URL
- LTI version: LTI 1.3
Step 2: Configure LTI 1.3 Security
- In the tool configuration, locate the Public keyset URL and Initiate login URL fields
- Enter the values provided by your chatbot vendor
- Set Default launch container to "Embed" or "New window" based on preference
- Under Privacy, enable:
- Share launcher's name with tool
- Share launcher's email with tool
- Accept grades from the tool (optional)
Step 3: Add to Courses
- Navigate to your course and enable Edit mode
- Click "Add an activity or resource"
- Select "External tool"
- Choose your configured AI chatbot from the preconfigured tools dropdown
- Save and display to test the integration
Pro Tip: Site-Wide Deployment
For organization-wide rollout, add the chatbot as a block in the default dashboard or configure it at the category level to automatically appear in all courses within that category.
4. Native Moodle AI Plugins
If you prefer a native plugin approach, several options exist in the Moodle plugins directory. Here's how they compare:
| Plugin | RAG Support | Course Content | Self-Hosted | Notes |
|---|---|---|---|---|
| AI Chat Block | Planned | ✗ | ✓ | Basic ChatGPT integration, persona support |
| OpenAI Chat Block | ✗ | ✗ | ✓ | Direct OpenAI API, no content training |
| Raison AI (Corolair) | ✓ | ✓ | ✗ | French Azure servers, quiz generation |
| Asyntai | ✓ | ✓ | ✗ | Quick setup, Moodle-aware responses |
| MAICI | ✓ | ✓ | ✓ | Open source, document upload per activity |
Plugin Installation Steps
- Download the plugin ZIP from moodle.org/plugins
- Go to Site Administration → Plugins → Install plugins
- Upload the ZIP file and click "Install plugin from ZIP file"
- Follow the configuration wizard to enter API keys and settings
- Add the block to your dashboard or course pages
5. Training Your Chatbot on Course Content
A generic ChatGPT integration won't know your course schedule, policies, or specific content. Training the AI on your materials is what makes it actually useful.
What Content to Include
High Priority
- ✓ Course syllabus and schedule
- ✓ Assignment instructions and rubrics
- ✓ FAQ documents
- ✓ Policies (grading, attendance, deadlines)
- ✓ Navigation guides
Content for Explanation
- ✓ Lecture slides and notes
- ✓ Reading materials
- ✓ Video transcripts
- ✓ Glossaries and definitions
- ✓ Example problems with solutions
RAG: How Content Training Works
Modern AI chatbots use Retrieval-Augmented Generation (RAG) to answer questions from your content:
- Chunking: Your documents are split into searchable segments
- Embedding: Each chunk is converted to a vector representation
- Retrieval: When a learner asks a question, relevant chunks are found
- Generation: The AI uses retrieved content to formulate an accurate answer
This approach ensures the chatbot cites your actual course materials rather than making up answers — critical for educational accuracy.
6. Best Practices for Moodle Chatbots
1. Set Clear Expectations
Let learners know what the chatbot can and can't do. Include a welcome message like:
"I'm your AI course assistant. I can answer questions about course content, deadlines, and navigation. For grade disputes or personal matters, please contact your instructor directly."
2. Monitor and Improve
- Review unanswered questions weekly and add content to fill gaps
- Track most frequent questions to identify course pain points
- Update content when syllabi or policies change
3. Enable Human Escalation
Always provide a clear path to human support. Configure the chatbot to suggest contacting the instructor or support team when it can't answer confidently.
4. Respect Privacy
- Ensure GDPR/FERPA compliance for student data
- Choose providers with EU data residency if required
- Don't train the chatbot on student submissions or grades
7. Troubleshooting Common Issues
LTI Launch Fails
- Check URLs: Ensure launch URL, keyset URL, and login URL are exactly as provided
- HTTPS required: Both Moodle and the tool must use HTTPS
- Clock sync: LTI 1.3 tokens are time-sensitive. Ensure server clocks are synchronized
Chatbot Doesn't Know Course Content
- Content not uploaded: Verify your materials were successfully processed
- Wrong course context: Ensure the chatbot is associated with the correct course
- Stale content: Re-sync if you've updated course materials recently
Users Not Identified
- Privacy settings: Check that "Share launcher's name/email" is enabled in tool config
- User role: Some tools require specific Moodle roles to pass user data
8. Frequently Asked Questions
Does the chatbot work with Moodle 4.x?
Yes. LTI 1.3 is fully supported in Moodle 4.0 and above. Most native plugins are also compatible with Moodle 4.x. Check the specific plugin's compatibility list on moodle.org.
Can I use the chatbot across multiple courses?
Yes. With LTI, you can configure the tool at the site level and add it to any course. Each course can have its own trained content while sharing the same integration.
How much does a Moodle AI chatbot cost?
Pricing varies widely. Native plugins like OpenAI Chat Block are free but require your own API key (~$0.002 per message). SaaS solutions like Criterium charge per active user (from €5/user/month) with unlimited messages included.
Is the chatbot GDPR compliant?
It depends on the provider. Look for: EU data residency, data processing agreements (DPA), no training on user conversations, and clear data retention policies. Criterium is fully GDPR compliant with data stored in EU data centers.
Can learners chat from the Moodle mobile app?
LTI tools work in the Moodle app, though the experience varies. For the best mobile experience, choose a chatbot with a responsive design or dedicated mobile support.
Ready to Add AI to Your Moodle?
Criterium integrates with Moodle via LTI 1.3 in under 30 minutes. Train it on your course content and reduce support tickets by 70%.
Ready to add AI to your LMS?
Create a free account and have your AI assistant running in 5 minutes.
Get started free