Skip to content
Docs

Configuring LTI Integration with Moodle (Sandbox)

Updated 02 Dec 2026

Configuring LTI Integration with Moodle (Sandbox)

Applies to: Both

Connect your Moodle instance to the BetterExaminations sandbox environment to handle User and course provisioning as well as Grade Syncing


To configure an integration between BetterExaminations and Moodle, you must complete setup steps within BetterExaminations and within Moodle

First, configure the Integration in Moodle, and then complete the setup by adding the Integration in BetterExaminations.

BetterExaminations supports integrating with Moodle 3.9.x and above.

Configuring the integration in Moodle



1. To configure an LTI integration in Moodle, select 'Site administration' on the left panel, then select 'Plugins' and select 'External Tool'

Moodle Site administration page with the Plugins tab and the External tool link highlighted.



2. Select 'Manage tools'

Moodle External tool page with the Manage tools link highlighted



3. Select 'configure a tool manually'

Moodle Manage tools page with the configure a tool manually link highlighted



4. There are a number of fields to configure. We have provided details of each section below. Please read this carefully and make sure to accurately copy and paste any information needed

Moodle External tool configuration showing the Tool name, Tool URL and Tool description fields


Tool name: You can input the name of your integration. This can be anything you like. We recommend naming your integration something like 'BetterExaminations Integration' so that its purpose is easily recognised.

Tool URL:  Please copy and paste the following URL: https://api.sandbox.betterexaminations.com/lti

Tool description: 
This can be anything you like. We recommend providing a description that describes the purpose of your integration. For example: 'This tool is used to integrate Moodle with the BetterExaminations platform'



Moodle External tool configuration with the LTI version dropdown open and LTI 1.3 selected


LTI version - From the dropdown menu, select LTI 1.3

Client ID: This will be a pre-filled unique value that we will use in BetterExaminations. You can ignore this for now

Public keyset: Please copy and paste the following URL: https://api.sandbox.betterexaminations.com/.well-known

Initiate login URL: Please copy and paste the following URL: https://api.sandbox.betterexaminations.com/lti/moodle/login

Redirection URL(s):  Please copy and paste the following URL: https://api.sandbox.betterexaminations.com/lti



Moodle tool settings: custom parameters box, tool configuration usage set to Show in activity chooser, Deep Linking ticked.


Custom parameters: Leave this blank

Tool configuration usage: From the dropdown menu, select 'Show in activity chooser and as a preconfigured tool'. 

Default launch container: From the dropdown menu, select 'New Window'

Supports Deep Linking: Please ensure to tick 'Support Deep Linking (Content-Item Message)'

Content Selection URL: Leave this blank



5. (Optional) Click on 'Show more' to reveal the Icon URL. This section allows you to add a BetterExaminations icon to your integration so that it is easy to identify 



Moodle Icon URL and Secure icon URL fields, both filled with the BetterExaminations logo address.


Icon URL: Please copy and paste the following URL: https://online.betterexaminations.com/static/media/be-logo-mini.c3fc13d0.svg

Secure icon URL: Please copy and paste the following URL: https://online.betterexaminations.com/static/media/be-logo-mini.c3fc13d0.svg



6. Select 'Services' to open the services options and complete as follows



Moodle Services section with grade sync and member information options set to use the service, Tool Settings set to not use.


IMS LTI Assignment and Grade Services: From the dropdown menu, select 'Use this service for grade sync and column management'

IMS LTI Names and Role Provisioning: From the dropdown menu, select 'Use this service to retrieve members' information as per privacy settings'

Tool Settings: From the dropdown menu, select 'Do not use this service'


7. Select 'Privacy' to open the privacy options and complete as follows



Moodle Privacy section with launcher name, launcher email and accept grades all set to Always, Force SSL ticked.


Share launcher's name with tool: From the dropdown menu, select 'Always'

Share launcher's email with tool: From the dropdown menu, select 'Always' 

Accept grades from the tool: From the dropdown menu, select 'Always'

Force SSL: Please tick this box



8. You do not need to complete the Miscellaneous section



9. Once you have completed all of the sections above, select 'Save changes'



10. You should now see your new integration listed under Tools. Locate your integration and select the options menu (as shown below)

Moodle Tools card for an active integration with the options menu icon highlighted.



11. A popup will open containing 6 important pieces if information. 

Tool configuration details dialog listing platform ID, client ID, deployment ID and three URLs, with Email and Cancel buttons

Important: This is the information you will need to copy and paste into BetterExaminations during the configuration process. 

You will need this information to hand during the next stage of the process. We recommend you keep this window open and login to BetterExaminations in a new tab.  This way you can easily switch between the two tabs and access the information you need.

To continue, open a new tab and login to BetterExaminations 

 

Configuring the integration in BetterExaminations



1. To add LTI integration to BetterExaminations, go to the Settings screen and scroll to the "LTI Integrations" section. You’ll see a list of existing integrations (if you have any). You can configure a new integration by clicking the "Add integration" button on the right.

LTI Integrations list with the Add integration button highlighted



2. Select your Platform from the list and then give your integration a name. This name is what will be shown to users throughout BetterExaminations so make sure to name it something meaningful for your users such as "Moodle" or "QA Moodle" etc.

Add an LTI integration step 1 of 5, with Moodle selected as the platform and an integration name entered



3. In the next stage you'll be asked to paste the values provided from Moodle in the first stage of the setup. Once all fields have been added, you can proceed to the next step.

Add an LTI integration step 2 of 5, Configuration form for the Moodle platform ID, client ID and URLs



4. In this step you can decide which BetterExaminations User Role should be assigned to any Moodle Administrators when they use the LTI Integration. This step is optional, if you leave it blank Moodle administrators will be treated like standard users within BetterExaminations.

Add an LTI integration step 3 of 5, Administrator role mapping with a BetterExaminations role selected



5. The next step allows you to map LTI Context Roles to BetterExaminations Course Roles.
NOTE: The roles available for mapping are LTI context roles and NOT your Moodle course roles. This means Moodle is converting your Course roles into LTI context roles and then these context roles are then made available to map to BetterExaminations for mapping to BetterExaminations Course roles. Currently, Moodle converts all non-student roles to the LTI context role called "Instructor". Until Moodle supports role mapping (MDL-57315) BetterExaminations will assign all non-student users the role you choose here.

Add an LTI integration step 4 of 5, Course context role mapping with Instructor mapped to a role



6. The final screen will display an overview to give you an opportunity to confirm all the options you've selected. Once you're happy, click "Save changes".

Add an LTI integration step 5 of 5 overview of the Moodle settings, with the Save changes button shown


That's it! Now BetterExaminations and Moodle are configured to use LTI. 

Was this page helpful?

Can't find what you need?

The support FAQs cover common problems with running an exam. For anything else, contact our support team.

Contact support