Moodle Integration Setup

Setting up Moodle Integration

Prerequisites

  1. Administrator access to SELMA and your Moodle instance
  2. Moodle Web Services enabled and configured
  3. Integration enabled in SELMA by SELMA support

Moodle Configuration Steps

  1. In Moodle, go to Site Administration > Plugins > Web services
  2. Enable Web Services if not already enabled
  3. Enable REST protocol if not already enabled
  4. Create a role for web services with the following capabilities:
    • moodle/course:view
    • moodle/course:viewhiddencourses
    • moodle/course:viewparticipants
    • moodle/course:viewhiddenactivities
    • moodle/course:viewhiddensections
    • moodle/course:viewsuspendedusers
    • moodle/grade:view
    • moodle/grade:viewall
    • moodle/grade:viewhidden
    • gradereport/user:view
    • moodle/site:accessallgroups
    • moodle/user:viewdetails
    • moodle/user:viewalldetails
    • moodle/user:viewhiddendetails
    • webservice/rest:use
  5. Create a custom service (or use an existing one) with the following required functions:
    • core_user_get_users
    • core_webservice_get_site_info
    • core_course_get_courses
    • gradereport_user_get_grade_items
    • core_completion_get_course_completion_status

For more detailed information about setting up web services in Moodle, visit: https://docs.moodle.org/en/Using_web_services

SELMA Configuration Steps

  1. Navigate to Integrations > Moodle in SELMA
  2. Configure the following settings:
    • Endpoint: Your Moodle URL (e.g., https://moodle.yourdomain.com)
    • Token: The web service token created in Moodle
    • Default Teacher Role: Usually ‘editingteacher’
    • Default Student Role: Usually ‘student’
    • Groups Enabled: Enable if you want SELMA classes to sync as Moodle groups
    • Limit User to Group: Enable if users should only see their group members

Testing the Integration

  1. Use the “Test Connection” button to verify your configuration
  2. Check the logs section for any errors if the test fails

Important Notes

  • Keep your web service token secure
  • Monitor the logs regularly for any sync issues
  • Contact SELMA support if you need assistance

Related Articles

Microsoft 365 (Account-Level Emails) – Setup

Enabling the Microsoft 365 Integration in SELMA allows you to use your organisation’s Microsoft mailbox(es) for emailing directly in SELMA. As such, emails sent from within SELMA are stored in the mailbox’s ‘sent’ folder as well. Note: The below instructions serve as a guide only – please ask your IT Team/Provider about what’s best for …

Microsoft 365 (User-Level Emails) – Setup

Enabling the Microsoft 365 Integration in SELMA lets your organisation’s users’ use their Microsoft mailbox for emailing directly in SELMA. As such, emails sent from within SELMA are stored in the mailbox’s ‘sent’ folder as well (and replies will go to the user’s inbox). Note: The below instructions serve as a guide only – please …

Cloud Assess

Initial Setup Navigate to Settings (Cogwheel icon), select Integrations, and click Configure under Cloud Assess. Configuring Keys and Connection To set up the Cloud Assess integration, enter the required URL and keys. If needed, contact SELMA or Cloud Assess support for assistance. Understanding the Configuration Screen The configuration screen displays a log of all transactions …