> 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.12/onboard-cortex-xsoar/onboarding-in-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

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.12/onboard-cortex-xsoar/onboarding-in-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](/files/fJgQEUJlmTM8yHVMv0Ta)
3. Click **Create New App**.

   ![okta-new-app.png](/files/NDVDrRb4HRXRqsdMKhNI)
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](/files/cYLC4nIsOkQ2KJs7KLGl)
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.12/onboard-cortex-xsoar/onboarding-in-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](/files/XKiVZdIWBUhrWUKJrMIa)
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](/files/8QKILqxuAr9D2bAwUmnS)
12. Continue with [Configure the SAML 2.0 Integration for Okta](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-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 current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
