> ## Documentation Index
> Fetch the complete documentation index at: https://docs.searchable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Up SCIM Provisioning in JumpCloud

> Let JumpCloud add, update and remove people in your Searchable workspace, and set their roles from JumpCloud user groups

## Overview

SCIM lets JumpCloud manage who belongs to your Searchable workspace. Add someone to a user group bound to the Searchable app in JumpCloud and they're added to your workspace; suspend or delete them in JumpCloud and they're removed. Searchable can also set each person's role from their JumpCloud user groups.

SSO decides whether someone can sign in. SCIM decides who should have access at all, and tells Searchable when that changes.

> [!NOTE]
>
> SCIM is set up together with the Searchable team. We issue your SCIM token and map your JumpCloud
> groups to roles; you turn on provisioning in JumpCloud and choose who has access. Contact
> [support@searchable.com](mailto:support@searchable.com) to get started.

## Prerequisites

* Your workspace has a **live** SAML SSO connection to JumpCloud, with your email domains verified. A SCIM token can only be issued once SSO is turned on. See [Single sign-on](https://docs.searchable.com/advanced/sso.md).
* You're a JumpCloud admin who can manage SSO applications and user groups.
* A Searchable SCIM token and the endpoint URL, which we send you (step 1 below).

One JumpCloud app handles both sign-in and provisioning. If you haven't created it yet, follow the JumpCloud steps in [Single sign-on](https://docs.searchable.com/advanced/sso.md), which turn on provisioning when the app is created.

## Quick setup

**1. Get your SCIM token and endpoint URL**

Ask [support@searchable.com](mailto:support@searchable.com) for a SCIM token for your workspace. We send you two values:

* **Endpoint URL**: `https://app.searchable.com/api/scim/v2`. Use exactly the URL we send, not a custom domain.
* **SCIM token**: shown to us once, when it's created. Store it in your password manager; if it's lost, we issue a new one.

Each token belongs to one workspace's SSO connection. People JumpCloud provisions with that token join that workspace and no other.

**2. Open the app's Provisioning tab**

In the JumpCloud Admin Portal, go to **Access → SSO Applications** and open your Searchable app. Open its **Provisioning** tab.

If there's no such tab, the app was created without provisioning. Create a new **Custom Application** with both **Manage Single Sign-On (SSO)** and **Export users to this app (Provisioning)** ticked, and ask us to update your SSO connection with the new app's metadata.

**3. Connect JumpCloud to Searchable**

Set:

| Setting | Value |
| - | - |
| API type | **SCIM API**, version **SCIM 2.0** |
| Base URL | The endpoint URL from step 1 |
| Authentication | **Bearer token** |
| Token Key | The SCIM token from step 1 |

**4. Fill in JumpCloud's activation test**

When you activate provisioning, JumpCloud first creates, updates and deletes a test person and a test group in Searchable. It needs four more fields for that, and **Activate** fails with "There was a problem activating Provisioning" until they're filled in:

| Field | Value |
| - | - |
| Test User Email | A **new, unused** address on one of your **verified domains**, for example `jumpcloud-test@yourcompany.com`. Searchable refuses addresses on other domains, which fails the test. |
| Source User | Any existing JumpCloud user. JumpCloud copies their attributes onto the test person. |
| Test User Group Name | A new, unused group name, for example `jumpcloud-test-group` |
| Source User Group | Any existing user group |

Then click **Activate**. The tab shows **Provisioning Active** when it succeeds. JumpCloud deletes the test person straight away, so they never get access to your workspace, but Searchable keeps an unused account for that address. Use an address nobody needs for anything else.

**5. Choose who has access**

JumpCloud provisions the people in the **user groups bound to the app**. To bind a group, open it under **User Groups**, tick the Searchable app on its **Applications** tab, and save. Members of a bound group are provisioned within seconds; people outside every bound group aren't sent.

People on your verified domains who aren't already members or invited join with your SSO connection's default role, so check that role first. People off your verified domains are added only if your workspace invited them or they're already a member (see [Who can be added](#who-can-be-added)).

**6. Map groups to roles (optional)**

Each bound user group also reaches Searchable as a group. If you want groups to set roles, tell us which group should give which role (Admin, Member or Viewer) and we'll map them. See [Roles from JumpCloud groups](#roles-from-jumpcloud-groups).

JumpCloud's default attribute mapping works as it is: it sends the email as the user name, the person's name, their JumpCloud id as the external ID, and an active state that's true while they're bound to the app and not suspended.

## What happens in Searchable

Changes in JumpCloud usually reach Searchable within a few seconds.

| In JumpCloud | In Searchable |
| - | - |
| Add someone to a bound user group | Someone new joins with your SSO connection's default role. An existing member keeps the role they have, and someone your workspace invited gets the invitation's role. Once groups are mapped, their groups decide it. New accounts start unverified, with no password; their first SSO sign-in completes them. |
| Change someone's name | Updated, if their email is on one of your verified domains. Otherwise it's ignored. |
| Change someone's email | Not applied. Searchable keeps the email it already has. |
| Suspend someone | Removed from your workspace. Their Searchable account isn't banned, and any other workspaces they belong to are untouched. |
| Activate them again | Someone on your verified domains is added back, with the default role or their groups' role. Someone on another domain comes back only if your workspace invites them again, with the invitation's role. Either can be refused if your workspace is at its seat limit. |
| Delete someone | Removed from your workspace, and from their groups in Searchable. |

> [!NOTE]
>
> **Deleting someone in JumpCloud doesn't delete their Searchable account.** Searchable removes them
> from your workspace, but their account stays, so provisioning someone on your verified domains again
> brings them back (someone on another domain needs a new invitation first).

Searchable doesn't send people JumpCloud adds an invitation. Let them know yourself that they can sign in with SSO.

### Who can be added

* **People on your verified domains** are added, whether or not they already have a Searchable account.
* **People on other domains** are added only if your workspace invited them first or they're already a member. Anyone else is refused.
* **The workspace owner** can't be removed through SCIM. Transfer ownership first.
* **A super admin whose email is on another domain** can't be removed through SCIM either, so JumpCloud can't remove someone your company doesn't own. Change their role in Searchable first. A super admin on your verified domains is removed like anyone else; if they're added back later, they return with the default role or their groups' role.

## Roles from JumpCloud groups

Binding groups doesn't change anyone's role on its own. Roles start following JumpCloud only once we map at least one group to a role. Before anything is saved, we see a preview of exactly who will change.

Once a group is mapped:

* Each person gets the **highest** role among their mapped groups (Admin, then Member, then Viewer).
* People on your verified domains who aren't in any mapped group get your SSO connection's **default role**.
* People on other domains never get the default role. When they leave their last mapped group, they go back to the role your workspace gave them before a group took over. A role you change in Searchable while groups don't decide it is the one they return to. Someone removed from your workspace and invited back returns to the invitation's role.
* The **owner** and **super admins** are never changed.
* A person must be provisioned before their group membership counts: Searchable skips group members that JumpCloud hasn't provisioned as people.

### "Managed by your identity provider"

When JumpCloud decides someone's role, their role is locked in Searchable. In **Settings → Team**, their role control is disabled and shows **Managed by your identity provider**, and nobody in your workspace can change it there. Change their JumpCloud groups instead.

Project access isn't locked. You can still choose which projects each person can reach.

To manage roles in Searchable again, ask us to unmap your groups. Everyone keeps the role they have at that moment, and the locks lift.

## Verify your setup

> [!TIP]
>
> The app's provisioning tab shows **Provisioning Active**

> [!TIP]
>
> A test person you add to a bound user group appears in **Settings → Team** with the expected role

> [!TIP]
>
> Suspending that person in JumpCloud removes them from **Settings → Team**

> [!TIP]
>
> If you use groups: after mapping, adding the test person to a mapped group changes their role, and it shows **Managed by your identity provider**

## Troubleshooting

> [accordion] Activate fails with "There was a problem activating Provisioning"
>
> Fill in all four activation test fields (step 4). The test user email must be new and on one of your verified domains: Searchable refuses an address on another domain, so the activation test fails. The activation test person also counts toward your seat limit, so a workspace at its limit fails Activate in the same way; free a seat, or ask us about your limit. If the fields are right, check the base URL is exactly the endpoint URL we sent and the token is current. If the token was revoked, or SSO was turned off at any point (turning SSO off revokes every SCIM token, and turning it back on doesn't bring them back), ask us for a new token.

> [accordion] People are showing up in the wrong workspace
>
> The token decides the workspace. If your company has more than one Searchable workspace, check that the token in JumpCloud is the one we issued for this workspace's SSO connection.

> [accordion] Someone in JumpCloud didn't appear
>
> Check they're in a user group bound to the app: JumpCloud doesn't send people outside every bound group.
>
> If they were sent, Searchable refuses the request, and nothing is created, when:
>
> * their email isn't on one of your verified domains and your workspace hasn't invited them;
> * they already have a Searchable account with a password (or Google sign-in) that was never verified. Your owner and admins get an email about it, at most once a day. Ask the person to sign in once with SSO, then provision them again;
> * your workspace is at its seat limit. Your owner and admins get an email, at most once a day.
>
> We can see the reason for every refused request in your workspace's SCIM log. Contact [support@searchable.com](mailto:support@searchable.com) if you're not sure which applies.

> [accordion] Someone is in a mapped group but their role didn't change
>
> Check that the person has been provisioned as well as the group: Searchable skips group members that JumpCloud hasn't provisioned as people. Also check they aren't the workspace owner or a super admin, whose roles never change.

> [accordion] I can't change someone's role in Searchable
>
> Their role is managed by JumpCloud (see ["Managed by your identity provider"](#managed-by-your-identity-provider)). Change their groups in JumpCloud, or ask us to unmap your groups so admins can manage roles in Searchable again.

> [accordion] JumpCloud can't remove the workspace owner or a super admin
>
> Searchable refuses to remove the owner through SCIM: transfer ownership to someone else in Searchable first. It also refuses to remove a super admin whose email is on another domain: change their role in Searchable first.

> [accordion] JumpCloud is getting rate-limited
>
> Searchable accepts up to 600 SCIM requests a minute per SSO connection. Requests over that get a `429` response with a `Retry-After` header.

## Related

> [card] [Single sign-on](https://docs.searchable.com/advanced/sso.md)
>
> Set up JumpCloud SAML sign-in

> [card] [Teams & Collaboration](https://docs.searchable.com/advanced/teams-collaboration.md)
>
> Roles, permissions and SSO sign-in


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.