Contracts AI

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

  1. Open Admin → Security → Manage Users → Directory Sync.
  2. Enable SCIM provisioning.
  3. Click Generate Token.
  4. 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

  1. In the Azure portal, open Microsoft Entra ID → Enterprise Applications → New application.
  2. Click Create your own application, name it ContractsAI Provisioning, and select Integrate any other application you don't find in the gallery (Non-gallery).
  3. Click Create, then open Provisioning and select Automatic provisioning.
  4. Under Admin Credentials, enter the ContractsAI SCIM Base URL as the Tenant URL and the Bearer Token as the Secret Token.
  5. Click Test Connection, then save.
  6. Under Mappings, confirm the user mappings:
    • userPrincipalName → userName
    • givenName → name.givenName
    • surname → name.familyName
  7. Enable group provisioning if you want to sync departments.
  8. 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

  1. Create a custom app integration that supports SCIM using Okta’s setup guide.

  2. Open General → App Settings → Edit, select SCIM provisioning, and save.

  3. Open Provisioning → Settings → Integration → Edit.

  4. Configure the connection:

    SettingValue
    SCIM connector base URLSCIM Base URL copied from ContractsAI
    Unique identifier field for usersuserName
    Supported provisioning actionsPush New Users, Push Profile Updates, Push Groups
    Authentication ModeHTTP Header
    AuthorizationBearer Token generated in ContractsAI
  5. Click Test Connector Configuration, then save.

Enable user provisioning

  1. Open Provisioning → To App → Edit.

  2. Enable Create Users, Update User Attributes, and Deactivate Users.

  3. Set the app username to the user’s email address. Confirm these mappings:

    Okta attributeSCIM attribute
    Email addressuserName
    First namename.givenName
    Last namename.familyName
  4. 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?