--- title: "Integrate Okta with ZTP using SAML" slug: "ztp-okta-saml" updated: 2026-06-17T14:23:49Z published: 2026-06-17T14:23:49Z canonical: "support.appgate.com/ztp-okta-saml" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Integrate Okta with ZTP using SAML ## Prerequisites This integration requires the following: - Okta Identity Cloud account with admin credentials - An active ZTP account, accessible using the Bootstrap Identity provided by AppGate - A test user account on your Okta cloud directory with at least the following attributes configured: - `email`, for example: `joe.smith@mycompany.com` - `firstName`, for example: `Joe` - `lastName`, for example: `Smith` ## Step 1: Add a new application in Okta 1. Log in to your Okta admin account. Confirm that you are on the Admin UI, not the end-user dashboard. 2. In the left menu, go to **Applications** and click **Create App Integration**. ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-d4wlwuse.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=2E1lY5hSz6nqYqkd4cQ6cjx5XkUOm6gR0ztadz%2Fg1bc%3D) 1. On the sign-in method list, select *SAML 2.0* and click **Next***.* ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-tie81nl5.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=B6jmhtd9PONQa7SM%2FPhJQBHa0VR0tNZOvpnn9r5rloQ%3D) 1. On the **Create SAML Integration** page, enter an app name, for example: `AppGate ZTP`. Click **Next***.* ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-l1p65v6f.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=3XbKZTl9Q2C5%2FqGH9BTyaXCCAwZPmHblKGzTuVlwwgQ%3D) ## Step 2: Configure the application On the **Configure SAML** tab, enter the following values in the **General** section: 1. In the ***Single Sign-On URL*** field, enter a placeholder URL, for example: `https://example.com`. You will replace this value after completing the configuration. 2. In the ***Audience URI*** field, enter the Audience value to use in ZTP. For this example, use `okta-idp`. 3. Leave all other fields at their default values. ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-8gme057q.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=qobj3DVz%2FPiC%2FQ4%2FvHG%2Ffkd32owsK7oXzcPaK2LlXso%3D) ## Step 3: Map attributes Create application attributes and specify which SAML attributes map to the ID token. Use the attributes configured for your test user account. The following table shows the attribute mapping for this example: | Name | Value | | --- | --- | | `firstName` | `user.firstName` | | `lastName` | `user.lastName` | | `email` | `user.email` | | `username` | `user.email` | Note the attribute names you create. You will need them to complete the configuration form. Click **Next**. > [!NOTE] > NOTE > > Okta displays a **Feedback** tab before completing the configuration. Select the option that describes your situation and click **Finish**. ## Step 4: Retrieve IdP metadata 1. On the **Sign On** tab of your new application, scroll down to **SAML Signing Certificates**. 2. Click **View SAML Setup Instructions** to display the metadata required to configure your IdP in ZTP. ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-96zy3eba.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=ZfD2%2FtFheIOCsGrj3ZGm5w5AQzTL%2BrxqZ3SZ1oyIarI%3D) 1. Record the following values: - Identity Provider Single Sign-On URL - Identity Provider Issuer - X.509 Certificate (click **Download Certificate** to save the file) ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-9227lqup.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=9Qblg6XT8CJ%2FfY6Jr8aBUWla5%2B8lo4qfH9KItK6b7so%3D) You can also save the IdP metadata as an XML file and upload it when completing the configuration form. ## Step 5: Configure the IdP in ZTP 1. In ZTP, go to **Settings** > **Identity Providers** in the left menu. 2. Click **Add New** and select *SAML provider*. 3. Complete the form using the following values (required fields are marked with an asterisk): | Field | Description | | --- | --- | | Name* | `OKTA – SAML ` | | Audience* | `okta-idp` | | XML Metadata File | IdP metadata provided by Okta, saved as an XML file | | SSO URL* | If you uploaded the XML file, this field populates automatically. Otherwise, enter the Identity Provider Single Sign-On URL recorded in [Step 4](/v1/docs/saml-providers#metadata). | | Issuer* | If you uploaded the XML file, this field populates automatically. Otherwise, enter the Identity Provider Issuer recorded in [Step 4](/v1/docs/saml-providers#metadata). | | Public Certificate | If you uploaded the XML file, this field populates automatically. Otherwise, enter the X.509 Certificate recorded in [Step 4](/v1/docs/saml-providers#metadata). | | Email Attribute* | `email` | | First Name Attribute* | `firstName` | | Last Name Attribute* | `lastName` | | Username Attribute* | `email` | 1. Copy the ACS URL from the ZTP form by clicking the copy to clipboard button. ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/ztp_user-guide_word-image-h928b2ps.jpg?sv=2026-02-06&spr=https&st=2026-11-23T22%3A11%3A26Z&se=2026-11-23T23%3A11%3A26Z&sr=b&sp=r&sig=6xt0PP3vPCXZNQ55FJkhg5Z1ut4nLZLpdSCvkLLkVKg%3D) 1. In Okta, return to [**General SAML Settings**](/v1/docs/saml-providers#application-configuration) and replace the placeholder URL (`https://example.com`) in the ***Single Sign-On URL*** field with the ACS URL you copied. 2. Click **Save** and [test the integration](/v1/docs/test-integration). > [!NOTE] > NOTE > > Common integration errors include missing fields and mismatched attribute names between the Okta SAML app and the AppGate ZTNA configuration. Verify attribute mappings carefully before saving.