How do I generate a Canvas Data 2 API key?
As an account admin, you can generate a Canvas Data 2 Client ID and Secret using Identity Services. Once you generate a Client ID and Secret, you can manage Canvas Data 2 API key.
Notes:
- Your institution must be included in the account domain lookup. Please contact your Customer Success Manager if your institution does not appear in the search list.
- You must be logged into Canvas to authorize access.
Find Institution
In your web browser, visit identity.instructure.com. In the Institution drop-down menu, search for your institution by entering its name [1]. Once it appears, click your institution's name [2].
Note: If your institution does not appear in the search list, please contact your Customer Success Manager about account domain lookup.
Log into Identity Services
![Log into Identity Services](https://media.screensteps.com/image_assets/assets/006/900/154/original/ebd218c0-f09f-48bf-b086-479916f09dfc.png)
Click the Log In to Canvas button.
Authorize Access
![Authorize Access](https://media.screensteps.com/image_assets/assets/006/900/156/original/5b7af2fb-d93e-412b-a139-b173a373a3ed.png)
To authorize Identity Service to access your account, click the Authorize button.
Add New Key
To add a new key, click the Add New Key button.
![Save New Key](https://media.screensteps.com/image_assets/assets/008/952/878/original/16a9e918-3bdc-49b0-aeef-452ce0c0ecbe.png)
In the Key Name field, enter a name for the key [1].
In the Scope drop-down menu, select Canvas Data 2 [2].
In the Expiry drop-down menu, select the expiration time (1 day, 1 week, 1 month, 6 months, 1 year) [3].
In the Key Type section, click the Institutional Use or Instructure Partner radio button [4].
Click the Save button [5].
Copy API Key and Secret
To reveal your Client ID and Secret, click the Reveal OAuth Credentials button [1].
To copy your Client ID and Secret, click the Copy Text button next to the Client ID and Secret fields [2].
To avoid accidental closing before copying the Client ID and Secret, you need to click the Click 3 more times to close button [3].
Notes:
- The Client ID and Secret window can only be opened one time. When you close it, you cannot reopen it.
- If you do not copy the generated Client ID and Secret and close the window, you will need to generate a new Client ID and Secret.
View Generated API Key
View the generated API key name. Once the API key is generated, you can manage the API key.