Skip to main content

LTI & API Integration Setup - U.S. Schools

Written by Support Team

LTI Integration Setup

Integration Steps:

Step 1: Click Site administration > Plugins > Manage tools

Step 2: Enter in "https://us.kritik.io/api/v1/lti/register" in the input and click "Add LTI Advantage":

Step 3: Click "Activate":

Last step: check that instructors can see Kritik

Open a test course as an instructor and confirm Kritik shows where instructors add it. If it doesn't, instructors can't set up Kritik, so please fix it before telling them it's ready.

With editing on, Add an activity or resource lists Kritik. If it doesn't: Site administration > Plugins > Activity modules > External tool > Manage tools, edit Kritik and set Tool configuration usage to "Show in activity chooser and as a preconfigured tool".

Once the LTI integration setup is complete, continue with the API integration setup steps below.

API Integration Setup

Integration Steps:

Step 1: Click Site Administration > General > Advanced features

Step 2: Check Enable web services, then click Save changes

Step 3: Go back to Site administration, click Server tab

Step 4: Click Manage protocols

Step 5: Enable the REST protocol and Save Changes

Step 6: Go back to Site administration > Server and click External services

Step 7: Click Add

Step 8: Name it Kritik, check Enabled, check Authorized users only, then click Add service

Step 9: Click Add functions

Step 10: Add each of the following via the `Add functions button:

  • core_webservice_get_site_info

  • gradereport_user_get_grade_items

  • core_grades_update_grades

  • core_enrol_get_enrolled_users

  • core_group_get_course_groups

  • core_group_get_course_groupings

  • core_group_get_groupings

  • core_group_get_group_members

  • core_calendar_create_calendar_events

  • core_calendar_delete_calendar_events

Step 11: Go back to External services and click Authorized users:

Step 12: Create a Kritik Admin user by clicking Users > Accounts > Add a new user

Step 13: Fill in the following:

  • Username: kritik

  • New password: Any password you want (remember to record it somewhere!)

  • First name: Kritik

  • Last name: API

  • Email address: A production admin address (ie. admin@yourschool.com)

Step 14: Click Create user

Step 15: Click Site Administration > Server > External Services

Step 16: Click Authorised users

Step 17: Find the user you just created (ie. kritik) on the right and click Add

Step 18: Click Site administration > Server Manage tokens

Step 19: Click Create token

Step 20: Set the User and Service and click Save changes

  • User: kritik

  • Service: Kritik

Step 21: You should see the newly created API token

Step 22: Finally, copy the token above and your LMS URL and send it to lms@kritik.io

  • Token: xxx

  • LMS URL: The URL to your Moodle instance

That's it! Once we receive the token. We'll reply after confirming it works on our end!

Did this answer your question?