Skip to main content

Okta Integration

S
Written by Shakked Mishan

What the Okta integration does

The Okta integration creates, updates and deactivates Okta accounts from employee data in Shapes, so you don't have to manage Okta users by hand.

  • When an employee is added to Shapes, Shapes creates them in your Okta account. By default, new users are created as Staged in Okta. You can change this with the Activate new users setting.

  • When an employee's data changes in Shapes, Shapes updates it in Okta.

  • When an employee is terminated in Shapes, Shapes deactivates or suspends their Okta account, or does nothing, depending on the When an employee is terminated setting. By default, Shapes deactivates the account.

Choosing what happens when an employee is terminated: the Okta integration in Shapes has a setting called When an employee is terminated. You can choose Deactivate the user (the default), Suspend the user or Do nothing.

Choosing whether new users are Staged or Active: the Okta integration in Shapes has a switch called Activate new users. When it is off (the default), Shapes creates new users as Staged in Okta. When it is on, Shapes creates them as Active.

Terminating vs. deleting an employee: Shapes applies the termination setting only when the employee is terminated in Shapes. If you delete the employee instead, their Okta account is not changed, and you need to deactivate or suspend it in Okta yourself. For offboarding, terminate the employee in Shapes rather than deleting them.

How to set up the Okta integration

All Super Admins, and Admins with the Manage integrations permission, can connect Shapes to Okta. Setup takes three steps.

  1. In Shapes, go to Account Settings > Integrations > Okta.
    ​

    Shapes Account Settings page with the Okta option highlighted
  2. Click Connect. Shapes shows the Okta Domain and Okta API key fields.

    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 under your email address. Copy it into the Okta Domain field in Shapes.

    Okta user menu showing the account domain beneath the email address

    Shapes also needs an Okta API key. To create one, in Okta go to Security > API > Tokens and click Create Token.

    Okta Security > API > Tokens page with Create Token button

    Paste the token into Shapes and click Save. Shapes connects to Okta.

Which Shapes fields sync to Okta

The Okta integration syncs one way, from Shapes to Okta. The sync runs daily. Once Okta is connected, you can click Run now on the Okta integration page (Account Settings > Integrations > Okta) to start a sync sooner. By default, these Shapes fields are mapped to Okta fields. You can also map other 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

Okta permissions: the Okta API token has the permissions of the Okta user who created it. If that user can't access some data in Okta, Shapes can't sync that data 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. The Okta sync runs daily, and on each run 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.

Checking Okta sync results

Super Admins and Admins with the Manage integrations permission can see Activity. The Activity button on the Okta integration page lists recent sync runs by day, with how many people each run created, updated, deactivated or skipped. Open a run to see it person by person. People under Needs attention come first, grouped by the reason the sync couldn't update them. A status badge shows whether the last run Succeeded, was Partial or Failed, with its time and a refresh button.

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

To change which Shapes fields sync to which Okta fields, go to Account Settings > Integrations > Okta and click Manage. For more, see Editing a Field Mapping in Integrations Overview.

Did this answer your question?