> For the complete documentation index, see [llms.txt](https://docs.ledge.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ledge.co/authentication/okta-sso-saml.md). Agents can also search and read this documentation through its [MCP server](https://docs.ledge.co/~gitbook/mcp).

# How-to Guide: Configure Okta SAML App Integration

This guide will walk you through creating a SAML app integration in the Okta Developer Console.

{% hint style="info" %}
Note: Your Ledge Customer Experience Manager can enable Okta SAML for your account. They will provide you with the connection name - referred to below as "your-ledge-workspace"
{% endhint %}

#### [​](https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider/configure-okta-as-saml-identity-provider#create-app-integration)Create App Integration <a href="#create-app-integration" id="create-app-integration"></a>

1. Sign in to your [Okta Admin Console](https://login.okta.com/).
2. Go to **Create App Integration** and choose **SAML 2.0** from the options.
3. Configure the following settings:

| **Setting**                 | **Description**                  | **Example**                                                                |
| --------------------------- | -------------------------------- | -------------------------------------------------------------------------- |
| Single Sign-On URL          | Auth0 tenant login callback URL. | `https://auth.goledge.io/login/callback?connection={your-ledge-workspace}` |
| Audience URI (SP Entity ID) | Auth0 connection audience value. | `urn:auth0:goledge:{your-ledge-workspace}`                                 |

4. Select **Next**, and then select **Finish** to complete the Okta app integration configuration.

#### Mapping

In Okta Admin page, go to Applications → (your SAML app) → Sign On → Edit\
&#x20;Add Attribute Statements as follows:

* `email` → `user.email` (or `user.login` if email isn’t populated)
* `given_name` → `user.firstName`
* `family_name` → `user.lastName`
* `name` → `user.firstName + " " + user.lastName` (Okta expression)

#### Record SSO URL and Download Certificate <a href="#record-sso-url-and-download-certificate" id="record-sso-url-and-download-certificate"></a>

The login flow is now directed to the **Sign On** page for the newly-created app.

1. Select **View SAML Setup Instructions**.
2. Record the **Identity Provider Single Sign-On URL**.
3. Download the **X.509 Certificate** in PEM or CER format.
4. Navigate to **Assignments**, and then assign a user to the Okta application.

#### Send the configuration to Ledge

When done, reach out to your Customer Experience Manager and send over the following so we can complete the configuration on our side:

* The **Identity Provider Single Sign-On URL**
* The **X.509 Certificate**

Alternatively, export the **IdP metadata XML** from the same SAML Setup Instructions page and send that single file — it contains both values.
