> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-okta-as-the-identity-provider-using-saml-2.0/define-the-okta-application-to-authenticate-cortex-xsoar.md).

# Define the Okta Application to authenticate Cortex XSOAR

Define an Okta application to authenticate Cortex XSOAR 6.15 users.

You need to define the Okta application to use it in Cortex XSOAR.

Before you start, you need to create a group as described in [Create Okta Groups for Cortex XSOAR Users](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-okta-as-the-identity-provider-using-saml-2.0/create-okta-groups-for-cortex-xsoar-users.md).

1. Log in to Okta and click **Admin**.
2. Select Applications → Applications → **Add Application**.

   ![okta-add-app.png](https://content.gitbook.com/content/8xEMUKpU65o1wagTHaO3/blobs/IYw7cF49WmQ8hWPW0XvC/955d589566f2501636ee44cb0d98ede30e4a863b1a5120f8df40e96d9f1b91c1.png)
3. Click **Create New App**.

   ![okta-new-app.png](https://content.gitbook.com/content/8xEMUKpU65o1wagTHaO3/blobs/EocBP2Au8c2Ld3QCxRQ6/5aee91d6ec3703f03a88ef04dc0062c3b861fd7c99f578b2e9a79d0db6d7d015.png)
4. From the **Create a New Application Integration** window, in the **Platform** field, select **Web**.
5. In the **Sign on method** field, select **SAML 2.0**.

   ![okta-new-int.png](https://content.gitbook.com/content/8xEMUKpU65o1wagTHaO3/blobs/EDksBxtJhGErjrsqG7Hm/187f0acb7312eb88efca101ec5a6a1838f5c088e29903d1dd217e809e3b3af45.png)
6. Click **Create**.
7. From the **General Settings** section, in the **App name** field, type a name for the application and click **Next**.
8. In the **SAML Settings** section, add the following parameters:

   * The **GENERAL** parameters
   * The **ATTRIBUTE STATEMENTS** parameters.
   * The **GROUP ATTRIBUTE STATEMENTS** parameters

   For information about the parameters, see [SAML Settings for the Okta Application](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-okta-as-the-identity-provider-using-saml-2.0/define-the-okta-application-to-authenticate-cortex-xsoar/saml-settings-for-the-okta-application.md).
9. Click **Next**.
10. Select the following options:

    ![okta-feedback.png](https://content.gitbook.com/content/8xEMUKpU65o1wagTHaO3/blobs/K2I6gu3cnbVOJ8P12U7U/32d1b069c82a680b9069917fe70d1b5a8a1a7d73c9b900701c1708cfaa5cccd5.png)
11. Click **Finish**.

    When setting up the integration in Cortex XSOAR, you need to add the setup instructions and Identity Provider metadata.

    ![okta-setup.png](https://content.gitbook.com/content/8xEMUKpU65o1wagTHaO3/blobs/xvf9aXh6NpL8tsdnoEFX/cd8ebf5557b26e065334e8621e42f708fd73cbbbc9df428bc5e5188443144cd3.png)
12. Continue with [Configure the SAML 2.0 Integration for Okta](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-okta-as-the-identity-provider-using-saml-2.0/configure-the-saml-2.0-integration-for-okta.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-okta-as-the-identity-provider-using-saml-2.0/define-the-okta-application-to-authenticate-cortex-xsoar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
