> For AI agents: [llms.txt](https://docs.trustedauth.com/llms.txt) provides a Markdown index of this documentation.

# Lucidchart

Lucidchart is a web-based diagramming application that allows users to visually collaborate on drawing, revising and sharing charts and diagrams. It also users to improve processes, systems, and organizational structures. See <https://www.lucidchart.com>. You can protect access to Lucidchart by integrating Lucidchart with Identity as a Service. Once integrated, users can use single sign-on to log in to their Lucidchart account through Identity as a Service.

note

This integration was tested using Identity as a Service version 5.33 and Lucidchart Trial version December 2023. Other versions of Lucidchart may require integration and configuration steps that differ from those documented in this procedure. For other versions of Lucidchart, use this procedure as a starting point for integrating Lucidchart. In the event of other issues, contact <support@entrust.com> for assistance.

To integrate Lucidchart with Identity as a Service, you must do the following:

Before you begin, open two browser windows. In one window, log in to your Lucidchart Administrator account. In the other window, log in to your IDaaS administrator account.

## Step 1: Download the metadata from Lucidchart

1. Log in to Lucidchart. The **Team Spaces** page appears.
2. Click **Admin** in the menu pane. The **Admin** page appears.
3. Click **App integration > General**. The **App integrations** page appears.
4. Click SAML **Settings**. The **Activation** page appears.
5. Scroll to click **Download metadata**.
6. Save the metadata file.
7. Leave this page open to return to in _Step 5: Configure Lucidchart for Identity as a Service authentication_.

## Step 2: Add Lucidchart to Identity as a Service

1. Log into your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications** **Lists** page appears.
3. Click **Add**. The **Select an Application Template** page appears.
4. Do one of the following:
   - Select **SAML Cloud Integrations** from the search drop-down list and scroll to find the application you want to add to IDaaS.
   - In the **Search bar**, enter a search option to filter for the application you want to add to IDaaS.
5. Click **Lucidchart**. The **Add Lucidchart** page appears.
6. Enter an **Application Name**.
7. Enter an **Application Description**.
8. Optional. Add a custom application logo.
   1. Click Plus icon next to **Application Logo**. The **Upload Logo** dialog box appears.
   2. Click Upload icon to select an image file to upload.
   3. Browse to select your file and click **Open**. The **Upload Logo** dialog box reappears showing your selected image.
   4. If required, resize your image.
   5. Click **OK**.
9. Select the **Authentication Flow** that appears to users during login.
10. Click **Next**. The **General** page appears.
11. Click Upload icon to the **Upload Metadata XML** and browse to the location of the metadata file you downloaded. The **Metadata Configuration** dialog box appears.
12. If required, click **Merge with existing values** to merge new values with existing values for Alternative Assertion Consumer Services URLs and SAML attribute names.
13. Click **Save**.
14. Enter the **SAML Session Timeout** to the time when the SAML Assertion times out. The maximum is 720 minutes.
15. Enter the **Max Authentication Age (seconds)** to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.
16. From the **SAML NameID Attribute** drop-down list, select **User ID**.
17. From the **SAML NameID Encoding Format** drop-down list, select **Unspecified**.
18. Select the **SAML Signing Certificate**.
19. Deselect **Enable Go Back Button** if you do not want users to be able to go back to the Lucidchart login page to log in.
20. Add an **Alternative Assertion Consumer Service URLs**, as follows:
    1. Click **Add**.
    2. Enter lucidchart1 in the **Name** field.
    3. Enter the following URL in the **Value** field: `https://lucid.app/smal/sso/<Entrust>` where `<Entrust>` is your app name.
    4. Select **Show in My Profile** to display the Alternative Consumer Service URL in a user's My profile page.
    5. Optional. **Add an Application Logo**.
    6. Click **Add**.
21. Select **Show Default Assertion Consumer URL Service in the My Profile**. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.
22. Add **SAML Attributes** as follows:
    1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.
    2. In the **Name** field enter First Name.
    3. Click **Add** next to **Value(s)**.
    4. In the **Values** field, type `<` and select **First Name**.
    5. Click **Add**.
    6. Repeat this procedure to add the following additional user attributes:
       - Last Name
       - Email
23. Leave the remaining settings at the default values.
24. Click **Submit**.

## Step 3: Add a resource rule

See [Create resource rules](/docs/authentication-and-security/create-and-manage-resource-rules.md).

## Step 4: Download the metadata file from Identity as a Service

1. In Identity as a Service, click Menu icon **>** **Security > Applications**. The **Applications List** page appears.
2. Do one of the following:
   - Click Cloud Download icon next to the application you are integrating with Identity as a Service.
   - Click Ellipsis Vertical icon next to the application you are integrating with Identity as a Service and select **SAML IDP Metadata**.
3. The **SAML Application Metadata** dialog box appears.
4. **Select the certificate to include in the SAML IDP Metadata file** from the drop-down list.
5. If applicable, **Select the domain to include in the SAML IDP Metadata** file from the drop-down list.
6. Enter the **Lifetime, in days, for the SAML IDP Metadata file**. The value must be between 2 and 730.
7. Do one of the following, as required:
   - Copy the **Public Endpoint** to paste into your SAML application being used Identity Provider authentication.
   - Click **Download**.

note

If you are using multiple domains, you must download each domain's metadata file separately because the values in the metadata file vary for each domain.

## Step 5: Configure Lucidchart for Identity as a Service authentication

1. Return to the Lucidchart SAML **Activation** page you left open in _Step 1: Download the metadata from Lucidchart_.
2. In the **Domain** field enter the domain name for SSO, for example Entrust.
3. Click **Add identity provider** and browse to select the metadata file that you downloaded in _Step 4: Download the metadata file from Identity as a Service_.
4. Select the metadata file you downloaded in _Step 4: Download the metadata file from Identity as a Service_.
5. Click **Save changes**.
6. Click **Test SAML connection**. You should be redirect to the IDaaS log in page.

## Step 6: Test the integration

**Test Service Provider login**

1. Open a web browser and enter the URL of Lucidchart.
2. Click **Single sign-on**. You are re-directed to Identity as a Service.
3. Log in to IDaaS.
4. Respond the second-factor authentication challenge. If you respond successfully, you are logged into Lucidchart.

**Test Identity as a Service redirect log in**

1. Log in to your Identity as a Service account.
2. Go to your **My Profile** page if you are not already there.
3. Under **Applications**, click **Lucidchart**.
4. Respond to the second factor authentication challenge. If you respond successfully, you are logged in to Lucidchart.
