Okta SCIM Setup
Step-by-step guide to set up Okta SCIM provisioning with Statsig, including the integration app, attribute mappings, and group assignment configuration.
This guide describes how to set up SCIM (System for Cross-domain Identity Management) integration between Statsig and Okta for automated user provisioning and management.
Prerequisites
- An Okta account with admin access
- A SCIM Key from the Statsig Console (requires Statsig Org Admin rights)
Integration Notes
- User email management isn't enabled on SCIM yet.
- When a user is removed from Statsig, Okta automatically unassigns them. If a user is unassigned or deactivated in Okta, Statsig removes them from the organization.
- Creation of Statsig Projects and Roles isn't supported through SCIM.
Step 1: Create a new app integration in Okta
- Log in to your Okta admin console
- Navigate to Applications > Applications > Create App Integration
- Select "SWA - Secure Web Authentication"

Step 2: Configure app settings
- Set the App name to "Statsig SCIM"
- Enter a placeholder URL for the App Login Page (required field, not used for SCIM). Example:
https://console.statsig.com/

Step 3: Enable SCIM provisioning
- After creating the integration, go to the "General" tab
- Click on "Edit" in the "Provisioning" section
- Enable "SCIM Provisioning"

Step 4: Configure SCIM settings
:::info
Import Groups requires an Okta flag SELECTIVE_APP_IMPORT_PLATFORM. If this flag is enabled for your organization, select this option. If it isn't, leave it unchecked.
:::
- Navigate to the
Provisioningtab - Set the SCIM connector base URL to: https://statsigapi.net/scim
- Set "Unique identifier field for users" to
userName - Enable
Import New Users and Profile UpdatePush New UsersPush Profile UpdatesPush GroupsImport Groups(Only if your organization has theSELECTIVE_APP_IMPORT_PLATFORMflag enabled; refer to note above)
- Set the authentication mode to "HTTP Header"
- For the authorization header, use the SCIM Bearer token generated in Statsig by your Org Admin. Go to How to Obtain SCIM Auth Key for details.

Step 5: Configure Okta to Statsig settings
- Enable "Create Users"
- Enable "Update User Attributes"
- Enable "Deactivate Users"

Step 6: Import existing Statsig users and groups
- In Okta, go to the Statsig app's "Import" tab
- Click "Import Now" to fetch existing Statsig users and groups
- Process the imported users as needed

Was this helpful?