LTI Connection (Open edX®)
LTI Connection
Section titled “LTI Connection”This guide adds an AI Microapp into an Open edX course via LTI so we can authenticate the user and pass a grade back to the LMS. More LMS options coming soon
Note: The grade is pass/fail based on whether or not the user successfully reached the end of the exercise.
# IN ONMICRO.AI
- Navigate to your dashboard (https://onmicro.ai/dashboard)
- Confirm your app is marked ‘public’

- From the kebab menu for your app, click on ‘Share’

- Go to the LTI tab

- Keep this tab up. You will use it in the next steps on Open edX
## ON OPEN EDX
-
Go to your Open edX® Studio
-
In the course where you will be placing the app, add “lti_consumer” to the list of advanced apps.
-
In your course, add an LTI Consumer component

-
Edit the LTI Consumer Component

Configure the following fields. Any unmentioned fields can keep the default values.
| Field | Value |
|---|---|
| Display Name | [Your name for the app to display in the LMS] |
| LTI Version | LTI 1.3 |
| Tool Launch URL | [Get this from onmicro.ai Tool Launch URL] |
| Tool Initiate Login URL | [Get this from onmicro.ai Tool Initiate URL] |
| Tool Public Key Mode | Keyset URL |
| Tool Keyset URL | [Get this from onmicro.ai JWKs URL] |
| Deep Linking | False |
| LTI Launch Target | New Window |
| Scored | True |
- Save the component. If successful, the LMS should generate some values for you to pass back to the LTI Provider (onmicro)
# IN ONMICRO.AI
-
From your LTI settings for your app, paste the following values that were generated from Open edX

| Field | Value |
|---|---|
| Issuer | [The URL for your LMS e.g. https://sumac.curricu.me] |
| Client ID | [Get this from Open edX LTI Consumer Client ID] |
| Auth Login URL | [Get this from Open edX LTI Consumer Login URL] |
| Auth Token URL | [Get this from Open edX LTI Consumer Access Token URL] |
| Keyset URL | [Get this from Open edX LTI Consumer Keyset URL] |
| Deployment ID | [Get this from Open edX LTI Deployment ID] |
- Save your configuration

## ON OPEN EDX
- Confirm your unit is published

- ‘View Live’ to view your unit, and launch your exercise

- Complete the exercise in the new window. Try to reach the end of the exercise and pass.

- Navigate back to Open edX and check your gradebook. You should have a score of 100 (Note: You’ll likely need to ‘Edit Filters’ and ‘Include Course Team Members’ to see your score)