Integrate CXone and Okta with SCIM
Complete each of these tasks in the order given.
Create an Access Key to Authenticate with Okta
You will need to set up an access key to authenticate Okta with CXone. This involves creating a new role and employee profile dedicated to the authentication.
- In CXone, click the app selector and select Admin.
-
Add a new role for the access key.
- Go to Security > Roles and Permissions.
-
Click New Role.
- Give the role a descriptive name. For the use case described previously, you might call it SCIM Access Key.
-
Click the Permissions tab. Select the Admin tab on the left and enable the Employees Create and Edit permissions. The View permission will be automatically enabled.
-
Click Save & Activate.
-
Create a new employee profile for the access key:
-
Click the app selector and select Admin.
-
Click Employees.
- Click Create Employee.
-
Give the employee profile an email address you own so that you can activate the employee account later.
-
Give the employee profile a descriptive first and last name. For example, SCIM AccessKey.
-
In the Primary Role drop-down, assign the employee to the role you just created.
-
In the Attributes drop-down, clear all checkboxes so you aren't charged for the account.
-
Click the Security tab and select a Login Authenticator.
-
Click Create.
-
-
In the Employees table, find and click the new employee profile you created to open it.
-
Click the Security tab.
-
Under Access Keys, click Add access key.
-
Copy the Access Key ID and paste it somewhere you can save it.
-
Click (SHOW SECRET KEY).
-
Copy the Secret Access Key and paste it where you want to save it. If you ever lose the secret key, you'll need to create and share a new one.
-
Click Save.
-
In the Employees table, click Invite next to the new employee profile you created.
-
When you receive the account activation email, follow the instructions in the email to activate the account.
-
Share the access key only with users you want to use the service.
Create and Configure an Okta Application
Before you begin, make sure you have access to Okta. You will need to create an application.
-
Log in to your Okta management account.
-
Click Applications menu > Create App Integration.
-
Select SWA as the method and click Next.
- Enter the name you want to use to identify this integration, and click Next.
- Enter your CXone login page URL in the App's login page URL field.
- Click Finish.
Enable SCIM Provisioning
-
In the Okta application you just created, click the General tab.
-
Click Edit in the App Settings window.
-
Select Enable SCIM provisioning.
-
Click Save.
Set the SCIM Settings
-
In the Okta application you created previously, click the Provisioning tab.
-
Click Edit in the SCIM Connection window.
-
Enter the SCIM connector base URL. This URL is different based on region. It will follow this format: https://(region)nice-incontact.com/scim/v2. For example, the SCIM connector base URL for the NA1 region is https://na1.nice-incontact.com/scim/v2.
-
Enter userName in the Unique identifier field for users field.
-
Select Push New Users and Push Profile Updates in the Supported provisioning actions field.
-
Select OAuth 2 as the Authentication Mode.
-
Enter https://cxone.niceincontact.com/auth/token as the Access Token Endpoint URI. For Fedramp, enter https://cxone-gov.niceincontact.com/auth/token as the Access Token Endpoint URI.
-
Enter https://cxone.niceincontact.com/auth/authorize?scope=openid as the Authorization endpoint URI. For Fedramp, enter https://cxone-gov.niceincontact.com/auth/authorize?scope=openid as the Authorization endpoint URI.
-
Enter the access key ID you saved earlier in the Client ID field.
-
Enter the secret key you saved earlier in the Client Secret field.
-
Click Save.
Authenticate with CXone
-
In the Okta application you created previously, click the Provisioning tab.
-
Go to Settings > Integration.
-
Scroll to the bottom of the page and click Authenticate with CXONE.
-
Log in to CXone.
Set Provisioning Actions
-
In the Okta application you created previously, click the Provisioning tab.
-
After the integration is verified, go to Settings > To App.
-
Click Edit and select Create Users, Update User Attributes, and Deactivate Users.
Learn more about fields in this stepField Details Create Users Enabling this setting will allow you to create users in CXone with the Okta application. Update User Attributes
Enabling this setting will allow you to update user attributes in CXone with the Okta application.
Deactivate Users Enabling this setting will allow you to deactivate users in CXone with the Okta application. -
Click Save.