How to Set Up Advanced Canvas Integration

Before proceeding with the set up, it is a best practice to import the required data files in System Administration.

Canvas - Required Data Mapping in System Administration & Canvas

It is best practice for a designated account to be created for the purpose of setting up the integration. An existing Canvas Administrator account can be used, but if those accounts are deactivated (ie., someone departs your organization), the integration will need to be reauthorized.

The Canvas user whose credentials are used to authorize the integration should be associated with only one Canvas account:

  • The root account, if the institution is using their own standalone Canvas instance- OR
  • The relevant sub-account, if the institution is part of a shared Canvas instance.

This ensures that P&SS pulls data reliably from the correct account, and user have access to the expected assessment data.

Setting Up the Advanced Canvas Integration

  1. Create an account role within Canvas, specifying a set of permissions, and assign it as an administrator for the root organization in the institution hierarchy. This action will facilitate the retrieval of all assessment data from Canvas to P&SS.
    • Please follow the steps to create an account role in Canvas.
      • Open Account. In Global Navigation, click Admin link [1], then click name of the account [2]. The Admin menu showing All Accounts link and Documentation Canvas link, with number 1 highlighting Admin tab and number 2 at Documentation Canvas option.
      • Open Permissions. In Account Navigation, click the Permissions link. The navigation menu showing Permissions link highlighted between Statistics and Outcomes.
      • Open Account Roles. Click the Account Roles tab. The tabs for Course Roles and Account Roles, with Account Roles tab highlighted.
      • Add Role. Click the Add Role button. Add Role button.
      • Add Role Name. In the Role Name field, type the name of the new role. The New Account Role dialog showing Role Name field outlined for entry.
      • Save Role. Click the Save button. The Save Role section showing Cancel and Save buttons, with Save highlighted.
      • View Account Role. View the new account-level role. The Account Roles page showing permission role filter with Account Admin and Analytics Manager highlighted, table listing permissions with check and cross indicators under each role, and Add Role button on right.
    • Upon creating a new account role in Canvas, provide the following permissions to the role.
      • Account-level settings - manage
      • Course Content - view
      • Courses - view list
      • Discussions - view
      • Grades - view all grades
      • Manage Assignments and Quizzes
      • Rubrics - add / edit / delete
      • SIS Data - read
      • Users - view list
      • Users - view login IDs
      • Users - view primary email address
    • Make sure that the user of an account role (the one created from the above steps) is added as an account admin in Canvas. Please refer to the following steps on how to add a user as an account admin in Canvas.
      • Log in as an administrator in Canvas.
      • Click Admin on the left hand navigation.
      • Select the account or sub-account where the user will be added as an admin.
      • Click Settings.
      • Click the Admin tab.
      • Click on +Account Admin button.
      • Select the role (the role created in the above steps) in Add More drop down. Add the email address of the user.
      • Click Continue.
      • Click "OK Looks Good, Add This 1 User."

        The user will be added as an account admin.

  2. To enable this feature, a P&SS institution must request backend flagging in the database, a process facilitated by the Watermark engineering team.

Create API Developer Key & Enable scoping for a developer API key

NOTE: By default, the scoping is disabled when creating a developer key. For the institutions that had already set up their integrations the scope option will be disabled. However, the scopes can be updated for a developer API key at any time.

  • In Account Navigation, click the Developer Keys link. Open Developer Keys.

The navigation menu showing list of links with Developer Keys highlighted between Themes and Canvas Data Portal.

  • Click the Add Developer Key button. Add Developer Key
The Developer Key option to select.
  • Click the Add API Key option. Add API Key.

The Developer Key menu expanded showing options API Key and LTI Key, with API Key highlighted.

  • After completing the developer key information, click the Enforce Scopes button. By default, the scopes are disabled.

The Enforce Scopes toggle switched off.

  • To permit usage of all included parameters for this key, click the Allow Include Parameters checkbox.

The Enforce Scopes toggle switched on and Allow Include Parameters checkbox selected.

  • Search the endpoints that are required to fetch the necessary assessment data. To search for a specific endpoint, type the name of the endpoint in the Search Endpoints field. To see all available endpoints, scroll through the Endpoints table.

The section showing Enforce Scopes toggle on, search endpoints field on right, and list of scope categories below including Read only, Account Domain Lookups, Account Notifications, Account Reports, Accounts, Admins, Analytics, and Announcement External Feeds.

  • Save the API Key.

The Cancel and Save buttons, with Save highlighted.

  • Enable the API Key.

    The API Key entry showing key name with No Email label, Show Key button, access token count with created and last‑used timestamps, and status toggle switched on with edit and delete icons.

This does not require any changes in the Planning & Self Study application. Once the scopes are enabled, we can utilize the key to make the connection to Canvas in P&SS.

Required API Endpoints

These are the endpoints that must be selected in an API key. The endpoints below will fetch the Courses, Assignments, Quizzes, Discussions, Rubrics, and results data from Canvas.

  1. Accounts: GET|/api/v1/accounts
  2. Accounts: GET|/api/v1/accounts/:account_id/sub_accounts
  3. Accounts: GET|/api/v1/accounts/:account_id/courses
  4. Assignments: GET|/api/v1/courses/:course_id/assignments
  5. Enrollment Terms: GET|/api/v1/accounts/:account_id/terms
  6. Rubrics: GET|/api/v1/courses/:course_id/rubrics
  7. Rubrics: GET|/api/v1/courses/:course_id/rubrics/:id
  8. Rubrics: GET|/api/v1/accounts/:account_id/rubrics
  9. Sections: GET|/api/v1/courses/:course_id/sections
  10. Submissions: GET|/api/v1/courses/:course_id/students/submissions
  11. Users: GET|/api/v1/accounts/:account_id/users

Key things to consider when enabling scopes

  1. All the required endpoints must be selected in the key in order to make the integration work seamlessly. The integration will not work even if one of these endpoints is missed.
  2. Allow Include Parameters option must be selected in an API key. "Includes" parameters may grant access to additional data that is not included in the Endpoints table.
  3. Make sure that no additional endpoints are selected other than the required ones in an API key.
  4. Scopes must be enabled for the API key.
  5. If the scopes are removed, the refresh token will become invalid, causing the integration to disconnect. The user will need to reauthorize the integration after re-adding the necessary scopes.
  6. Make sure that the API key is in enabled state.

Use the API key to set up Integration in P&SS

The following are the steps to enable integration and align results from Canvas in order to add measures to an outcome and get results.

  1. In P&SS, navigate to Integrations under the Admin section.
  2. Click on Connect to Canvas LMS button in Canvas LMS card under Other Integrations section to open canvas integration flyout. The Admin Integrations page showing Other Integrations section with Canvas, Canvas LMS, and D2L Brightspace tiles, with Canvas LMS tile highlighted and Connect to Canvas LMS button displayed.
  3. Click on COPY URI. The Canvas LMS Establish Connection page showing URI field with Copy URI button, followed by ID and Key fields with instructions and Close button at bottom.
  4. Paste the URI from Step 1 into the field called Redirect URIs in the Canvas API key. Save the key. The Key Settings page showing Key Name and Owner Email fields, Redirect URIs field highlighted, Enforce Scopes toggle on, Allow Include Parameters checkbox, and list of permission categories including Access Tokens, Account Calendars, Account Domain Lookups, Account Notifications, and Account Reports.
  5. Find the key you just created. Copy the ID and Key from the Details column in Canvas and paste them in ID and Key columns in P&SS.The Canvas LMS Establish Connection panel showing ID and Key fields highlighted for entering values from Canvas, followed by canvas URL field and Authorize Canvas button, with Close button at bottom.
  6. Paste the institution’s canvas URL in canvas URL field. The Canvas LMS Establish Connection panel showing canvas URL field highlighted for entering institution URL, with Authorize Canvas and Close buttons below.
  7. Users are presented with two options to select the terms for which they need data:
    1. Option 1: "Use all terms that are mapped in Watermark System Admin". The Canvas LMS Establish Connection panel showing term selection section with option Use all terms that are mapped in Watermark System Admin selected above the second option.When this option is selected:
      • Upon activating the integration, the system will perform a data sync.
      • The sync will only pull data for terms that have a corresponding SIS ID in Canvas, provided those terms are mapped in the Watermark System Admin.
        • Both the term SIS ID in Canvas and the term ID in the Watermark System Admin must match for the term to be included in sync. The Term Details page showing Term Name and highlighted SIS ID fields on left, access date fields for students, teachers, TAs, and designers on right, and Cancel and Add Term buttons below.  The Edit Term panel showing Term Name and Term ID fields, Start Date and End Date fields with date pickers, and Cancel and Save buttons at bottom.
      • The assessment data for the mapped terms will be pulled into P&SS.
      • For bi-weekly syncs, only the assessment data for the current mapped terms will be pulled into P&SS.
      • If a manual sync is triggered, the system will pull assessment data for all terms that are mapped in the system administration.
      • Note: If this option is selected then the terms in Canvas and System Administration must be mapped. Canvas term SIS ID and Term’s Term ID in System Administration should be added and match.
    2. Option 2: "Enter the number of past terms you need activity data from". The Canvas LMS Establish Connection panel showing term selection section with option to enter the number of past terms selected, Number of past terms field displayed with value entered, and note indicating support for up to six past terms.When this option is selected:
      • A field will appear where the user can specify the number of past terms from which activity data should be pulled.
      • We can pull up to 6 terms worth of past data.
      • If this option is selected, then following Terms data will be pulled from Canvas.
        • Maximum of six past Canvas Terms.
          • Note: If an institution would like to pull data for more than six past terms then this can be done through a backend request.
          • Note: Date range must be added for terms in Canvas if this option is being selected when establishing the connection.
        • All current Canvas terms.
        • Two future Canvas terms.
  8. Click Authorize Canvas button.

    The Canvas LMS Establish Connection panel showing Authorize Canvas button highlighted below canvas URL field, with Close button at bottom.

  9. A new tab opens up to the canvas application login page.
  10. Log in to the application using the credentials of the account role user (the role that was set up with all required permissions).
  11. Click Authorize.

    The Canvas authorization window showing Cancel and Authorize buttons highlighted next to Canvas LMS Establish Connection page displaying URI, ID, Key, canvas URL fields, Authorize Canvas button, and Close button.

  12. A success message will appear in the establish connection form.

    (Please note that the ID and Key need to be filled in to connect successfully)

    The Canvas LMS Establish Connection panel showing canvas URL entered and success message stating You have connected successfully, with Authorize Canvas and Close buttons below.

  13. Close the form. A snackbar success message appears below. The appropriate status for the integration can also be viewed.

    The Active Integrations section showing Canvas LMS tile marked Connected with activation and last‑used dates, and notification stating Your Canvas LMS integration is now active displayed at bottom.

Was this article helpful?
1 out of 2 found this helpful

Articles in this section

How to Contact Support
There are many ways to reach out! Click the icon above for our support options.
Watermark Academy
Click the icon above to access the Watermark Academy for consultation, training, and implementation companion courses.
Customer Community
Can’t find the answer? Ask fellow users how they’re making the most of Watermark in our Community!