---
title: "How to set up SCIM user provisioning"
description: "Learn how to set up a system for cross-domain identity management (SCIM) user provisioning in an account or portfolio."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/10952782535579"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/10952782535579.md"
locale: "en-us"
category: "Account & billing"
section: "Security"
updated: "2026-10-27"
---

# How to set up SCIM user provisioning

## You will learn

Learn how to set up a system for cross-domain identity management (SCIM) user provisioning in an account or portfolio.

**📝 Note:** SCIM is available for accounts with a paid plan and for portfolios. To set it up, use an Admin or Owner role in an account, or a Portfolio Admin or Portfolio Owner role in a portfolio.

## Before you begin

You must also have [SSO turned on in Klaviyo](https://help.klaviyo.com/hc/en-us/articles/9353860331035.md) before you set up SCIM. 

Note that SCIM provisioning is often an add-on for identity providers (IdPs). For instance, IdPs often require a separate SCIM plan in addition to an SSO plan. If you don't see the following steps in your IdP, please confirm you have the correct plan. 

For each user, your IdP must send a role and an email address as `userName`. The username must match an email value sent for that user.

For a portfolio, use `portfolio_admin`, `portfolio_manager`, or `portfolio_analyst`. Account roles such as `admin` don't apply to portfolios. SCIM can't create users with the Owner or Portfolio Owner role.

Klaviyo supports provisioning users, not group objects. You can assign an IdP group to select users for provisioning, but leave group provisioning turned off.

## Turn on SCIM user provisioning

1. Click your organization name in the lower left corner.

2. Click **Settings > Security**.




![Security tab in Account settings](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/cef6afb13607301495acb496c60f6033570a87cb-1840x1290.png?auto=format)

3. Check the *SCIM Provisioning* box. 

4. Click **Copy** or **Download (.txt)** to save the access key as shown.
This key is only shown once, so store it somewhere secure before closing the dialog.



![Example of an access key](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/88216ff532f9abb275bb8396c9f0e153ff414ba0-1350x692.png?auto=format)

5. Click **Done**. 

6. Copy the base URL and paste it somewhere, preferably where you stored the access key.



Replacing a SCIM access key immediately invalidates the previous key. If you lose your key, click **Replace SCIM key**, then **Confirm**. Save the new key and update it in your IdP.

Next, go to your identity provider to finish the process. Below are instructions for Okta, OneLogin, and Microsoft Entra ID. Other providers must support compatible SCIM 2.0 user provisioning.

**▸ Okta**

For current setup navigation, see [Okta’s SCIM setup guide](https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_scim.htm). Use the Klaviyo connection settings below.

1. Navigate to **Application > Applications**. 

2. Select the Klaviyo app. 

3. Go to the **Sign On** tab.




![Four tabs for an app with SSO: General, Sign On, Import, and Assignments](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/ac73931a94d04b7eeb401325862f42fa9076759f-1166x372.png?auto=format)

1. Under *Credential Details*, check that:

   - *Application username format* is set to **Email**.

   - *Update application username on* is set to **Create and update**.




![Credental Details section in the Sign On tab](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/fab91a4f794cfa454df0c0b9b07d9b99fc647f05-1416x468.jpg?auto=format)

1. Click into the **General** tab. 




![General tab for app, when there's no provisioning](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/cd0ae780addb61eb3338a764f17363eaebda4707-1532x1064.jpg?auto=format)

1. Select **Edit**. 

2. Under *Provisioning*, select SCIM. 




![Selecting SCIM for the provisioning](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/32f4f3517f3c122f95206f875fc1a633da4f363c-1402x932.jpg?auto=format)

1. Click **Save**. 

2. Click into the **Provisioning** tab. 

3. Select **Edit** to open the *SCIM Connection* page (shown below).




![SCIM Connection page with no information](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/bf2ed2bdecfe32dac1a0d3a6f205207550e0b9ec-1504x936.jpg?auto=format)

1. In *SCIM connector base URL*, paste the base URL from Klaviyo.

2. For **Unique identifier field for users**, enter `userName`.

3. Under *Supported provisioning actions*, check the following boxes: 

   - Import New Users and Profile Updates

   - Push New Users

   - Push Profile Update

4. Change the *Authentication Mode* option to HTTP Header. 

5. Paste in the access key under *Authorization*. 




![How the SCIM Connection should look once filled out](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/ee81dac0340dad5f05f67737b2d05c906b5caf3d-1370x1240.jpg?auto=format)

1. Click **Test Connector Configuration**. 

2. Click **Save**.

3. Next to *Provisioning to App*, click **Edit**. 

4. Check **Enable** for the following features:

   - *Create Users*.

   - *Update User Attribute*.

   - *Deactivate Users.*




![Enabled features in the Provisioning to App page](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/5cc58663e58852e2823099e7b26fc72e7ec152ab-1432x1030.jpg?auto=format)

1. Click **Save**. 

2. Scroll down to your app’s attribute mappings section. 

3. Click **Go to Profile Editor**. 

4. Click **Add Attribute**. 




![Top of the Profile Editor page in Okta, showing the button to add an attribute](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/dbf24920acf9064d8ec7051ddbbd827843f964fe-1902x990.jpg?auto=format)

1. Type “role” for *Display name*, *Variable name*, and *External name*.

2. In *External namespace*, enter the following:
urn:ietf:params:scim:schemas:core:2.0:User

3. Check the box for **Define enumerated list of values**.




![The first of the required settings for the role attribute](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/0e5af7589c743dacfba059e0ca3c60248dc713fe-1206x1182.jpg?auto=format)

1. For an account, add the standard role values below. For a portfolio, use `portfolio_admin`, `portfolio_manager`, and `portfolio_analyst` instead.

   - admin

   - manager

   - analyst

   - campaign_coordinator

   - content_creator

   - `social_media_manager`

   - support




![All roles with the correct values for the role attribute](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/6eda8fdb14d554a973b664f10a37db4187e0fbab-1218x700.jpg?auto=format)

1. Scroll down to *Attribute required* and check **Yes**. 

2. Choose the attribute type (personal or group).

3. Recommended: leave the *User permission* as **Read Only**. 




![The rest of the required settings for the role attribute](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/5f9b2415437bc851d3bcee4641ec82af25d9e651-1226x1084.jpg?auto=format)

1. Click **Save**. 

2. Navigate to **Applications > Applications** and then select your app. 

3. Click **Assign**.

4. Choose whether to assign the app to an individual (i.e., people) or to a group.




![Assignments tab showing the Assign dropdown](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/f8ac7eddfee80113ff4d842487933254f46c9122-1528x648.jpg?auto=format)

1. Find the people or groups you want to assign Klaviyo to, and click **Assign** next to their name(s).




![Example of searching for a user to assign to an app](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/39a3d77341742a0cc06d5b2f5ea6114befecccbd-1386x1204.jpg?auto=format)

1. Scroll down to the *role* field and assign them the correct role. 




![Role dropdown, showing all the values for roles within Klaviyo](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/f0f8e1554a5a688effe6a81c06b475f91ddffd95-1246x1162.jpg?auto=format)

1. Click **Save and go back**.

**▸ OneLogin**

1. In the Admin Portal, click **Applications**.

2. Click **Add App**.

3. Search “Klaviyo.”

4. Click **Klaviyo** to add it. 

5. Optional: Rename the connection.

6. Click **Configuration.**

7. In the *SCIM Bearer Token* field, paste your SCIM access key.

8. Click **Enable** under *API Connection*. 

9. Click **Save.**

10. Go to **Provisioning** in the left sidebar. 

11. Check the **Enable Provisioning** box. 

12. Do not uncheck the *Create user*, *Delete user*, or *Update user* boxes.




![Credential details section with the correct settings](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/4b1d052204480c1b7fbe1afc37c5ac38bfa9ea08-1999x886.png?auto=format)

1. Recommended: select **Delete** in the dropdown for *When users are deleted in OneLogin, or the user's app access is removed, perform the below action*.

2. Click **Save**.

**▸ Microsoft Entra ID (formerly Azure AD)**

For current setup navigation, see [Microsoft’s SCIM provisioning guide](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/use-scim-to-provision-users-and-groups#integrate-your-scim-endpoint-with-the-microsoft-entra-provisioning-service). Use the Klaviyo URL, access key, and mappings below.

1. Log into [Microsoft Entra ID](https://entra.microsoft.com/).

2. Click **Microsoft Entra ID** (formerly called “Azure Active Directory”)

3. Click **Enterprise Applications** on the left side.




![The Enterprise applications option in the left sidebar](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/7ef2e67f17ae3b691ad6c44c432f8c2d684e9d52-554x1074.png?auto=format)

1. Select your application. 

   - If you haven’t created your application yet, follow the steps in the [SSO guide](https://help.klaviyo.com/hc/en-us/articles/9353860331035.md).

2. Click **Provisioning** on the left, then select **Get Started**.




![Left sidebar for app when Provisioning is highlighted](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/2e95755be0e4880159fb79bb73f68696a1e1ebce-522x1034.png?auto=format)

1. In the field named *Provisioning Mode*, select **Automatic**.




![Changing the Provisioning mode to automatic](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/6190e3793cfb042ded8c5b1273698d1bdbcd3ee2-1458x1106.png?auto=format)

1. Go to the *Admin Credentials*.

2. Paste the SCIM base URL from Klaviyo into the *Tenant URL* field.

3. Paste the SCIM API key into the *Secret Token* field. Note that this token should be pasted in without any prefixes (e.g., don’t include "Bearer" or "Klaviyo-API-Key").

4. Test the connection.

5. Once the connection is successful, click **Save** in the upper left.

6. In that same page, scroll down and open the **Mappings** dropdown.  




![Mappings dropdown to provision (in order) Azure AD groups or users](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/80bcde2e560948a3dbb3d4a327cef66832d15a65-1470x508.png?auto=format)

1. Select **Provision Azure Active Directory Users**. 

2. Optional: delete unsupported mappings. Klaviyo supports the following target attributes for user updates:

   - `userName`

   - `active`

   - `emails[type eq "work"].value`

   - `name.givenName`

   - `name.familyName`

   - `emails[primary eq "True"].value`

   - `roles[primary eq "True"].value`

3. To map an assigned app role, use `SingleAppRoleAssignment([appRoleAssignments])` as an **Expression** mapping to `roles[primary eq "True"].value`.

   - Don't map `appRoleAssignments` directly to Klaviyo.

   - Assign 1 app role per user and scope provisioning to assigned users and groups. This expression does not support syncing all users and groups. See [Microsoft’s role-mapping guidance](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/customize-application-attributes#provisioning-a-role-to-a-scim-app).

4. Click **Save** and then click **Home**. 

5. Navigate back to **Microsoft Entra ID > Enterprise applications > Klaviyo > Provisioning**. 

6. Select **Start Provisioning**.




![Provisioning tab, showing the start provisioning button](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/b24b25acb81ce55111edb8dab37cec92e15b2bf6-1136x388.png?auto=format)

Now, Microsoft Entra ID will begin provisioning your users on a schedule. For more insight into which users it has provisioned, select **View provisioning logs**.

## Additional resources

- [How to set up single sign-on (SSO)](https://help.klaviyo.com/hc/en-us/articles/9353860331035.md)
  Learn how to set up single sign-on (SSO) for your Klaviyo account or portfolio. Currently, only identity provided (IdP) single sign-on is supported in Klaviyo.
- [Troubleshoot SSO and SCIM errors](https://help.klaviyo.com/hc/en-us/articles/9674090873883.md)
  Learn how to troubleshoot errors for single sign-on (SSO) with Klaviyo. This article is meant for those familiar with SSO, such as IT professionals. 
- [How Klaviyo billing works](https://help.klaviyo.com/hc/en-us/articles/115000976672.md)
  Learn how Klaviyo bills customers for Profiles and Emails, Mobile Messaging, Reviews, Advanced Klaviyo Data Platform (formerly “CDP”), Personalization, Customer Hub, Helpdesk, and Customer Agent.  
