Skip to main content
This guide outlines the process for setting up SCIM (System for Cross-domain Identity Management) integration between Statsig and Okta. This integration allows 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 is not enabled on SCIM yet.
  • When a user is removed from Statsig, they will be automatically unassigned in Okta. Conversely, if a user is unassigned or deactivated in Okta, they will be removed from the Statsig Organization.
  • Creation of Statsig Projects and Roles is not supported via 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”
Okta Create App Integration dialog selecting Secure Web Authentication

Step 2: Configure App Settings

  • Set the App name to “Statsig SCIM”
  • Enter a placeholder URL for the App Login Page (this is a required field but not used for SCIM). Ex: https://console.statsig.com/
Okta app settings form with Statsig SCIM name and placeholder login URL

Step 3: Enable SCIM Provisioning

  • After creating the integration, go to the “General” tab
  • Click on “Edit” in the “Provisioning” section
  • Enable “SCIM Provisioning”
Okta application general tab highlighting provisioning section and SCIM toggle

Step 4: Configure SCIM Settings

:::info Import Groups requires an Okta flag SELECTIVE_APP_IMPORT_PLATFORM. If this flag is enabled for your organization, please select this option. If it is not, leave it unchecked. :::
  • Navigate to the Provisioning tab
  • 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 Update
    • Push New Users
    • Push Profile Updates
    • Push Groups
    • Import Groups (Only if your organization has the SELECTIVE_APP_IMPORT_PLATFORM flag enabled, see 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. See How to Obtain SCIM Auth Key for more details.
Okta provisioning tab showing SCIM base URL and push settings

Step 5: Configure Okta to Statsig Settings

  • Enable “Create Users”
  • Enable “Update User Attributes”
  • Enable “Deactivate Users”
Provisioning To App settings enabling create, update, and deactivate actions

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
Okta Import tab with Import Now button for Statsig users and groups