Moodle AI provider configuration starts with what leaves your server
Before turning on AI features for teachers, a Moodle site owner needs to know which prompts, course content and user data leave the server and which provider receives them. Provider configuration decides that answer, so it comes before any placement is enabled. With Moodle 5.3, Anthropic's Claude is available as an AI provider plugin alongside whatever providers the site already uses, which makes provider choice a per-site decision with its own version prerequisites. The Moodle 5.3 release notes at Moodle 5.3 release notes are the starting point for confirming what that release supports.
Provider choice does not work in isolation. Each AI placement, the feature point in Moodle where a teacher or user can trigger an AI action, sends a different slice of data, and the provider, placement, data scope, usage cost and teacher permissions all interact. A provider that is acceptable for one placement may not be acceptable for another. The facts available here do not list every placement, default setting or data field each provider receives, so the site owner must confirm those against the documentation for the exact Moodle version in use, and against the provider's own data processing terms, before anything is enabled.
Treat the first rollout as a review exercise. Record which providers are enabled, which placements are switched on, which roles can use them and what content those actions can reach. Ask the provider for its data retention, training and regional processing commitments in writing, and ask your privacy and compliance reviewers to sign off on the list. Usage is billed by the provider, so agree on a spending limit or monitoring before teachers gain access. Starting with a small set of placements and a pilot group of teachers makes it far easier to check what was actually sent.
Which Moodle parts an AI provider setup touches
An AI provider setup in Moodle is not one switch. It spans provider plugins, the places where AI features appear, site settings that hold credentials, the capabilities that grant access, and the logs that record use. Each part needs its own decision, and each depends on the release notes for the Moodle version you actually run.
AI provider plugins
Provider plugins connect Moodle to an external or self-hosted AI service. Each one defines which service receives requests, which models are offered, and what the request payload contains. Confirm in the release notes for your installed version which provider plugins are bundled and which must be installed separately, and check whether each is supported on your version. Treat every provider as a separate data flow for your privacy review.
Moodle 5.3 notesAI placements in the interface
Placements are the points in Moodle where AI features appear, such as text help in the editor or summaries offered to users. Each placement can be enabled or disabled separately, so the set you turn on determines where course content and user input leave the site. List the placements available on your version and decide which ones staff and students can see before enabling any provider.
Site administration and credentials
Provider settings sit in site administration, where you enable a provider and enter its API credentials. These keys grant access to a paid external account, so they are a high-value secret. Decide who can view or change them, keep them out of course content and backups you share, and plan rotation. Confirm where your version stores these values and whether they are readable by administrators after saving.
Capabilities and roles
Capabilities decide which roles can use each AI placement, in system, category or course context. A teacher role may need access that a student role must not have, and custom roles need the same check. Test each role with a real account before go-live, and confirm the capability names for your installed release, because they change between versions.
Claude provider plugin in 5.3
Moodle 5.3 adds Anthropic's Claude as an AI provider plugin. Because it is a new integration, it needs its own review of the data it sends, the account and region it uses, and its settings. Confirm in the 5.3 release notes which placements Claude supports and whether any extra configuration is required, and do not assume parity with other providers.
Moodle 5.3 notesLogs and course settings
Logs and course settings determine what is recorded and where use can be limited. Confirm which AI actions Moodle writes to its logs, how long those entries are kept, and whether individual courses can disable AI features. Without this record, you cannot answer later questions about which content went to a provider or who triggered a request, so set retention and review before the first course opens.
Which provider and placement choices to make before enabling AI
This table compares the main decisions a Moodle team makes before turning on AI features, including whether to enable Claude, how far each placement reaches, and whether to wait for a privacy review. Read each row as a choice with its operational cost in review effort, support load, cost monitoring and teacher training. The main takeaway is that narrower scope and a completed privacy review usually cost less to support than a site-wide switch-on.
| Decision | When it fits | Operational cost to plan for |
|---|---|---|
| Enable Claude as a provider | Site runs Moodle 5.3 or later and the data terms of Anthropic's Claude provider have been reviewed by your privacy team | Requires a Moodle 5.3 upgrade first, a new vendor entry in the review file, and confirmation of where requests are processed |
| Stay on an existing or single provider | Small pilot or a team that needs one reviewed data flow to document | Fewer contracts and log sources to review, but less fallback if the provider has an outage or policy change |
| Enable several providers | Different departments have approved different vendors or need different model strengths | Each provider needs its own review, usage monitoring, key management and teacher guidance on which is used where |
| Site-wide placement availability | Broad staff use is planned and the privacy review covers all course and user data that placements can reach | Highest review effort and support load, and the widest exposure if teachers paste sensitive learner records |
| Named roles or courses only | Pilot groups, such as a set of course designers or a faculty, with clear owners | Needs role and course-level permissions maintained as staff change, plus periodic checks that access still matches the pilot |
| AI off until privacy review completes | Regulated sites, student data present, or no documented data flow yet | Delays teacher demand, but avoids retroactive data exposure and lets the review cover the actual configuration |
| Limit content and learner data sent | Placements that summarize or draft from course material rather than from user records | Requires documenting each placement's inputs, testing what gets sent, and training teachers on what not to submit |
| Monitor usage and cost from day one | Any site with per-usage billing or shared provider accounts | Ongoing administrator time to review usage reports and set limits; ask providers and your partner which controls are available |
How to configure Moodle AI providers step by step
This sequence takes a Moodle site from version and prerequisite checks through a staged, logged and privacy-reviewed rollout of an AI provider and placement. It ends with the provider available to a widening group of roles, with each step closed by a check you can record.
Confirm the Moodle version and prerequisites
Check which Moodle version the site runs and whether it meets the PHP and database requirements for the target release. For the Claude provider, the target is Moodle 5.3, which requires 64-bit PHP 8.3 or later (8.4 supported), PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later, and an existing site on Moodle 4.4 or later. Confirm these with your administrator and record the current version, PHP build and database version in the change ticket. The step is done when the gap, if any, is written down. If the site is older, the upgrade path becomes its own project and this sequence waits for it.
Verify the site runs the required release
Confirm the live site is on Moodle 5.3 or a later release that includes the Claude provider plugin, using the version shown in site administration. Check that the web server document root points to the /public directory, which Moodle 5.1 and later require, so that the site does not expose directory listings or show errors. Ask the platform team to confirm the PHP and database versions reported by Moodle match the release notes. The check is complete when the version, PHP and database values all match the requirements and the document root test passes.
Build a staging copy and configure the provider there
Create a staging copy of the production site, including the database and a representative sample of course and user data, and keep it in the same infrastructure you control. Install or enable the AI provider plugin on staging first, then enter provider settings there and nowhere else. Keep staging accounts separate from production users so that no real learner data reaches the provider during setup. The step is done when the provider appears as configured on staging and the site administrator can log in to it without touching production.
Store the provider credential in your secrets approach
Create a dedicated API key or credential for the provider account, scoped to this Moodle site and to a named owner. Store it in the secrets mechanism your infrastructure already uses, such as a secrets manager or an environment-level store, rather than pasting it into shared notes or a configuration file in version control. Confirm with the provider that the account has spending limits and that the key can be rotated or revoked without a site outage. The check is complete when the key is retrievable by the staging site only, a rotation has been rehearsed once, and the owner is recorded.
Enable one placement for a pilot group of roles
Turn on a single AI placement, such as one feature that a teacher uses in a course, and restrict it to a small pilot group using role and capability settings. Keep student access off during the pilot. Document which roles and which courses the placement can reach, and confirm which context it runs in, such as site, category or course. The step is done when a pilot account holding the pilot role can see the placement, and an account holding a non-pilot role cannot.
Test exactly what data the placement sends
Run test prompts from pilot accounts using synthetic content only, then review the Moodle logs and the provider account's usage records to see what left the site. Check whether user identifiers, course names, uploaded files or other context fields appear in the request, and compare the result with the data described in the provider's terms and the placement settings. Repeat the test with a deliberately restricted role to confirm it is denied. The check is complete when a test prompt is visible in the logs, the provider-side record matches what the logs show, and the denied role produces a refusal rather than a request.
Run the privacy review and record its decision
Give the data flow findings from the previous step to your privacy, legal and security reviewers. Ask them to confirm the lawful basis, provider location and retention terms, whether any learner personal data or education records are in scope, and what must be disclosed to staff and students. Record the decision as approved, approved with conditions, or rejected, along with the conditions and an owner for each. The step is complete when the decision is signed and stored with the change record. If the decision is rejected, production enablement stops here.
Widen access in stages and keep checking
After approval, extend the placement to additional roles and courses in stages, repeating the log review and the denied-role test at each stage. Review usage and spend against the limits set with the provider, and set an alert for unusual volume. Schedule a recurring review of provider terms, the Moodle release notes and the plugin version after each Moodle update, because placement behavior can change between releases. The step is complete when each stage has a logged change, a passing test and a named approver.
How the setup differs by Moodle version
On Moodle 5.2 or earlier, the Anthropic Claude provider is not part of core, so you cannot assume it is available in your installed build. Start by checking which AI provider plugins are present in the site's administration pages and which ones your organization has approved for use. Any provider you want must be installed, compatible with your exact Moodle version, and reviewed before anyone enables it for teachers or students. Treat the list of available providers as a fact to confirm on your own site, not as something this page can state for your build.
- Confirm the installed build: Record the exact Moodle version and every AI-related plugin before planning configuration.
- Check provider availability: Verify which providers the site can actually reach, and whether Claude is present at all.
- Review plugin compatibility: Confirm each third-party provider plugin supports your Moodle version and PHP build.
- Plan for a later upgrade: If Claude is required, the path usually runs through an upgrade, so note the 5.3 requirements early.
- Note the support window: Check the security support dates for your version on the Moodle releases page before committing to a long configuration.
Before approving any provider, confirm with your Moodle administrator which plugins are installed and which versions of PHP and the database are running.
On Moodle 5.3 or later, Anthropic's Claude is available as a provider plugin in core, so you can configure it alongside any other provider you have installed. The configuration decision shifts from whether a provider exists to which providers each placement uses, which users can reach them, and what data each one receives. Because several providers can be active at once, you should map each AI placement to a provider explicitly rather than relying on defaults.
- Configure Claude in core: Add the provider with the API credentials your data review approved, and keep the key out of shared configuration exports.
- Map placements deliberately: Assign each AI feature to one provider so you know where its data goes.
- Run parallel providers carefully: If more than one provider is active, document which users and courses can use each.
- Restrict by role: Use Moodle capabilities to limit which roles can invoke AI placements.
- Record the configuration: Keep a dated record of enabled providers and placements for your privacy review.
Before go-live, confirm with the provider and your data protection team which content each placement sends and where that processing happens.
Sites upgrading into 5.3 must meet the 5.3 platform requirements first, and the upgrade path requires a site already on Moodle 4.4 or later. The 5.3 release notes call for 64-bit PHP 8.3 or later with PHP 8.4 supported, PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later. Sites on Moodle 5.1 and later must also point the web server document root at the /public directory, which should be in place before any AI testing so pages and settings load from the correct location.
- Meet the PHP and database versions: Confirm the PHP and database builds against the 5.3 release notes before scheduling the upgrade.
- Confirm the starting version: Sites must be on Moodle 4.4 or later to upgrade into 5.3.
- Set the /public document root: Make this change before any AI testing on the upgraded site to avoid listings or errors.
- Test AI settings on a copy: After the upgrade, configure providers and placements on a restored copy first, not in production.
- Recheck plugins: Confirm every AI and related plugin is compatible with 5.3 before re-enabling it.
Before switching the AI settings on in production, confirm the upgraded copy passed your provider, placement and data review.
What drives the effort and cost of AI provider configuration
This table lists the factors that change the work of configuring Moodle AI providers and placements, with a way to keep each one down. Read it to decide where to start small and which costs to plan for before enabling providers across courses and user groups.
| Driver | Why it changes effort or cost | How to keep it down |
|---|---|---|
| Number of providers and placements | Each provider needs its own credentials, endpoint settings, and placement permissions, and each placement needs its own test and review. | Start with one provider and one placement, such as a single teacher-facing feature in a pilot category, then add others after review. |
| User groups and courses with different rules | Students, teachers, and administrators may need different placement access, and each course category may need its own permissions. | Define two or three standard access profiles and map courses to them instead of configuring each course separately. |
| Depth of privacy review | Every field a placement sends to a provider must be identified, and the review grows with each data flow and each provider's data handling terms. | Use a standard data-flow template for each placement and reuse it across providers where the data sent is the same. |
| Hosting and network egress rules | A site in your own cloud or data center may need firewall rules, proxy settings, and approval for outbound calls to provider endpoints. | Confirm the outbound destinations with your network team before configuration, and record them in the change request. |
| Teacher training | Teachers need to know what the AI feature sends, what it returns, and when they must review output before using it with students. | Provide one short guidance page and a single pilot group, then reuse the material for later rollouts. |
| Moodle version gap | Providers and placements depend on the release in use, so a site below the required version may need an upgrade before configuration starts. | Check the current version and the upgrade path early, and confirm whether Claude provider support depends on the 5.3 release you target. |
| Ongoing cost monitoring and contract review | Usage charges recur and vary with volume, and provider terms can change, so someone must track both after go-live. | Assign a named owner for monthly usage reports, set a review date for provider contracts, and ask vendors for their usage reporting options. |
Moodle AI provider configuration access and credential controls
AI providers in Moodle send course content and user activity to a third party, so the controls around who can configure providers, who can use each placement, and what content leaves the site need to be set before go-live. The cards below cover the decisions that connect configuration rights, stored keys, teacher behavior, logging and provider terms.
Restrict provider settings and credential access
Limit the site administrator capability for changing AI provider settings to a small named group, and confirm who can open the provider configuration screens where API keys are entered. Treat the provider key as a secret: a user who can read it can call the provider outside Moodle and outside any logging you have configured. Review this list after every role change and before each major upgrade, since capability names and admin pages can change between releases.
Keep keys out of content and backups
Confirm that provider keys are not placed in course content, block settings, custom templates or plugin configuration that teachers can export. Check how your backup and restore process handles the configuration tables that hold the key, and decide whether restored or cloned environments should receive a fresh key. Ask your administrator to confirm where the key is stored at rest and who can read the database directly.
Limit roles for each AI placement
Each AI placement, such as course or activity assistance, should be enabled only for the roles that need it, and the capability for each placement should be checked separately. Students, teachers and managers often need different access, so do not assume that enabling a provider turns on every placement for every role. Write the role matrix down before go-live and test it with a test account in each role.
Control which course content teachers send
Decide which course materials may be sent to a provider, for example public reading lists but not graded submissions, personal data in forum posts or restricted research material. Teachers often make this decision alone, so publish a short written rule and, where the placement allows, restrict it by course category or by a flag that the course owner must set. Confirm with your provider which content types are processed and whether any input is retained.
Log AI requests for audit
Decide what Moodle records about each AI request, including the user, course, placement, provider, time and outcome, and whether prompt or response text is stored. Logging full content creates a second copy of sensitive data, so the choice should match your retention rules. Confirm which events the standard logs capture in your Moodle version and whether your log store can export them to your security monitoring.
Review provider terms before go-live
Before enabling a provider, read its terms for data use, training on customer inputs, retention periods, sub-processors and the regions where data is processed. Compare these with your data classification and any contract that restricts transfers. This privacy review is a client responsibility, and it should be documented with the provider version and terms date. DeployOpen prepares evidence for this review, such as configuration records and test results, but does not issue audit reports or certifications.
How a teacher request reaches an AI provider in Moodle
The request starts with a teacher using an AI placement inside a course. The Moodle web server first runs a capability check against the teacher's role and context, and that check can deny the request before anything leaves the site. If it passes, the AI provider plugin builds the call and sends it across the trust boundary to the external provider endpoint. Before rollout, check which data fields the plugin includes in that outbound call, and confirm that the request and response are logged inside your own infrastructure for review.
Teacher AI requests pass a capability check, then cross to an external provider while logs stay inside the client network.
How to test that Moodle AI providers work and fail safely
Test each AI provider against the access rules you set before any staff or students use it. Run the placements you enabled under a teacher account, a student account and an administrator account, and confirm that the intended role can use each placement while every other role is refused. Repeat the check for each course context where a placement appears, because a placement that is allowed site-wide may still be exposed in a course where a role was overridden. Record which account, course and placement you tested so the results can be repeated after changes.
Next, confirm that each successful request appears in the logs with the expected user and course, and that the record matches the placement that made the call. Then test failure paths. Enter an invalid API key, then a revoked one, and confirm the user sees a clear message and that the request is not silently retried against a different provider or a provider you have not approved. Disable a provider and confirm that new requests stop immediately. Check the Moodle logs and the provider's usage dashboard for any call made after the disable time. Your own environment will determine the exact settings and log views, so confirm them on a staging copy first.
Run a privacy test with a marker. Create a test course with content that contains a unique, harmless string, submit it through an enabled placement, and ask the privacy reviewer to check what the provider received and what Moodle logged. The reviewer should confirm whether the marker, user identifiers and course details appear where your data handling decision says they should, and nowhere else. Repeat this test after each Moodle upgrade, after any change to a provider or its settings, and after enabling a new placement, since any of these can change what data leaves the site.
What to monitor, document and review after AI goes live
Once Moodle AI providers and placements are switched on, the risk shifts from setup to ongoing operation. Each item below has a named owner and a recurring check, and together they keep cost, data flow, access and teacher behavior under review as the site moves through Moodle's releases.
Usage and cost review by provider
The platform owner reviews usage and cost reports for each configured provider on a schedule the owner sets, and compares them with the placements that generate the requests. Look for unexpected growth in one placement, requests from courses or users nobody expected, and whether the provider's billing matches what the site recorded. Ask the provider how usage is metered and what limits or alerts you can set before you sign off on the budget.
Error and denied-request logs
The site administrator checks error and denied-request records for each provider, looking for failed calls, timeouts, and requests blocked by capability or permission settings. Repeated denials can show a teacher or role that is trying to use a placement it should not reach, while repeated errors can signal a credential or network change. Agree in advance who receives these records and how quickly a spike must be escalated.
Credential rotation and access holders
The security owner keeps a current list of who can create, view or change provider API keys, and rotates those keys on a schedule with the provider's console as the source of truth. Confirm where keys are stored, that they are not copied into course content or support tickets, and that departing administrators lose access on the same day their accounts are disabled.
Data-flow record and privacy decision
The data protection lead maintains a written record of what each placement sends to each provider, including course content, user identifiers and any uploaded files, and the decision that approved it. Revisit the record whenever a placement, provider or setting changes, and whenever a new Moodle release adds a provider plugin. The record should be the document an auditor or customer security reviewer reads first.
Upgrade checks against Moodle releases
The platform engineering owner tracks Moodle's six-monthly major releases and the LTS schedule, and checks each AI provider plugin for compatibility before an upgrade is scheduled. Moodle 5.3 is the next LTS release, so sites planning a long support horizon should test the provider configuration on it in staging. Confirm the PHP and database versions it requires, since they can differ from the current site.
Moodle 5.3 notesTeacher guidance on restricted content
The academic lead owns guidance for teachers that explains which content should not be entered into an AI placement, such as student health details, disciplinary records, assessment answer keys, and personal data about staff or third parties. Pair the guidance with the teacher-facing controls that allow a placement to be disabled per course, and review the guidance each term with the people who handle complaints and safeguarding cases.
Questions to answer before configuring Moodle AI providers
Is the Claude AI provider available without upgrading to Moodle 5.3?
Claude is listed as an AI provider plugin in the Moodle 5.3 release notes, so the simplest route to it is running 5.3 or later. Before you plan around it, confirm with your own administrators whether your current release or any plugin you run offers an equivalent provider, and check the provider list in your site's AI settings after any upgrade. Upgrading to 5.3 also brings its own requirements: 64-bit PHP 8.3 or later, PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later, and a current site on Moodle 4.4 or later. Those requirements, not the AI setting, usually decide the timing of the upgrade.
What data is sent to an AI provider, and how do we confirm it?
The data sent depends on each placement you enable, so list every placement and the content it submits before any provider is switched on. Typical inputs include the text a user types, course or activity content a teacher asks the tool to work with, and user identifiers if the placement passes them. Confirm this in three places: the placement settings in your site, the provider's data processing terms, and a test call you run in a non-production site and inspect in your web server or proxy logs. Ask your privacy lead to sign off on the list before rollout, because a placement that works well in a pilot may later be enabled for a course group that holds more sensitive records.
What drives AI usage costs, and who pays the provider bill?
Usage cost depends on how many requests each placement makes, how large the inputs and outputs are, and which model the provider plugin is configured to call. Provider billing is normally made by the provider to the account holder that owns the API key, so the institution that creates the key pays unless a separate arrangement exists. Ask your team to name the account owner, set spending limits with the provider, and review usage by placement during the pilot. Ask any partner quote to separate the one-time configuration work from the recurring provider charges, which the client pays directly and which the partner does not control.
How long does AI provider setup take, and what drives that time?
Setup time is driven by the number of placements, the number of providers, and how many approvals the rollout needs. A single provider with one placement for a small pilot is much shorter than several placements that each need a privacy review, a teacher-facing policy, and testing with real course content. Time also depends on whether the Moodle site is already on a release that supports the provider, and whether the team has a staging site that matches production. Ask for the schedule as a sequence of gates, such as configuration, privacy sign-off, pilot, and general rollout, instead of a single duration.
What does the client team need to provide for an AI provider rollout?
The work needs input from four groups. Identity administrators confirm which accounts can reach AI features and how roles map to them. Network staff confirm outbound access from the Moodle servers to the provider endpoints, and whether a proxy or egress policy applies. Privacy and compliance leads approve the data list for each placement and the provider terms. Teaching leads decide which courses and roles may use each placement and what guidance teachers receive. Name one owner per group before the engagement starts, because most delays come from waiting for these decisions rather than from configuration itself.
Can an in-house team configure Moodle AI providers alone?
An in-house Moodle team with administrator experience can configure a provider and a single placement, provided it has access to the Moodle admin settings, a staging site, and the provider account. The harder parts are the privacy review, documenting what data leaves the environment, and testing role and course permissions so teachers cannot expose content they should not share. Teams that lack these skills, or that must evidence the controls for an assessment, often bring in a partner for the review and evidence work. DeployOpen can plan and implement self-hosted Moodle configuration in your own infrastructure and prepare the controls and evidence your reviewers ask for, but it does not issue audit reports or certifications.
What should a fixed-scope quote for AI provider configuration include?
A fixed-scope quote should list the Moodle release and environment in scope, each provider and placement to be configured, the data inventory for each placement, and the roles and courses allowed to use them. It should state which testing is included, such as a staging test and a pilot group, and what the client must supply, including provider accounts, network access and approvals. Ask for deliverables in writing: configuration records, the privacy data list, teacher guidance, and a handover session. Confirm who holds and pays for the provider account, and whether ongoing monitoring of usage and provider changes is included or offered as a separate support arrangement.
How DeployOpen scopes, configures and hands over Moodle AI providers
DeployOpen approaches Moodle AI provider configuration as a scoped piece of work inside your own infrastructure, so your security, compliance and teaching teams can review every provider, placement and data flow before users rely on them. We plan the setup, configure it, test it, document it and support it after go-live.
How we scope
- Confirm which AI providers and placements your teachers and administrators need in Moodle
- Map the data each placement sends to each provider and agree what stays inside your infrastructure
- Record usage limits, teacher controls and privacy review inputs in a written, fixed-scope agreement
How we build
- Install and configure the chosen Moodle release, including the Claude provider where your version includes it
- Set provider credentials, placement permissions and capabilities so only approved roles can use AI features
- Test each placement with representative content, logging, and failure cases before release
How we hand over
- Deliver configuration records, data flow notes and a provider inventory your privacy review can use
- Document teacher controls, administrator steps for rotating credentials and disabling a provider
- Walk your administrators through the setup and the checks they should repeat after each Moodle upgrade
How we support
- Review provider settings and placement changes when Moodle releases a new version or provider plugin
- Offer ongoing support and continuous testing as a retainer after the handover
- Retest configuration after changes to providers, pricing terms, or your privacy requirements

