Skip to main content

Okta Integration

Written by Efrat Barak Zadok

Why Integrate with Okta

Integrating Shapes with Okta allows you to automatically provision and deprovision Okta accounts.

  • Whenever an employee is added to Shapes, they will automatically be created in your Okta account

  • Whenever an employee's data is updated in Shapes, the data will automatically be updated in your Okta account

  • Whenever an employee is terminated in Shapes, they will be automatically deactivated in your Okta account

Important — termination vs. deletion: Automatic Okta deactivation only happens when an employee record is terminated in Shapes. If you delete a record instead of terminating it, the corresponding Okta account will not be deactivated automatically. For offboarding, always terminate the employee in Shapes (rather than deleting their record) so the Okta account is deprovisioned as expected — otherwise you'll need to deactivate it manually in Okta.

How to Set Up the Integration

All Super Admins can integrate in 3 simple steps.

  1. Enter Shapes' Account Settings > Okta.

    Shapes Account Settings page with the Okta option highlighted
  2. Click Connect and open the fields for the Okta domain and secret key.

    Okta domain and secret key fields in Shapes
  3. Connect to Okta. Log in to your Okta account and click your username in the top right. Your Okta domain appears underneath your email address — copy and paste it into the corresponding field in Shapes.

    Okta user menu showing the account domain beneath the email address

    You'll also be asked for an API token. To create this, in your Okta account visit Security > API > Tokens and hit Create Token.

    Okta Security > API > Tokens page with Create Token button

    Paste the created token into Shapes, then hit Save — Shapes will connect to Okta.

What Data from Shapes Is Automatically Synced to Okta?

Sync goes one way: from Shapes to Okta. By default, the following fields are mapped. You can also map additional fields, including custom fields — see Syncing custom fields to Okta below.

Shapes Field Name

Okta Field Name

Email address

Username

First name

First name

Last name

Last name

Email address

Primary Email

Job

Title

Phone number

Mobile Phone

Team

Department

Office

Office

Important to note: The Okta API is based on the permissions of the user permission level in Okta. If the user cannot see specific data, none of this data will be imported to Okta.

Syncing custom fields to Okta

Beyond the default fields, you can map any Shapes employee field — including custom fields — to a custom attribute in the Okta user profile. On every sync, Shapes writes all mapped fields to each person's Okta profile.

  1. Create the attribute in Okta first. Add the custom attribute to your Okta user profile before mapping it in Shapes.

  2. Open the mapping in Shapes. Go to Account Settings > Integrations > Okta and click Manage (or use the connect wizard if you're setting up the integration for the first time).

  3. Add a row. Type the attribute name exactly as it appears in Okta, then select the Shapes field to sync to it.

  4. Save and run. Click Save, then Run now to sync right away. The new mapping applies to everyone the integration covers.

  5. Check the results. Open Activity and review anyone listed under Needs attention.

Tip: After the first sync, check one person's Okta profile to confirm the value came through as expected before relying on it.

Editing the field mapping

See Editing a Field Mapping in Integrations Overview for more on editing this mapping.

Did this answer your question?