> For the complete documentation index, see [llms.txt](https://docs.codeocean.com/admin-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codeocean.com/admin-guide/v2.6/the-admin-dashboard/scim-provisioning-using-okta.md).

# SCIM Provisioning using Okta

The System for Cross-domain Identity Management (SCIM) user management API enables automatic provisioning of users between the Code Ocean platform and Okta.&#x20;

### Requirements

* Administrator or higher for Okta
* Administrator in Code Ocean

### Creating a Custom Application

1. Navigate to Okta using the the URL provided to you in your activation email for example <https://dev-12345678-admin.okta.com>
2. Sign in with your username/email address and Password
3. Click **Applications** from the main and sub menu
4. Code Ocean is not included in the App Catalog, an App Integration must be created

### **Configuring Provisioning**

1. Click **Create App Integration**

2\.  Select the Sign in method

3\.  Enter the General App Setting information and click **Finish**.

4\.  Select and click on the SCIM protocol, to synch the application to the Code Ocean platform

5\.  Click **Provisioning**

6\.  Click **Integration**

7\.  To integrate the API click **Edit**

8\. in **Unique identifier field for users** enter "email"

9\. Choose **Http Header** in **Authentication Method**

10\.  To enable the API Integration you need to obtain the credentials from Code Ocean

### **Code Ocean Credentials**

1. Sign into your Code Ocean platform
2. Click **Admin**

   ![](https://4132541140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxvPl6BLF6XBQCjliAUJ%2Fuploads%2FoBWPLLvJy9g0u4DS1Q02%2FAdmin%201.jpeg?alt=media\&token=f591d1c0-dd3d-4d05-806c-43ff9c2bf70f)
3. Click **Integrations**

   ![](https://4132541140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxvPl6BLF6XBQCjliAUJ%2Fuploads%2FBKJymduANUdMI3aVCqVT%2FIntegrations.jpeg?alt=media\&token=bd1cbf0c-71fe-45c2-85f6-187a7be6ff05)
4. Scroll down to SCIM
5. Click **Copy to clipboard** to copy the URL and paste it in **Base URL** in Okta
6. Click **Generate new token** and paste in to **Authorization** in Okta

<div align="left"><img src="https://4132541140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxvPl6BLF6XBQCjliAUJ%2Fuploads%2FXLRo3OuAC1eww7RP7c4Z%2FSCIM%20URL%20and%20Token.jpeg?alt=media&amp;token=99c0f6cb-3f6a-4925-9411-438870a04c3f" alt=""></div>

8\.  Click **Test API Credentials**

9\.  A confirmation message appears when the SCIM is successfully verified

10\.  Click **Save**

## Assigning Users and Groups

### Set Up User Provisioning

To assign groups, synch individuals into a group and synch the group's name to the system:

1. Click the **Assignments** tab

   To assign individuals to a group
2. Click **Assign**
3. Click **Assign to Groups**

![](https://4132541140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxvPl6BLF6XBQCjliAUJ%2Fuploads%2FfLwOSV449BNd6mTNLc0x%2FAssign.jpeg?alt=media\&token=d64a90c2-0f20-4981-a927-e980d6bc3562)

4\.  To assign users to a group click the name of the group

5\.  Click **Assign People**

6\. Add or Remove members to or from the group by selecting the member,  then click + or -

7\.  Click **Save**

![](https://4132541140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxvPl6BLF6XBQCjliAUJ%2Fuploads%2F6ljMNvmiW7M0G0GBcw0G%2FAddRemove.jpeg?alt=media\&token=d56f46f7-9a9b-454a-b510-4e7dbe907c34)

8\. To assign the group to the server select the **Push Groups** tab

9\.  Click **Push Groups** will synch the Group in Code Ocean

1&#x30;**.**  Click **Find groups by name**

![](https://4132541140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxvPl6BLF6XBQCjliAUJ%2Fuploads%2FsnEOc4PgmNzBSBN8x6Zr%2FPushGroups.jpeg?alt=media\&token=5fb96bba-e421-4490-b078-c423409066b6)

11\. Enter the name of the group

12\.  Click **Close**

To view the group in Code ocean navigate to the capsule, click **Share,** in  Set Permissions for capsule click the dropdown, the group will show in the list. Any changes made to the group will synch back to Okta when saved.
