Open edX Integration
Kyron Learning integrates with Open edX over LTI 1.3. Course teams add Kyron Modules and Kyron Conversations to their courses as LTI components, and learners open them without leaving Open edX. Kyron sends grades back to the Open edX gradebook. For Kyron Conversations, Kyron also reads your course content through the Open edX API, so instructors can build a conversation from pages, files and videos already in their course.
Requirements
Kyron Learning account: a Kyron Admin user in the Kyron organization you want to connect.
Open edX administrator access: a superuser account for your Open edX site’s Django admin, and Course Team access in Open edX Studio for the courses that will use Kyron.
Open edX operator access: someone who can install Open edX plugins and turn on waffle flags, for example through Tutor. Reusable LTI configurations need the LTI Store plugin.
Configuration
1. Register Kyron in the Open edX LTI Store
The LTI Store holds one reusable Kyron registration that every Kyron component in every course points to. Without it, each new LTI component gets its own client ID, and each one has to be registered with Kyron separately.
Ask your Open edX operator to install the LTI Store plugin (for Tutor, the tutor-contrib-ltistore plugin) and to turn on the waffle flag lti_consumer.enable_external_config_filter for everyone. The flag adds the “Existing” configuration type to LTI components.
Important for Kyron Conversations: also ask your operator to set FEATURES["ENABLE_HTML_XBLOCK_STUDENT_VIEW_DATA"] = True. With it, Kyron reads a Text component’s full HTML and the course files it links to, such as PDFs and slides. Without it, Kyron reads only the page’s plain text. After turning it on, re-publish each course (or run ./manage.py lms generate_course_blocks --courses <course id> --force_update) so Open edX serves the new data.
Sign in to the Django admin at https://<your LMS host>/admin and open Lti_Store > External lti configurations. Click Add.
Fill in the fields below:
Name: Kyron Learning
Slug: kyron-learning (you’ll use this in step 4)
Version: LTI 1.3
LTI 1.3 Deployment ID: 1
LTI 1.3 OIDC URL: https://www.kyronlearning.com/lti/v1/initiate
LTI 1.3 Launch URL: https://www.kyronlearning.com/lti/v1/launch
LTI 1.3 Redirect URIs: ["https://www.kyronlearning.com/lti/v1/launch", "https://app.kyronlearning.com/lti/v1/launch"].
LTI 1.3 Tool Keyset URL: https://www.kyronlearning.com/.well-known/jwks.json (leave LTI 1.3 Tool Public Key empty)
Enable LTI Advantage Deep Linking: checked
LTI Advantage Deep Linking launch URL: https://www.kyronlearning.com/lti/v1/launch
LTI Advantage Assignment and Grade Services Mode: Allow tools to submit grades only (declarative)
Click Save, then open the configuration again. Open edX fills in the LTI 1.3 Client ID. Copy it for step 2.
To let Kyron show learners by name in its dashboards, turn on PII sharing for each course that will use Kyron. In the Django admin, open Lti_Consumer > Course allow pii sharing in lti flags and click Add. Enter the course ID (for example, course-v1:Org+Course+Run), check Enabled and click Save. Without it, Kyron reports learners as anonymous.
2. Register Open edX as an LTI Platform on Kyron
As a Kyron Admin user, navigate to Settings > Integrations at https://www.kyronlearning.com/studio/settings/integrations and click Register Platform.
Fill in the fields below. Replace <LMS host> with your Open edX LMS address (for example, lms.institution.edu) and <slug> with the slug from step 1.
Issuer: https://<LMS host>
Client ID: the LTI 1.3 Client ID from step 1
Deployment ID: 1
Keyset URL: https://<LMS host>/api/lti_consumer/v1/public_keysets/lti_store/<slug>
OIDC Auth URL: https://<LMS host>/api/lti_consumer/v1/launch
Access Token URL: https://<LMS host>/api/lti_consumer/v1/token/lti_store/<slug>
Click Save. You should now see a new entry in your Integrations list.
3. If using Kyron Conversations: link the Open edX API
Kyron Conversations let instructors build a conversation from content already in their Open edX course, such as a page, a linked file or a video. To read that content, Kyron calls the Open edX API as a service user your school creates. Before you start, ask Kyron support to turn on creating from your LMS for your organization.
In the Django admin, open Users and add a user for Kyron, for example kyron-service. Don’t reuse a person’s account: the API client acts with that user’s permissions.
Give the user staff access in one of two ways:
Global staff: check Staff status on the user in the Django admin. This covers every course on your site.
Course staff: add the user to the Course Team of each course that will use Kyron Conversations. This is tighter, but each new course needs the user added.
In the Django admin, open Django OAuth Toolkit > Applications (https://<LMS host>/admin/oauth2_provider/application/) and click Add Application. Fill in the fields below:
User: the Kyron service user
Client type: Confidential
Authorization grant type: Client credentials
Name: Kyron Learning
Redirect uris: leave empty
Copy the Client id and Client secret before you click Save. Don’t mark the application as a Restricted Application: Open edX rejects tokens from restricted applications on the course APIs Kyron uses.
As a Kyron Admin user, navigate to Settings > Integrations at https://www.kyronlearning.com/studio/settings/integrations, find LMS API Settings and select the Open edX tab. Fill in the fields below:
Open edX Host: your LMS address, without https:// or a path (for example, lms.institution.edu). Use the LMS host, not the Studio host, and make sure it matches the Issuer from step 2.
Open edX Client ID: the Client id from the step above
Open edX Client Secret: the Client secret from the step above
Click Save, then click Test connection to confirm that Kyron can reach your Open edX API. Instructors can now build Kyron Conversations from their Open edX course content.
Kyron fetches a new API token every hour on its own, so there is nothing to renew. Update the client secret in Kyron only if your school rotates it.
4. Add Kyron to a course in Open edX Studio
In Open edX Studio, open the course and go to Settings > Advanced Settings. Add "lti_consumer" to Advanced Module List and save.
In a unit, click Advanced and select LTI Consumer.
Click Edit on the new component and fill in the fields below:
Display Name: a name your learners will see
Configuration Type: Existing
LTI Reusability ID: lti_store:<slug> (for example, lti_store:kyron-learning)
This activity is graded: True, if the activity should count toward the learner’s grade
Open tool in: Inline. Kyron needs to load inside the page; New Window shows only a launch button.
Share Username, Share Full name and Share Email: turned on, so Kyron’s dashboards show learners by name. These appear once PII sharing is on for the course (step 1).
Click Save.
In the component’s preview, click the Deep Linking link to open Kyron, then:
If using Kyron Modules: choose a module from your Kyron organization and submit your selection.
If using Kyron Conversations: pick the page, file or video in your Open edX course to build the conversation from, and follow the prompts to create it. This needs the Open edX API link from step 3.
When you submit, Open edX shows a page of technical details (JSON) confirming what it saved. This is normal; it doesn’t return you to the unit. To see the result, open the unit in the LMS (click View Live in Studio).
If using Kyron Conversations: finish creating the conversation there. Open the unit in the LMS, where Kyron loads inside the page, and complete the steps.
Publish the unit. Learners can now open Kyron from the course, and their scores go to the Open edX gradebook.
Copying or duplicating a Kyron component keeps its configuration. Course reruns and imports lose the Deep Linking selection, so repeat the Deep Linking step after a rerun.
If you encounter any questions during the integration process, contact Kyron Learning support at [email protected].