Okta and Zapier connect to automate identity and access management. You can trigger workflows from Okta events, create users, and manage group membership.
Prerequisites
To use the Okta app on Zapier, you must have:
- Administrator permissions in your Okta organization to create and manage API tokens.
- An API token created in that organization's admin console.
- For sandbox connections, an Okta Preview organization on
oktapreview.comand an API token created in that environment. Learn about Okta organizations and Preview.
To generate an API token in Okta:
- Log in to your Okta admin console.
- Go to Security, then API, then Tokens.
- Click Create token.
- Enter a name for the token, then click Create token.
- Copy the token value. You can only see it once; after you close the dialog, it cannot be viewed again.
For sandbox environments, create the token in your Okta Preview admin console (for example, yoursubdomain-admin.oktapreview.com).
Connect Okta to Zapier
To create an app connection to Okta on Zapier:
- Go to the Apps page.
- Click + Add connection.
- A new dialog box will appear. Search for and select Okta.
- Click Add connection.
- A Connect an Account page will open in a browser tab or window.
- Complete the following fields:
- Subdomain: Enter your Okta subdomain. For example, if your Okta URL is
yourcompany.okta.com, enteryourcompany. - Would you like to connect to your sandbox environment?: Select True to connect to Okta Preview (oktapreview.com), or False for production (okta.com). - API Token: Enter the API token you created in your Okta admin console. - Click Yes, Continue to Okta.
Your Okta account is now successfully connected to Zapier.
Connect to a sandbox environment
Okta supports connecting to sandbox environments through Okta's Preview domain (oktapreview.com). Sandbox connections are useful for testing Zaps before you use them in production.
When you set Would you like to connect to your sandbox environment? to True, Zapier uses oktapreview.com instead of okta.com. Sandbox connections are labeled with "- Sandbox" in Zapier so you can tell them apart from production connections.
Before you connect a sandbox environment, make sure you have an Okta Preview organization set up and an API token created in that organization's admin console.
About Okta's app
Triggers, searches, and actions
- New Event (Instant) - Triggers on a new event.
- Find Group by Name - Finds an Okta group by its name.
- Find User by Email - Finds an Okta user by their email address.
- Add User to Group - Assigns a user to an Okta group.
- Suspend User - Suspend a user from Okta
- Create User - Creates a user without credentials, and sends them an e-mail with an account creation prompt.
- Activate User - Activate a user from Okta
- Deactivate User - Deactivate a user from Okta
- Remove User From Group - Removes a user from an Okta group.
- API Request (Beta) - This is an advanced action which makes a raw HTTP request that includes this integration's authentication.
Limitations
- Okta API tokens expire after 30 days without use. Each successful API request extends the expiration window. Tokens that are not used for 30 days expire and cannot be used again.