> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devinenterprise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Okta SSO Setup

> Configure Single Sign-On with Okta

To set up Okta as a log-in option for your Devin users, you can share this document with your Okta administrator and/or a member of your IT team.

## Create a new application in Okta

1. In your OKTA Admin Panel go to Applications > Create App Integration

<Frame>
  <img src="https://mintcdn.com/cognitionai-enterprise/oD-FO9nMcsNLafKf/images/okta-application-1.png?fit=max&auto=format&n=oD-FO9nMcsNLafKf&q=85&s=05a33f49f63ec72014525656c9bc0ea1" alt="Okta Application Creation Step 1" width="1596" height="756" data-path="images/okta-application-1.png" />
</Frame>

2. Select `OIDC - OpenID Connect` for the Sign-in method and `Web Application` for the `Application Type`

<Frame>
  <img src="https://mintcdn.com/cognitionai-enterprise/oD-FO9nMcsNLafKf/images/okta-application-2.png?fit=max&auto=format&n=oD-FO9nMcsNLafKf&q=85&s=0dd238ab405e391480addcf9716236cf" alt="Okta Application Creation Step 2" width="1582" height="1078" data-path="images/okta-application-2.png" />
</Frame>

3. For `Sign-in redirect URIs` enter the following values

<Note>
  [https://auth.devin.ai/login/callback](https://auth.devin.ai/login/callback)
</Note>

<Frame>
  <img src="https://mintcdn.com/cognitionai-enterprise/oD-FO9nMcsNLafKf/images/okta-redirect.png?fit=max&auto=format&n=oD-FO9nMcsNLafKf&q=85&s=58022dafa75489751d2d8d8c70fe9ed9" alt="Okta Redirect URIs" width="1474" height="464" data-path="images/okta-redirect.png" />
</Frame>

4. Leave Sign-out redirect URIs empty

## Share your application credentials with Cognition

1. Once the application is created you will need to share with Cognition the following pieces of information
   1. Client ID
   2. Client Secret
   3. Your Okta Domain (can be obtained from the user dropdown below your email)

<Frame>
  <img src="https://mintcdn.com/cognitionai-enterprise/oD-FO9nMcsNLafKf/images/okta-client-creds.png?fit=max&auto=format&n=oD-FO9nMcsNLafKf&q=85&s=9f4433cc270254ebef8e0f8f0fe477e2" alt="Okta Client Credentials" width="1626" height="966" data-path="images/okta-client-creds.png" />
</Frame>

## Optional

You can enable the application as an icon in your users dashboard with the following configuration:

1. Select **Either OKTA or App** for `Login initiated by`
2. Check **Display application icon to users**
3. Select **Redirect to app to initiate login (OIDC Compliant)** as the Login flow value
4. Set the Initiate login URI to your Devin Enterprise login URL

<Note>
  `https://<your_subdomain>.devinenterprise.com/login`
</Note>

<Frame>
  <img src="https://mintcdn.com/cognitionai-enterprise/oD-FO9nMcsNLafKf/images/okta-optional-step.png?fit=max&auto=format&n=oD-FO9nMcsNLafKf&q=85&s=21df13fa3c09ef5eb64c9f91e9bfaebf" alt="Okta Optional Settings" width="968" height="258" data-path="images/okta-optional-step.png" />
</Frame>
