Before you start
Use a dedicated restricted Moodle integration account and service. The Moodle token belongs in protected server configuration, not in a command argument, browser field or shared document.
What to do
- Enable Moodle web services and REST access for the restricted integration service and issue its token securely.
- Configure SIS_MOODLE_ENABLED, the institutional SIS_MOODLE_URL and the protected SIS_MOODLE_TOKEN.
- Run the read-only connection diagnostic and inspect the sanitized result.
- Install and enable the supplied Moodle connector through the institution’s approved deployment process.
- Use Moodle integration → Approved Moodle installation to review the exact intended installation before enabling supported account/section workflows.
What happens next
The connection diagnostic establishes only its stated connectivity/service checks. Person links, section mappings, enrollment, direct launch and grade intake have their own separate review and enablement.
Read-only connection diagnostic
The diagnostic uses the configured connection. It accepts no token or endpoint in the command line and does not create an account or course.
ddev codex sis:moodle:check