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

  1. Enable Moodle web services and REST access for the restricted integration service and issue its token securely.
  2. Configure SIS_MOODLE_ENABLED, the institutional SIS_MOODLE_URL and the protected SIS_MOODLE_TOKEN.
  3. Run the read-only connection diagnostic and inspect the sanitized result.
  4. Install and enable the supplied Moodle connector through the institution’s approved deployment process.
  5. 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.

Console command
ddev codex sis:moodle:check