# Moodle LMS + MentorAI Integration > Source: https://ibl.ai/resources/integrations/moodle-mentorai *Bring personalized AI tutoring and mentoring directly into your Moodle courses — without replacing your existing infrastructure.* Moodle is the world's most widely deployed open-source LMS, trusted by thousands of institutions for flexible, self-hosted course delivery. Adding ibl.ai MentorAI transforms Moodle into an AI-powered learning environment where every learner receives on-demand, context-aware tutoring aligned to their enrolled courses. MentorAI agents are purpose-built for education — not generic chatbots. Each agent understands course content, learning objectives, and learner history, enabling it to answer questions, explain concepts, and guide students through challenges in real time. Because ibl.ai runs on your infrastructure, your institution owns the agents, the data, and the experience. There is no vendor lock-in, and the integration is fully FERPA-compliant by design. ## Capabilities ### Context-Aware AI Tutoring MentorAI answers learner questions using your actual Moodle course content as its knowledge base, ensuring responses are accurate, relevant, and aligned to your curriculum — not generic web results. ### Always-On Learner Support Learners access MentorAI 24/7 directly inside Moodle, reducing support burden on instructors while ensuring no learner is left waiting for help outside office hours. ### Personalized Learning Pathways MentorAI tracks each learner's interaction history and adapts its guidance, hints, and explanations to individual knowledge gaps and learning pace within the course. ### Gradebook and Progress Integration Formative interactions and completion signals from MentorAI sync back to Moodle's gradebook, giving instructors a unified view of learner progress without leaving their LMS. ### Institution-Owned AI Agents Your MentorAI agents run on your infrastructure. Your institution owns the code, data, and agent behavior — with zero dependency on ibl.ai's servers for day-to-day operation. ### Multilingual and Accessible Support MentorAI supports multilingual learner interactions and is designed to meet accessibility standards, making personalized tutoring available to diverse global learner populations. ## Setup ### Step 1: Provision Your MentorAI Instance (~1-2 days) Work with ibl.ai to deploy a MentorAI instance on your institution's infrastructure or preferred cloud environment. Configure your LLM backend, data residency settings, and compliance policies before connecting to Moodle. Requirements: - ibl.ai platform license - Cloud or on-premise server meeting ibl.ai system requirements - Designated institutional admin account ### Step 2: Register MentorAI as an LTI 1.3 Tool in Moodle (~30-60 minutes) In Moodle Site Administration, navigate to Plugins > External Tools and register MentorAI using the LTI 1.3 credentials provided by ibl.ai. Configure the tool URL, client ID, and public keyset URL. Requirements: - Moodle Site Administrator access - MentorAI LTI 1.3 client credentials from ibl.ai - Moodle 3.9 or higher ### Step 3: Ingest Course Content into MentorAI Knowledge Base (~2-4 hours per course) Upload or sync course materials — syllabi, readings, slides, and assessments — into the ibl.ai Knowledge Base. MentorAI indexes this content so agents can provide course-grounded, accurate responses to learners. Requirements: - Course content in PDF, DOCX, HTML, or SCORM format - Access to ibl.ai admin dashboard - Content organized by course or cohort ### Step 4: Add MentorAI Activity to Moodle Courses (~15-30 minutes per course) Inside each Moodle course, add MentorAI as an External Tool activity using Deep Linking. Configure the agent persona, scope, and availability windows to match your course design and learner needs. Requirements: - Course instructor or admin role in Moodle - MentorAI tool registered in step 2 - Course content ingested in step 3 ### Step 5: Configure Analytics and Gradebook Sync (~1-2 hours) Enable xAPI statement forwarding from MentorAI to your Learning Record Store and configure the Moodle REST API connection to push completion and engagement data back into Moodle's gradebook and reporting. Requirements: - Moodle REST API token with gradebook write permissions - LRS endpoint (optional) - ibl.ai analytics configuration panel access ### Step 6: Pilot, Test, and Roll Out (~1-2 weeks) Run a pilot with a small learner cohort to validate agent responses, data flows, and gradebook sync. Gather feedback, refine agent knowledge and persona settings, then roll out to all enrolled learners. Requirements: - Pilot cohort of 10-50 learners - Feedback collection mechanism - ibl.ai support contact for tuning ## Technical Requirements **Moodle Environment:** - Moodle 3.9 or higher (Moodle 4.x recommended) - LTI 1.3 and LTI Advantage enabled - REST API enabled with appropriate token permissions - HTTPS enforced on Moodle instance - Moodle cron jobs running for batch data sync **ibl.ai MentorAI Platform:** - ibl.ai platform license (cloud or self-hosted) - Minimum 8 vCPU, 32 GB RAM for self-hosted deployment - LLM backend configured (OpenAI, Azure OpenAI, or on-premise model) - Vector database provisioned for knowledge base indexing - Network access between Moodle server and MentorAI instance **Security and Compliance:** - FERPA data handling agreement with ibl.ai in place - Data residency configured to institutional requirements - SSO / OIDC identity provider integration (optional but recommended) - TLS 1.2 or higher for all data in transit - Role-based access control configured in ibl.ai admin dashboard ## FAQ **Q: Does MentorAI replace Moodle or require migrating to a new LMS?** No. MentorAI integrates directly into your existing Moodle environment via LTI 1.3. Learners and instructors continue using Moodle as normal — MentorAI appears as an activity within courses. No migration is required. **Q: Is the Moodle and MentorAI integration FERPA compliant?** Yes. ibl.ai is designed FERPA-compliant by default. Because MentorAI runs on your institution's infrastructure, learner data never leaves your environment without your explicit configuration. ibl.ai signs a FERPA-compliant data processing agreement as part of onboarding. **Q: Can MentorAI answer questions based on our specific Moodle course content?** Yes. Before deployment, your course materials — syllabi, readings, slides, and assessments — are ingested into MentorAI's knowledge base. The agent uses retrieval-augmented generation (RAG) to ground every response in your actual course content, not generic internet data. **Q: How does MentorAI data appear back in Moodle for instructors?** MentorAI sends interaction summaries, engagement metrics, and completion signals back to Moodle via the REST API and xAPI. Instructors can view this data in Moodle's gradebook and activity reports alongside other course data. **Q: What Moodle version is required for this integration?** Moodle 3.9 or higher is required, with Moodle 4.x recommended for full LTI 1.3 Advantage support. Your Moodle instance must have HTTPS enabled and the External Tools plugin active. **Q: Can we deploy MentorAI on our own servers rather than ibl.ai's cloud?** Yes. ibl.ai's zero vendor lock-in model means MentorAI can be fully deployed on your institution's on-premise servers or your preferred cloud provider. You own the infrastructure, the agent code, and all learner data. **Q: How long does it take to set up the Moodle and MentorAI integration?** Initial technical setup — LTI registration, content ingestion, and gradebook sync — typically takes 2 to 5 business days. A full pilot with a learner cohort is recommended over 1 to 2 weeks before institution-wide rollout. **Q: Can different Moodle courses have different MentorAI agent personas?** Yes. Each Moodle course can be configured with a distinct MentorAI agent persona, knowledge base scope, and behavioral guidelines. A biology course agent and a business writing agent can have entirely different tones, constraints, and content sources.