# OKTA

**Step 1 - Configure OKTA App**

1. Log in to Okta Developer Console
2. On the New App Integration wizard, select SAML 2.0.

   <figure><img src="https://user-images.githubusercontent.com/8475899/230389494-e9633227-6e09-44cd-a2ea-1f360a7e5c94.png" alt=""><figcaption></figcaption></figure>
3. Set a name.

   <figure><img src="https://user-images.githubusercontent.com/8475899/230389786-d2a41e74-2357-4c83-8253-6c59b2a45e1a.png" alt=""><figcaption></figcaption></figure>
4. Add the Single sign-on URL and Audience URI. (Unique Identifier)

   <figure><img src="/files/LFiAv0JIP2uJCq05ib55" alt=""><figcaption></figcaption></figure>
5. Define the Attribute Statements. Okta says this is optional, but we need to set up these attributes to get access to the user's name and email when they authenticate on CloudIO.

   <figure><img src="https://user-images.githubusercontent.com/8475899/230392001-092954c5-ba10-43e4-b0b5-b2152a9ab8e0.png" alt=""><figcaption></figcaption></figure>
6. Mark the App Integration as internal.

   <figure><img src="https://user-images.githubusercontent.com/8475899/230392260-719b6229-9b90-4cf9-9faf-3af1a2667493.png" alt=""><figcaption></figcaption></figure>
7. The App Integration was created and we need to retrieve IDP Metadata to finish the setup on CloudIO. Scroll down, and click on the View SAML setup instructions link. Copy the IDP metadata.

   <figure><img src="https://user-images.githubusercontent.com/8475899/230393244-1fa59839-551d-46bb-ad83-447b946059be.png" alt=""><figcaption></figcaption></figure>
8. Assign users/groups that can use the app, otherwise, they won’t be able to get authenticated through it.

   <figure><img src="https://user-images.githubusercontent.com/8475899/230394723-b92c4f6b-092a-4d49-b373-4b13f6052660.png" alt=""><figcaption></figcaption></figure>

#### **Step 2 - Configure OKTA Details in CloudIO**

1. Login to CloudIO and navigate to the settings tab.

   <figure><img src="/files/zIjJgvikkaC4h0MfmF4L" alt=""><figcaption></figcaption></figure>
2. Select SAML Auth provider and configure the below details from Step 1

   <figure><img src="/files/tYylM21oW2Qy3YwXLhE8" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://next-docs.cloudio.io/app-deployment/configure-sso/saml/saml-okta.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
