# User Provisioning from Okta

### Enable User Provisioning

To enable automatic user provisioning from Okta to TrustLogix, follow these steps:

#### Step 1: Enable Auto Provisioning in TrustLogix

1. Navigate to existing Okta SSO Integration option.&#x20;
2. Click the **Enable Auto Provisioning** button in TrustLogix.
3. TrustLogix will generate a **SCIM URL** and a **Bearer Token**.
4. Copy the **SCIM URL** and **Bearer Token** for use in Okta.

#### Step 2: Configure Provisioning in Okta

1. Open the Application created for SSO in Okta
2. Go to General tab, & click on Edit&#x20;
3. Under **Provisioning** option, Select **SCIM,** Click **Save.** This will enable **Provisioning tab.**
4. Go to the **Provisioning** tab, under integration option, click on **Edit**
   1. Provide the **SCIM connector base URL** as **the TrustLogix-generated SCIM URL** from **Step-1**
   2. Provide the **Unique identifier field for users** as userName
   3. under Supported provisioning actions&#x20;
      1. Select Import New Users and Profile Updates
      2. Select Push New Users
      3. Select Push Profile Updates
   4. Under Authentication Mode, Select **Http Header** option
   5. Under HTTP Header -> Authorization -> Bearer, provide the **TrustLogix-generated token**.
   6. Click on **Test Connector Configuration**
   7. Once testing is successful, click on **Save**.

### References

* Regenerate SCIM token on expiration: <https://docs.trustlogix.io/integrations/single-sign-on/generate-scim-token>
