# Set up SCIM provisioning

Create, update and suspend LeoPrevent accounts from your identity provider, and turn its groups into teams.

With SCIM, your identity provider creates people's LeoPrevent accounts, keeps their names and groups up to date, and suspends them when they leave. Its groups become teams in LeoPrevent.

Available to Owners on Pro and Enterprise.

## Before you start

- Single sign on is set up. SCIM uses the same identity provider. See [Set up single sign on](https://help.leotrace.io/set-up-single-sign-on/).

## Turn on SCIM

1. On **Security & access**, open the **Provisioning** tab.
2. Under **Directory sync**, select **Turn on SCIM**. To have IT do it, select **Invite IT admin** instead. See [Invite your IT admin](https://help.leotrace.io/invite-your-it-admin/).
3. Copy the **SCIM endpoint** and the **Bearer token**. The token is shown once.

## Connect your identity provider

1. In your identity provider, add SCIM provisioning to the LeoPrevent application.
2. Set the base URL to the **SCIM endpoint**.
3. Set authentication to an HTTP header, with the **Bearer token**.
4. Set the unique identifier to `userName`, which is the person's work email.
5. Assign the people who should have LeoPrevent.
6. Push the groups that should become teams.

## Give groups access

On **Provisioning**, under **Teams synced from** your provider, select **Add a group**. Pick a group your provider sends and where it gives access. Everyone in it gets its role, seat and places for as long as they are in it.

Someone in several groups gets the highest role and every place their groups give.

## Send requests to IT

On **Provisioning**, under your provider's requests section (for example **Okta requests**), select **Add** and enter your IT helpdesk's email address. When an invite is waiting for your provider to send someone, **Ask IT** on **User management** emails that address. With no address set, the button is **Copy request**, which copies the request for you to send.

## What changes

- New people arrive as Developers with no seat until a team gives them one. Existing people are matched by email.
- Deactivating or deleting someone in your provider suspends them: their sessions end, their seat is freed and their plugin key stops working.
- Owners are never suspended by SCIM. They are removed by hand.
- An invite to someone at your verified domains waits on **User management** until your provider sends them.

## People your provider never sends

People at your verified domains whom your provider never sends are suspended 30 days after SCIM is turned on, unless an Owner keeps them. **Not managed by** your provider shows how many and when. Select **See who** to review them, and **Keep them** to keep them until they are removed by hand. Or ask IT to add them to a group your provider sends.

## Check it worked

**Directory** shows your provider, the number of people, the last sync and its status, **Syncing**. Assigned people appear in **User management**.

## Replace the token

Select **Regenerate token**. The old token stops working straight away, so paste the new one into your provider.

## Turn SCIM off

Under **Danger zone**, select **Turn off**. Your provider stops creating and removing accounts, its teams stop updating, and the token stops working. People keep their accounts, roles and access.

For the endpoints and attributes LeoPrevent supports, see [SCIM API reference](https://help.leotrace.io/scim-api-reference/).

Source: https://help.leotrace.io/set-up-scim/ (updated 2026-11-19)
