> For the complete documentation index, see [llms.txt](https://docs.ledge.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ledge.co/authentication/how-to-guide-configure-scim-provisioning-with-ledge.md). Agents can also search and read this documentation through its [MCP server](https://docs.ledge.co/~gitbook/mcp).

# How-to Guide: Configure SCIM Provisioning with Ledge

This guide describes how to enable SCIM 2.0 user provisioning between your Identity Provider (IdP) and Ledge. With SCIM enabled, users assigned to your Ledge SAML application are automatically provisioned and updated in Ledge in real time - no manual user management needed.

SCIM 2.0 is a standard protocol, so the setup is the same across IdPs that support it (Okta, JumpCloud, Microsoft Entra ID, OneLogin, and others). Only the UI for entering the values differs.

{% hint style="info" %}
Note: Your Ledge Customer Experience Manager can enable SCIM for your account. They will provide you with the SCIM Bearer Token and SCIM Base URL
{% endhint %}

#### Prerequisits

* SAML SSO must already be configured.

#### Enable provisioning on your SAML app

Most IdPs require provisioning (sometimes called "Identity Management" or "SCIM") to be enabled as a feature on the existing SAML application before SCIM can be configured.

1. Open your existing Ledge SAML application in your IdP admin console.
2. Enable the **Provisioning**, **Identity Management**, or **SCIM** feature on the application.
3. Open the provisioning configuration screen.

#### Configure the SCIM connection

Fill in the following fields using the values provided by Ledge:

| **Setting**                                                   | **Value**                               | **Notes**                                                                             |
| ------------------------------------------------------------- | --------------------------------------- | ------------------------------------------------------------------------------------- |
| Base URL (or SCIM Endpoint, Tenant URL, Service Provider URL) | The SCIM Endpoint URL provided by Ledge | Some IdPs require the URL to **not** end with a trailing slash - remove it if present |
| Bearer Token (or Secret Token, API Key)                       | The SCIM Bearer Token provided by Ledge | Treat as a secret; do not share via insecure channels                                 |
| Authentication method                                         | Bearer token / HTTP Header              | Ledge uses standard bearer token authentication per SCIM 2.0                          |

#### Test the connection

Most IdPs offer a "Test Connection" or "Verify" button on the SCIM configuration screen. Click it to validate connectivity and credentials.

* If your IdP asks for a "test user email" during the connection test, use an email address that does **not** already exist in Ledge - some IdPs create the test user as part of the check, and the test will fail if the email is already in use.
* On success, activate the integration.

#### Assign user groups

Assign the user groups whose members should be provisioned to Ledge. Behavior:

* Adding a user to an assigned group → user is created in Ledge
* Updating a user's name or email in your IdP → update propagates to Ledge

#### What gets synced

The following user attributes are synced from your IdP to Ledge via SCIM:

* Email address
* First name
* Last name
* Display name

#### Known limitations

* **Group membership is not synced via SCIM.** Ledge does not consume the SCIM `/groups` endpoint. User roles and team membership are defined directly in Ledge.
* **Custom attributes** are supported by some IdPs and not others. Ledge maps the standard SCIM core schema and Enterprise schema attributes; custom extensions are not consumed.

#### Verify

After activating, add a test user to an assigned group and let your Ledge Customer Experience Manager know. They will verify the user appears in Ledge and confirm full functionality.
