LTI Configuration

Overview

LTI (Learning Tools Interoperability) is a standard developed by 1EdTech, allowing different learning platforms and tools to work together seamlessly. It establishes a standard way of integrating learning applications, called tools (delivered by tool providers, e.g., Artemis), with platforms such as Learning Management Systems (e.g., Moodle, edX), called tool consumers. Artemis is up-to-date with the latest in this standard, supporting LTI 1.3., ensuring a smooth and efficient connection between Artemis and educational platforms.

LTI 1.3 sets the foundation for securely launching and using educational tools within any LMS. It specifies the technical protocol for how tools like Artemis can seamlessly integrate into platforms like Moodle or edX. When LTI 1.3 is combined with three critical services—Assignment and Grade Services, Names and Role Provisioning Services, and Deep Linking, it is collectively known as LTI Advantage. This package provides a more comprehensive integration, allowing smoother communication between the educational tool and the LMS. For more detailed information about LTI Advantage and its features, visit 1EdTech LTI Advantage. In the context of LTI Advantage, the term Tool refers to any external service or application that adds functionality to the learning environment, such as a tool for submitting exercises. On the other hand, Platform refers to the learning management system itself, which wants to incorporate these external tools. In addition to supporting the core functionalities of LTI 1.3, Artemis integrates specific services under the LTI Advantage framework, including the Score Service from the LTI Advantage Assignment and Grade Services and the Deep Linking Service.

This content is a comprehensive guide for instructors and administrators on setting up LTI integration between Artemis and their preferred LMS platforms. We provide a general overview of the steps required to configure Artemis and specific guidance for popular platforms like Moodle and edX. Additionally, we outline the capabilities available to different user roles within Artemis about LTI:

  • Administrators can manage and configure LTI settings across the platform.

  • Instructors can create and link Artemis content within their LMS courses.

  • Students benefit from seamless access to exercises and course materials.

Action

Administrator

Instructor

Student

Enabling Online Course

Dynamic Registration

Manual Registration

Sharing access to a course

Artemis user account provisioning

Link creation via Deep Linking

Manual Link Creation

Launch exercise

This guide is structured as follows:

  1. Overview: Begin this section by understanding the importance of LTI and role in enhancing the interoperability between Artemis and LMS platforms.

  2. Preparation Steps: Before proceeding with LTI integration, ensure your Artemis platform is prepared by following the Enabling Online Course section.

  3. Registration Process: If your LMS supports Dynamic Registration or requires Manual Registration, follow the steps outlined in the Register Artemis with the platform section.

  4. Linking Courses and Exercises: The Sharing access to a course and Link creation via Deep Linking sections provide detailed instructions for linking Artemis exercises with your LMS, ensuring a seamless experience for students.

  5. Platform-Specific Instructions: For detailed instructions tailored to Moodle or edX, refer to the respective sections that guide you through each step of the configuration process.

  6. Common Issues: Should you encounter any challenges, the Common Issues section addresses typical problems and their solutions.

Note

This guide assumes sequential progression for ease of understanding and implementation. However, based on your specific needs and the LMS platform, you may focus on the sections most relevant to your setup. Whether you’re an administrator setting up the integration or an instructor looking to link Artemis content to your courses, this guide aims to provide you with all the necessary information to achieve a successful LTI integration.

Warning

Before instructors integrate Artemis or students access and start Artemis exercises through LMS via LTI, server administrators must ensure that LTI is active with the necessary profile on the Artemis server. If you are a server admin, please configure this setting to allow instructors and students to utilize the LTI integration.

Enabling Online Course

Note

The steps provided in this section assume the existence of an Artemis course and relevant content. For detailed information on the types of exercises Artemis supports and guidance on creating these exercises, please refer to the General Information. This resource will help you understand the exercises Artemis can support and provide step-by-step instructions for creating and managing them within your course.

Before diving into the LTI configuration, ensuring that the Online Course setting is enabled in Artemis is crucial. This setting activates the LTI configurability, allowing instructors to link Artemis content with the LMS platforms. As an instructor to enable the Online Course setting in Artemis, follow the steps below:

  1. As an instructor, locate and click on the course-management option.

  2. From the list of available courses, navigate to the course you wish to configure for LTI integration.

  3. You will find an course_edit button on the course overview page at the top right corner. Clicking this will allow you to modify various course settings.

  4. As you scroll through the course settings, you will find an Online Course checkbox. This particular setting is essential for enabling LTI configurability.

  5. To finalize the process, check the Online Course checkbox. You are activating the LTI configuration settings for that specific course. Make sure to save any changes made.

Enable Online Course

With the Online Course setting enabled, you can now integrate Artemis with LMSs using the LTI 1.3 standard. The subsequent sections of this guide will provide detailed steps for achieving this integration.

Register Artemis with the platform

LTI 1.3 and LTI Advantage services use OAuth 2.0 and OpenID Connect as security models. The Tool and the Platform need to register with each other ahead of time so that the platform can access Artemis course content. Based on the platform-side implementation, registration may only need to happen once when the tool and platform are linked. Registration is a security agreement between the two systems.

There are a few different ways to register:

  1. Dynamic registration: The exchange of relevant URLs and IDs is automatic. The platform initiates this process using the tool’s registration URL.

  2. Manual registration: A platform administrator must manually exchange URLs and IDs with the tool.

Dynamic registration makes it much easier for administrators to set up, so administrators should use it whenever possible, as long as the platform supports it. It is best to use manual registration when the platform doesn’t yet support dynamic registration because it will work on all LTI Advantage-compliant platforms.

Dynamic Registration

If the soon-to-be-configured platform supports dynamic registration service, the only URL we need to provide to the platform is the Dynamic Registration URL. To retrieve the Dynamic Registration URL from Artemis, follow the steps outlined below:

  1. As an administrator user, go to Server administration > LTI Configuration

  2. Once inside the LTI 1.3 Configuration of the server, you will see the Platform Registration tab.

  3. You will find an option labeled Dynamic Registration URL within the Platform Registration tab. Copy this URL and provide it to your platform admin for further configuration.

Server LTI 1.3 Configuration

The exact steps of using a registration URL to register Artemis as a tool are platform-dependent. We provide steps to configure Artemis into Moodle via Dynamic Registration URL in Dynamically Register Artemis and Moodle.

Warning

LMS administrators must also possess administrative privileges on the Artemis site to effectively utilize the Dynamic Registration Service. Please get in touch with your Artemis administrator, providing your full name and email address, to ensure successful completion of this step.

Dynamically Register Artemis and Moodle

With the Dynamic Registration URL provided by the Artemis administrator, Moodle Admins can configure the LTI 1.3 integration in Moodle: Please note that Moodle admins also need admin privileges on the Artemis site.

  1. As an admin user, go to Site administration > Plugins > Activity modules > External tool > Manage tools. This selection will lead you to the LTI configurations in Moodle.

  2. In the Manage Tools section, you will find the Tool URL field. Paste the Dynamic Registration URL provided into this field.

  3. After entering the URL, click the Add LTI Advantage button. This action will begin integrating Artemis with Moodle using the LTI 1.3 standard.

  4. If prompted, choose Register as a new external tool. The platform will only prompt you if another Artemis tool from the same domain is already configured.

  5. After the page reloads, the tool card will be visible. To finalize the integration, click the Activate button. This action will complete the LTI 1.3 integration between Artemis and Moodle.

    Moodle - Activate Configuration
  6. View configuration details of the tool card.

  7. Find the Tool configuration usage field and select Show in activity chooser and as a preconfigured tool

  8. Click on Show more… link to see further configuration settings. Set Secure icon URL field to Artemis icon URL.

  9. Save the recent changes.

Note

To obtain the icon URL, right-click the Artemis site icon and choose “Copy image URL.”

This video describes how to configure Artemis and Moodle using Dynamic Registration Service:

Manual Registration

Manual registering an Artemis as a platform tool consists of three distinct stages. The first step involves transferring data from the Artemis into the platform. It is a necessary step in the tool’s platform configuration. As the second step, copy and paste the configuration information from the platform into the Artemis tool site. After properly saving the platform into Artemis, as per the last step, copy and append the generated Artemis Registration ID into the Initiate Login URL on the platform.

Starting in the Artemis:

  1. As an administrator user, go to Server administration > LTI Configuration

  2. Once inside the LTI 1.3 Configuration of the server, navigate to the Service URLs tab.

  3. You will find all the relevant URLs to a successful configuration within the Service URLs tab. Copy each URL and provide it to your platform admin for further configuration.

Server LTI 1.3 Configuration - Service URLs

The exact setup steps for manually configuring are dependent on the platform. This guide provides steps for manually configuring Artemis into Moodle in the Manually Register Artemis and Moodle section and edX in the section Manually Register Artemis and edX.

Manually Register Artemis and Moodle

Please follow the below steps for manual configuration:

  1. As an admin user, navigate to Site administration > Plugins > Activity modules > External tool > Manage tools.

  2. Click the Configure a tool manually button.

  3. Change the field LTI version to LTI 1.3 for the right version.

  4. Change Public key type to Keyset URL.

  5. Enable Supports Deep Linking (Content-Item Message) checkbox to provide a Deep Linking URL.

  6. Copy the following URLs that Artemis provides into the respective form fields on the platform site:

  7. Copy Tool URL from Artemis into the Tool URL field in Moodle.

  8. Copy Redirect URL into Redirection URI(s) field.

  9. Copy Initiate login URL into the Initiate login URL field. After manually saving Moodle into Artemis, the admin must append the Artemis Registration ID to the end of the URL.

  10. Copy Keyset URL into the Public keyset field.

  11. Copy Deep linking URL into the Content selection URL field.

  12. Find the Tool configuration usage field and select Show in activity chooser and as a preconfigured tool

  13. Click on Show more… link to see further configuration settings. Set Secure icon URL field to Artemis icon URL.

  14. Set a tool name and save the configuration.

  15. On the resulting tool card, click View configuration details and provide these details to your Artemis administrator.

Moodle and Artemis Service URLs Mapping

Now we are back on the Artemis again. Please follow the below steps to manually configure Moodle into Artemis:

  1. Navigate to Server Administration > LTI Configuration as an admin user.

  2. Click the Add new platform configuration button.

  3. Copy the following URLs that Moodle provides into the respective form fields on the Artemis:

  4. Copy Platform ID from Moodle into Artemis’s Tool URL field.

  5. Copy Client ID into Client ID field.

  6. Copy Access Token URL into the Token URI field.

  7. Copy Public Keyset URL into the JWKSet URI field.

  8. Copy Authentication request URL into the Authorization URI field.

  9. Set a platform name and save the configuration.

  10. Then, Artemis will direct you to the configured platforms list, and you will see new configuration details at the end of the list.

  11. Get Registration ID information from this table for the respective newly configured platform and provide it to your Moodle admin.

Artemis and Moodle Fields Mapping

The registration process is now complete.

Manually Register Artemis and edX

EdX course admins must enable the LTI tool in Studio before an instructor can add LTI components to their course. To allow the LTI tool in Studio, add lti_consumer to the Advanced Module List on the Advanced Settings page. For more information, please see the official edX documentation.

Please follow the below steps to add the LTI 1.3 component to the edX course unit and configure Artemis:

  1. As an instructor, edit the course unit where you want to add Artemis and select Advanced from the Add New Component section. Select LTI Consumer.

  2. Navigate Edit on the LTI consumer component that appeared.

  3. In the LTI Version field, select LTI 1.3.

  4. Save the component.

  5. You will see LTI component configuration details inside the unit. Copy Access Token URL, Client ID, Access Token URL, Keyset URL, Access Token URL details and provide them to your Artemis administrator.

Note

Each LTI Consumer component in edX acts as an independent LTI consumer, meaning each LTI consumer must be defined to Artemis manually.

Now we are back on the Artemis. Please follow the below steps to manually configure the edX component into Artemis:

  1. As an admin user, navigate to Server Administration > LTI Configuration.

  2. Click the Add new platform configuration button.

  3. Copy the following URLs that edX provides into the respective form fields on the Artemis:

  4. Copy Access Token URL from the edX component into the Tool URL field in Artemis.

  5. Copy Client ID into Client ID field.

  6. Copy Access Token URL into the Token URI field.

  7. Copy Keyset URL into the JWKSet URI field.

  8. Copy Access Token URL into the Authorization URI field.

  9. Set a platform name and save the configuration.

  10. Then, Artemis will direct you to the configured platforms list, and you will see new configuration details at the end of the list.

  11. Get Registration ID information from configured platforms table and append it at the end of the provide Initiate Login URL.

    1. Get Redirect URI, Keyset URL, Deep linking URL and Registration ID appended Initiate Login URL and provide it to your edX course instructor.

Edx LTI Consumer Settings

Please follow below steps on edX to conclude registration process:

  1. As an instructor, edit the course unit where you want to add Artemis and select Advanced from the Add New Component section. Select LTI Consumer.

  2. Navigate Edit on the LTI consumer component that appeared.

  3. In the LTI Version field, select LTI 1.3.

  4. Copy the following URLs that Artemis provides into the respective form fields on the platform site:

  5. Copy Redirect URI into the Registered Redirect URIs field in the edX component. This step could differ based on your edX version. If Registered Redirect URIs field is not available on your edX version you can skip this step.

  6. Copy Initiate Login URL into Tool Initiate Login URL field. After manually saving the edX component into Artemis, the admin must append the Artemis Registration ID to the end of the URL.

  7. Select Tool Public Key Mode as Keyset URL.

  8. Copy Keyset URL into the Tool Keyset URL field.

  9. Select Deep Linking as True.

  10. Copy Deep linking URL into the Deep Linking Launch URL field.

  11. Select LTI Launch Target as Modal.

  12. Set a Button Text (e.g. Launch Exercise).

  13. Select the Scored field as True and define the Weight field as 100.

  14. Select True for the Request user’s username, Request user’s full name, Request user’s email, and Send extra parameters fields.

  15. Save the component.

  16. On the resulting component, you will find configuration details and provide these details to your Artemis administrator.

Edx LTI Consumer Settings

This video describes how to manually configure Artemis and edX in practice:

Sharing access to a course

To unlock the full potential of the LTI configuration and enable the Deep Linking Service for your online course, Artemis administrators must carefully choose an LTI platform and apply the following steps.

  1. As an admin user, head to the Course Management section and select your targeted online course to configure.

  2. Within the course management area, locate and click on the LTI Configuration tab.

  3. Find and click the Edit button. This action will allow you to modify the LTI configuration settings for your course.

  4. In the External Tool Settings section, drop down the list to select the appropriate LTI platform configuration for your course.

  5. After selecting the desired configuration, hit Save to apply your changes.

Edit Course-wise LTI Configuration

Artemis user account provisioning

Instructors can decide to automatically create new user accounts for students who first participate in an exercise via an external platform and do not already have an Artemis account. Artemis automatically generates a new student account by default when they first engage with an Artemis exercise through an external LMS.

Moodle - Password Pop-up

However, if instructors prefer to restrict exercise participation to only those students who already have an existing Artemis account, they can adjust the settings by following the steps outlined below:

  1. As an instructor, head to the Course Management section and select your targeted online course to configure.

  2. Within the course management area, locate and click on the LTI Configuration tab.

  3. Find and click the Edit button. This action will allow you to modify the LTI configuration settings for your course.

  4. In the General Configuration section, enable the Require existing user checkbox.

  5. Hit Save to apply your changes.

Linking Artemis Exercises

Artemis supports various methods for integrating LTI platforms, enhancing the platform’s versatility in connecting with external learning resources. A preferred method for setting up exercise links in Artemis is deep linking (also known as content selection). This approach streamlines the integration process, allowing for a seamless connection between Artemis and external platforms. For situations where Deep Linking is not enabled, manual configuration of exercise links within external platforms is also possible. Below, we explain both methods to assist instructors in choosing the best approach for their needs.

Common Issues

Issue: No Configuration Card Appears After Dynamic Registration in Moodle

As a Moodle administrator, verifying your permissions is essential if you initiate the dynamic registration process with Artemis and find that no configuration card appears. Please get in touch with your Artemis administrator to ensure you have the privileges to successfully conduct dynamic registration.

Issue: Blank Page on Exercise Launch in edX

When instructors or students attempt to launch an Artemis exercise from edX and encounter a blank page, it typically indicates a configuration issue with the LTI provider settings within edX. To resolve this, edX super administrators must ensure the Artemis platform is correctly configured as an LTI provider for the affected course and any relevant LTI blocks.

Resolution Steps:

  1. As edX super administrators navigate to the Studio Administration panel.

  2. Within the Studio Administration, locate the option to change the course’s live configuration settings.

  3. Select Add Course Live Configuration.

  4. Fill Course Key, LTI Configuration.

  5. Fill in the LTI provider as the Artemis platform’s link. This step ensures that edX recognizes Artemis as a trusted source for launching external exercises.

  6. For the course and each LTI block where the issue is observed, add a new LTI provider configuration.

edX - Add Tool URL