> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# PingIdentity

<View title="Developer" />

<View title="Federal docs" />

<View title="EU docs" />

<Warning>
  **PingIdentity is not officially supported**

  We provide guidance for setting up SAML-based single sign-on (SSO) with PingIdentity, but PingIdentity is not an officially supported identity provider (IdP). We cannot provide additional support or configuration guidance for this configuration.
</Warning>

This topic explains how to set up SAML-based single sign-on (SSO) with PingIdentity.

Setting up SSO with PingIdentity requires the following steps:

1. Retrieving your Entity ID and ACS URL from LaunchDarkly
2. Adding the LaunchDarkly application in PingIdentity
3. Updating LaunchDarkly with URL and exchange certificate details

You can also set up member roles using the following steps:

1. Defining user attributes in PingIdentity
2. Mapping user attributes to LaunchDarkly
3. Creating a PingIdentity group for LaunchDarkly access
4. Assigning the group to the LaunchDarkly app

## Prerequisites

To give your organization access to LaunchDarkly through PingIdentity, you need the following components:

* A LaunchDarkly Admin organization role, or an Admin or Owner base role, or another role with [permissions to update account SSO settings](/docs/home/account/roles/role-actions#account-actions)
* PingIdentity Admin permissions

## Retrieve your Entity ID and ACS URL from LaunchDarkly

To begin, retrieve your Entity ID and assertion consumer service (ACS) URL from LaunchDarkly:

1. In LaunchDarkly, click the **gear** icon in the left sidebar to view Organization settings.
2. Click **Security**.
3. Click **Edit SAML configuration**.
4. In the "SAML application details" section, copy the **Assertion consumer service URL** and the **Entity ID**, and save them for use in the next section.

## Add the LaunchDarkly application in PingIdentity

To add the LaunchDarkly application in PingIdentity:

1. Log in to the PingIdentity admin console.
2. Navigate to **Applications**.
3. Click the **+** icon to add a new application.

<Frame caption="The &#x22;Applications&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-applications.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=7061e479fec5429213883ad586fffef4" alt="The &#x22;Applications&#x22; screen in PingIdentity." width="1856" height="750" data-path="images/__third_party/pingid-applications.png" />
</Frame>

4. Enter "LaunchDarkly SSO" as the **Application Name**.
5. (Optional) Add a **Description** and **Icon**.
6. Click **SAML Application**.

<Frame caption="The &#x22;Add Application&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-add-application.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=0db4b6bdc65aefdfa8f1ec8e8723ce35" alt="The &#x22;Add Application&#x22; screen in PingIdentity." width="1234" height="1048" data-path="images/__third_party/pingid-add-application.png" />
</Frame>

7. Select **Manually enter**.
8. Enter the LaunchDarkly ACS URL you copied from the previous section into the **ACS URLs** field.
9. Enter the LaunchDarkly Entity ID you copied from the previous section into the **Entity ID** field.

<Frame caption="The &#x22;Applications&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-saml-config.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=e857975e91d9515e0a7e4b869a5a23ed" alt="The &#x22;Applications&#x22; screen in PingIdentity." width="1038" height="744" data-path="images/__third_party/pingid-saml-config.png" />
</Frame>

10. Click **Save**. The LaunchDarkly application appears in the Applications list.
11. Copy the **Signon URL** and save it for use in the next section.
12. Click **Download Signing Certificate** and select the "X509 PEM (.crt)" format. The X.509 certificate downloads to your machine.

You will use the Signon URL and X.509 certificate in the next section.

## Update LaunchDarkly with URL and exchange certificate details

Next, update LaunchDarkly with the SSO URL and the X.509 exchange certificate:

1. In LaunchDarkly, click the **gear** icon in the left sidebar to view Organization settings.
2. Click **Security**.
3. Click **Edit SAML configuration**.
4. in the "SAML identity provider details" section, enter the Signon URL you copied from PingIdentity into the **Sign-on URL** field.
5. Click **Upload one** to upload the X.509 certificate you downloaded from PingIdentity. Or, paste the certificate contents into the **X.509 certificate** field.
6. Click **Save**.

## Define user attributes in PingIdentity

You can assign LaunchDarkly roles to account members through PingIdentity. In PingIdentity, your account members are called "users."

First, define user attributes in PingIdentity:

1. In PingIdentity, navigate to **Directory**, then **User Attributes**.
2. Click the **+** icon to add a new attribute.

<Frame caption="The &#x22;User Attributes&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-user-attributes.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=150c94712c5edaa1546118be99e2f49b" alt="The &#x22;User Attributes&#x22; screen in PingIdentity." width="1388" height="682" data-path="images/__third_party/pingid-user-attributes.png" />
</Frame>

3. Select **Declared**.
4. Enter "role" as the **Name**.
5. Enter "LaunchDarkly Built-in role" as the **Display Name**.
6. (Optional) Enter a **Description**.
7. Select **Enumerated values**.
8. Click **+ Add Value** and enter "admin."
9. Repeat step 8 for "writer" and "reader."
10. Click **Save**.

<Frame caption="The &#x22;Add Attribute&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-add-attribute.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=ba6892ed242ee3f71c81b1b2706ac68b" alt="The &#x22;Add Attribute&#x22; screen in PingIdentity." width="832" height="1230" data-path="images/__third_party/pingid-add-attribute.png" />
</Frame>

11. To repeat the process for custom roles, click the **+** icon to add a new attribute and select **Declared**.
12. Enter "customRole" as the **Name**.
13. Enter "LaunchDarkly Custom Roles" as the **Display Name**.
14. (Optional) Enter a **Description**.
15. Select **No Validation**.
16. Click **Save**.

The role and customRole attributes appear in your PingIdentity user directory.

## Map user attributes to LaunchDarkly

Next, map PingIdentity user attributes to LaunchDarkly:

1. In PingIdentity, navigate to **Applications**.
2. Select the "LaunchDarkly SSO" application.
3. Click the **Attributes Mappings** tab.
4. Click **+Add**.
5. Enter "role" in the **Attributes** field.
6. Select "LaunchDarkly Built-in role" from the **PingOne Mappings** menu.
7. Click **+Add**.
8. Enter "customRole" in the **Attributes** field.
9. Select "LaunchDarkly Custom Roles" from the **PingOne Mappings** menu.

<Frame caption="The &#x22;Edit Attribute Mappings&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-edit-attribute-mappings.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=7a4bea9e1e8764e3c1efd7c1432575e8" alt="The &#x22;Edit Attribute Mappings&#x22; screen in PingIdentity." width="1594" height="872" data-path="images/__third_party/pingid-edit-attribute-mappings.png" />
</Frame>

PingIdentity user attributes are now mapped to LaunchDarkly roles and custom roles.

## Create PingIdentity groups for LaunchDarkly access

Next you can allow LaunchDarkly access using PingIdentity groups:

1. In PingIdentity, navigate to **Directory**, then **Groups**.
2. Click **Add Group**.
3. Enter "Access to LaunchDarkly App" or similar as the **Name**.
4. (Optional) Add a **Description**.
5. Select a PingIdentity **Population** that should have access to LaunchDarkly.
6. Click **Save**.

<Frame caption="The &#x22;Add Group&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-add-group.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=f734f4ef1aa2495d9d060aa6f1711d90" alt="The &#x22;Add Group&#x22; screen in PingIdentity." width="1508" height="790" data-path="images/__third_party/pingid-add-group.png" />
</Frame>

## Assign the group to the LaunchDarkly app

Next, assign the group to the LaunchDarkly app:

1. In PingIdentity, navigate to **Applications**.
2. Select the "LaunchDarkly SSO" application.
3. Click the **Access** tab.
4. Click the **pencil** icon.
5. Search for and select the "Access to LaunchDarkly App" group.
6. Click **Save**.

<Frame caption="The application &#x22;Access&#x22; screen in PingIdentity.">
  <img src="https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/pingid-application-access.png?fit=max&auto=format&n=6toei-i72Mf97ImT&q=85&s=9a5a4ac18dd5a3f2dd6cf17be8710976" alt="The application &#x22;Access&#x22; screen in PingIdentity." width="1594" height="702" data-path="images/__third_party/pingid-application-access.png" />
</Frame>

## Test your setup

Finally, you can test your SSO setup using [Test drive mode](/docs/home/account/saml#test-drive-mode).
