[null, {"document_url": "https://community.canvaslms.com/docs/DOC-12671", "unformatted_src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/791/004/original/698e96f8-0532-4c20-aee1-08ef983d483c.png", "src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/791/004/original/698e96f8-0532-4c20-aee1-08ef983d483c.png", "formatted_filename": "e f c aee ef d c", "alt_text": "Open Account", "rendered_width": 428, "rendered_height": 576}, null, {"document_url": "https://community.canvaslms.com/docs/DOC-12671", "unformatted_src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/001/727/621/medium/f959ec2f-fa4a-4eab-a392-467b8d2876ab.png", "src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/001/727/621/medium/f959ec2f-fa4a-4eab-a392-467b8d2876ab.png", "formatted_filename": "f ec f fa a eab a b d ab", "alt_text": "Modify User Roles and Permissions", "rendered_width": 855, "rendered_height": 342}, null, {"document_url": "https://community.canvaslms.com/docs/DOC-12671", "unformatted_src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/791/002/original/2e63afe1-09c2-44da-aaa4-309cb4225867.png", "src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/791/002/original/2e63afe1-09c2-44da-aaa4-309cb4225867.png", "formatted_filename": "e afe c da aaa cb", "alt_text": "Manually Add New User", "rendered_width": 507, "rendered_height": 543}, null, {"document_url": "https://community.canvaslms.com/docs/DOC-12671", "unformatted_src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/790/998/original/2c2357d2-8503-4738-9c2b-5b278722d547.png", "src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/790/998/original/2c2357d2-8503-4738-9c2b-5b278722d547.png", "formatted_filename": "c d c b b d", "alt_text": "Add User as Admin", "rendered_width": 738, "rendered_height": 321}, null, {"document_url": "https://community.canvaslms.com/docs/DOC-12671", "unformatted_src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/791/000/original/e6334e93-efef-4ccd-be54-94a533173d8b.png", "src": "https://s3.amazonaws.com/screensteps_live/image_assets/assets/000/791/000/original/e6334e93-efef-4ccd-be54-94a533173d8b.png", "formatted_filename": "e e efef ccd be a d b", "alt_text": "Obtain API Access Token", "rendered_width": 508, "rendered_height": 438}, null]


Student Information System (SIS) Imports are a great way to manually import bulk data (or changes) into the Canvas system. This lesson will provide the basic lessons on how to use the Canvas API and the programming language of your choice to set up an automated system to manage your SIS import workflow.

Several programming languages can be used to build an automated integration tool with Canvas. If your preferred programming language can make Secure Socket Layer (SSL) web calls (HTTPS) to an external server and has the ability to post files, you can apply the steps in this lesson to the programming language of your choice (or just install cURL and write a batch file). This lesson provides a simple approach to setting up a basic automated import system. However, you may want to develop a more complex system based on your skills and the abilities of your specific SIS integration.

Testing Data Integrations

To avoid affecting data in your production environment, you may want to set up your SIS integration in your test environment for accurate testing. Every three weeks, the day after a new Canvas production release, your production environment will create an updated copy for your test environment so you can test with up-to-date data. Once you have confirmed your data works correctly, you can re-apply your SIS integration to your production environment.

Alternatively, you can create your changes in your production environment, then wait for the next refresh before you begin practicing in your test environment.

Advanced Help
 

Modify User Role and Permissions In Account Settings, open the Permissions link. In the Account Roles tab, create an account-level user role and allow the user to manage SIS data. If you do not want to create a new user role, you can use an existing user role and modify the permissions.

Manually Add New User You'll need to manually add a new user to manage the SIS data. You can use an existing user imported via SIS, but manually creating a new user is beneficial for security purposes. This new user will end up with only one permission, but that one permission grants the ability to create, modify, and delete many object types in Canvas.

Add User as Admin To enable SIS permissions, add your admin as an administrative user to your account. Set the user with the user role where you enabled the SIS data permission.

Obtain API Access Token Log out of Canvas and then log back in as the new user. In User Settings under Approved Integrations, add a new access token. Leave the expiration date blank unless you have a reason to specify a date. Learn how to obtain an API access token.

Note: Be sure to save this API access token in a safe place. An API access token is effectively the same as a username and password, so treat it with similar security. Remember that the token created in your test environment will be replaced by the token created in your production environment during the next test environment refresh period.

Import Data via API

Practice importing data via the API. One API method is using cURL, a command line tool for transferring data that is supported on all operating systems (Windows, Linux, and OSX). The API can show you how to practice importing a test file and checking the status of a previous import.

Learn more about using the API to import data into Canvas.

Create Import Script

Using your preferred programming language, create an SIS script. An SIS script automatically synchronizes the users in your institution with your Canvas account. View the SIS script flowchart.

The import script can be as simple or complex as your institution requires. Additionally, a variety of programming languages can be used to write your import script/program.

Learn more about creating a Canvas SIS script.

Export Data and Create Canvas CSV File

Export your SIS data in a Canvas CSV file format. Place the file(s  ) into a directory or folder that only contains CSV files ready to be imported. Depending on your SIS, this step may be automated. For more information on integration, please contact your Canvas Customer Success Manager.

SIS Exports

Due to extensive variations among Student Information Systems (SIS),   this lesson cannot document one all-inclusive method for exporting data. However, here are a few possible data access methods that may be available to you:

Once you know how to access your SIS data, a script/program could be written and used to manipulate and filter the data to match the format required for CSV SIS imports. In some cases, you may have to manually perform this step. You will need to work with your SIS administrative team or vendor to work out the best way to export data.

Note: While working with your SIS team, be sure to provide them with the Canvas CSV file format documentation, which may reduce the complexity of or eliminate the need for a script/program to prepare the data before the import.

Previous Topic:How do I format CSV text files for uploading SIS data into a Canvas account?
Next Topic:How do I practice using the API to import SIS data to a Canvas account?
Table of Contents > SIS Imports > How do I create an automated data integration for an account with Canvas and my SIS?



