Directory Sync via SCIM
Sync your corporate directory via SCIM to onboard and offboard users automatically.
Admins can use SCIM to automatically create users, update their profiles, deactivate accounts, and sync directory groups as departments.
Where to configure
- Open Admin → Security → Manage Users → Directory Sync.
- Enable SCIM provisioning.
- Click Generate Token.
- Copy the SCIM Base URL and Bearer Token.
Copy the Bearer Token immediately. It is only shown once. Generating a replacement token invalidates the previous token; update your identity provider with the new token.
Microsoft Entra ID
- In the Azure portal, open Microsoft Entra ID → Enterprise Applications → New application.
- Click Create your own application, name it ContractsAI Provisioning, and select Integrate any other application you don't find in the gallery (Non-gallery).
- Click Create, then open Provisioning and select Automatic provisioning.
- Under Admin Credentials, enter the ContractsAI SCIM Base URL as the Tenant URL and the Bearer Token as the Secret Token.
- Click Test Connection, then save.
- Under Mappings, confirm the user mappings:
userPrincipalName→userNamegivenName→name.givenNamesurname→name.familyName
- Enable group provisioning if you want to sync departments.
- Set the scope to Sync only assigned users and groups, assign the users and groups to provision, and start provisioning.
Entra security groups sync as departments. Membership changes update department assignments in ContractsAI.
Okta
Connect Okta to ContractsAI
-
Create a custom app integration that supports SCIM using Okta’s setup guide.
-
Open General → App Settings → Edit, select SCIM provisioning, and save.
-
Open Provisioning → Settings → Integration → Edit.
-
Configure the connection:
Setting Value SCIM connector base URL SCIM Base URL copied from ContractsAI Unique identifier field for users userNameSupported provisioning actions Push New Users, Push Profile Updates, Push Groups Authentication Mode HTTP Header Authorization Bearer Token generated in ContractsAI -
Click Test Connector Configuration, then save.
Enable user provisioning
-
Open Provisioning → To App → Edit.
-
Enable Create Users, Update User Attributes, and Deactivate Users.
-
Set the app username to the user’s email address. Confirm these mappings:
Okta attribute SCIM attribute Email address userNameFirst name name.givenNameLast name name.familyName -
Save, then assign users under Assignments.
Sync departments
Open Push Groups and select the department groups to sync. Group names and membership changes update the corresponding departments in ContractsAI.
Each user can belong to one department in ContractsAI. Push department groups with non-overlapping membership.
Verify provisioning
Assign a test user and confirm their account appears in ContractsAI. Update their name, unassign them, and reassign them to verify profile updates, deactivation, and reactivation.
For departments, push a test group and verify renaming it and adding or removing members updates ContractsAI.
Password sync and custom profile attributes are not supported.
Google Workspace
For a Google Workspace directory, use a compatible provisioning provider, such as Okta, to provision users into ContractsAI. Connect your directory to that provider, then configure its SCIM connection using the instructions above.
Did this answer your question?