1 Click Site Administration > General > Advanced features
2 Check Enable web services, then click Save changes
3 Go back to Site administration, click Server tab
4 Click Manage protocols
5 Enable the REST protocol and Save Changes
6 Go back to Site administration > Server and click External services
7 Click Add
8 Name it Kritik, check Enabled, check Authorized users only, then click Add service
9 Click Add functions
10 Add each of the following via the `Add functions button:
core_webservice_get_site_infogradereport_user_get_grade_itemscore_grades_update_gradescore_enrol_get_enrolled_userscore_group_get_course_groupscore_group_get_course_groupingscore_group_get_groupingscore_group_get_group_memberscore_calendar_create_calendar_eventscore_calendar_delete_calendar_events
11 Go back to External services and click Authorized users:
12 Create a Kritik Admin user by clicking Users > Accounts > Add a new user
13 Fill in the following:
Username:
kritikNew password: Any password you want (remember to record it somewhere!)
First name:
KritikLast name:
APIEmail address: An production admin address (ie.
admin@yourschool.com)
14 Click Create user
15 Click Site Administration > Server > External Services
16 Click Authorised users
17 Find the user you just created (ie. kritik) on the right and click Add
18 Click Site administration > Server Manage tokens
19 Click Create token
20 Set the User and Service and click Save changes
User:
kritikService:
Kritik
21 You should see the newly created API token
22 Finally, copy the token above and your LMS URL and send it to lms@kritik.io
Token:
xxxLMS 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!





















