Integrate MATLAB Grader with Brightspace (D2L) — LTI 1.3
LMS Administrators: Add MATLAB Grader to Brightspace External Tools
To add MATLAB® Grader™ to Brightspace® External Tools, follow the steps in this section.
Note
For all text that you copy and then paste into the integration fields, make sure there are no leading and trailing spaces in the text, otherwise the integration may not work.
Step 1. Sign in to Brightspace as an LMS Administrator
Sign in to your university’s LMS instance of Brightspace as a user with administrator privileges, specifically the ability to create developer keys and configure LTI apps.
Step 2. Create New LTI Advantage Tool
Go to Settings > Manage Extensibility.
Click LTI Advantage.
Click Register Tool.
Select Standard registration and then click Register.
Step 3. Register a new LTI Advantage Tool
Make sure Enabled is on.
Use the following values to configure the LTI Advantage tool. Make sure you copy, not click, the link text, and be sure to remove any leading or trailing spaces after you paste.
Field Name Field Value Name MATLAB Grader LTI 1.3
Description Automatically grade MATLAB code
Domain https://learningtool.mathworks.com
Redirect URLs https://learningtool.mathworks.com/lti/redirect
OpenID Connect Login URL https://learningtool.mathworks.com/lti/oidc
Target Link URI https://learningtool.mathworks.com/v1p3/launch
Keyset URL https://learningtool.mathworks.com/lti/jwk
Extensions Select Assignment and Grade Services. Deselect all other options so that only Assignment and Grade Services is selected.
Roles Select Send Institution Role.
Substitution parameters Leave empty.
Custom parameters Leave empty.
From Brightspace Registration Details, copy the following information to where you can find it again easily for a later step:
Client Id
Brightspace Keyset URL
Brightspace OAuth2 Access Token URL
OpenID Connect Authentication Endpoint
Issuer
Save your tool configuration, but don’t close. Click View Deployments and then go to the next step.
Step 4. Create a New Deployment
Make sure Enabled is on and Auto Migrate Links is disabled.
Use the following values to configure the deployment. Make sure you copy, not click, the link text, and be sure to remove any leading or trailing spaces after you paste.
Field Name Field Value Tool The value in this field is inherited from the tool configuration. Name MATLAB Grader LTI 1.3
Description Automatically grade MATLAB code
Extensions Select Assignment and Grade Services. Deselect all other options so that only Assignment and Grade Services is selected. Security Select Org Unit Information. This item must be checked for you to access the assignment created with this tool.
Select User ID. MATLAB Grader uses this ID so it can know when the same user is returning.
Select Link Information (and Title and Description). The title and description tell MATLAB Grader the name of the course that launched the tool, which can be useful for reporting and content management.
Configuration Settings Select Grades created by LTI will be included in Final Grade. Checking this setting allows instructors the option to create assessments whose grades are part of the final grade.
Select Auto Create Grade Items. If this option is not checked, no grade columns are created.
Substitution parameters Leave empty.
Custom parameters Leave empty.
Click the copy icon next to the Deployment Id to copy it. Then, paste it somewhere you can find it easily, with the rest of the information you gathered from the register tool page. This information is required for the next step.
Click Save.
Step 5. Register Tool Information with MATLAB Grader
Go to MATLAB Grader.
Sign in to MATLAB Grader as an LMS Administrator and click LMS Integration. Alternatively, you can access the page directly at https://grader.mathworks.com/lti_credentials.
When you sign in to MATLAB Grader, use the MathWorks® Account associated with the LMS administrator. The account holder must also be a license administrator for managing MathWorks licenses and must have been given access to MATLAB Grader by MathWorks Customer Support or by another license administrator at your university.
Enter integration values on the LMS Integration page.
Under Step 1, choose LTI version “LTI 1.3.”
Under Step 3, using the information that you copied from the tool configuration and the deployment configuration, provide the following values:
For this MATLAB Grader LMS Integration field… Enter the value you copied from this field in Brightspace (D2L): Issuer Issuer Client ID Client Id Public keyset URL Brightspace Keyset URL Access token URL or endpoint Brightspace OAuth2 Access Token URL OIDC auth request endpoint OpenID Connect Authentication Endpoint Deployment ID Deployment Id Click Submit.
Ready For Instructor Access
The integration is now complete. Instructors can now add MATLAB Grader problems to their courses.
Note
You must provide instructors with this URL:
https://learningtool.mathworks.com/v1p3/launch
. They
need this URL to create a new activity.
If instructors have already created assessment content at https://grader.mathworks.com, they can add content by following the instructions in Add MATLAB Grader Assessment Items to LMS Course.
Otherwise, instructors can go to https://grader.mathworks.com to set up collections (Create Collections and Groups) and start adding content (Add MATLAB Grader Assessment Items to LMS Course).
Getting Help
If at any point in this process you require assistance integrating MATLAB Grader with your LMS using LTI 1.3, contact MathWorks Technical Support.