# Configuring SCIM in Cortex

Before you begin using SCIM to provision users, you must first turn on SCIM in your Cortex workspace. Follow the steps below to turn on SCIM.

1. From the main sidebar, click your avatar in the bottom-left corner.
2. Click **Settings**.
3. From the **Settings** menu, scroll to the **Security and access** section, then select **SCIM**.
4. Toggle on the following settings:

   * **Enable automatic deprovisioning of users** - Cortex automatically deprovisions any user it detects has been removed from your provider instance.
   * **Enable automatic provisioning of users** - Cortex automatically provisions any user it detects has been added to your provider instance.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Enabling automatic provisioning of users may impact seat counts.</p></div>

{% hint style="info" %}
Track provisioned and deprovisioned users in the [Cortex audit logs](/configure/settings/audit-logs.md). Access the logs from the **Settings** menu. Scroll to the *Logging* section, then select **Audit logs**.
{% endhint %}

For an overview of the complete SCIM provisioning workflow, see [Okta SCIM Configuration](/configure/settings/managing-users/provisioning-users-with-scim/okta-scim.md) or [Microsoft Entra ID SCIM Configuration](/configure/settings/managing-users/provisioning-users-with-scim/entraid-scim.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cortex.io/configure/settings/managing-users/provisioning-users-with-scim/configuring-scim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
