Integrating Problems LTI tool with Moodle

Integrate Sphere Engine Problems LTI tool with Moodle by following this short tutorial.

Integration with the system (global preconfiguration)

The Moodle system offers the ability to configure an external tool (e.g. Sphere Engine Problems LTI tool) in such a way that the programming problem becomes globally available in the list of resources. The settings you will need for this process require administrator rights and are available in Site Administration > Plugins > Activity modules > External tools > Manage tools.

If it is impossible to use the administrator's rights, there is an alternative configuration method that allows you to use Sphere Engine Problems LTI tool through the configuration of the course.

Moodle provides an automated configuration process. Go to the Tool URL field (1) and enter the URL available in the appropriate field of the XML Configuration tab (Sphere Engine client panel) and press the Add button (2) (Moodle). Then, for security reasons, it is necessary to enter the consumer key (3) and shared secret (4) data.

Fig. 1. Adding LTI configuration in the Moodle system

After successful configuration, a Sphere Engine for Education> item (5) should appear on Moodle's tool list. After opening the tool's settings (6), it is possible to set a configuration for which Sphere Engine for Education will be present when adding resources.

To do this, select Show in activity chooser and as a preconfigured tool for the Tool configuration usage option (7). From now on, when adding a resource to the course, it will be possible to select a programming problem and the configuration data will be downloaded automatically based on the data provided during the preconfiguration.

Fig. 2. Editing the LTI configuration in Moodle

Adding a programming problem to the course

When adding a resource to the course, select the Sphere Engine for Education item (1) and confirm the selection with the Add button (2). You will be able to configure the resource in the next step.

Fig. 3. The "Sphere Engine for Education" resource available directly from the resource list

In this case (i.e. selecting a preconfigured resource), all you have to do is specify the following parameters:

  • the name of the resource (3),
  • privacy settings (4) (it is recommended to agree to disclose the username, e-mail address and provide the right to send grades).
Fig. 4. Configuration of the resource

After confirming the configuration of the resource with the Save and display button, we will be transferred to the configuration of the programming problem. Approving changes with the Save and return to course button will take you back to the list of resources attached to the course (configuration of the programming problem will be available later).

Integration from within the course (without global preconfiguration)

Although preconfiguring integration with the Problems LTI tool is - from the point of view of the course administrators - the most convenient, this method is not always available (or requires waiting for the system administrator to act).

Integration with the Problems LTI tool can be done without administrator rights, through the course settings. When adding a resource, select the External tool item (1) and confirm the selection with the Add button (2).

Fig. 5. Adding an unspecified tool

Proceed with further configuration as described in global preconfiguration article.