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

# Set up SAML

*This feature is available by default in the Enterprise edition, and as a paid add-on for the Business edition.*

Configuring SAML to use for user login can be a slightly challenging task. This page describes all the necessary steps from the client's side.

## Prerequisites

* The final custom domain must be configured

## Setting up SAML

Most clients utilize the MS Entra ID (formerly Azure Active Directory), which is what we are using in this guide.

**1. In Circularo Administration, go to Settings and then **Security****

**2. Turn on the **SAML enabled** toggle**

**3. Click on **SAML SP Configuration****

**4. Fill out the **Issuer****

The Callback URL is optional

**5. Click **Generate keys****

**6. Once keys are generated, click **Continue****

**7. Download the **Service provider metadata** file**

Now we need to head over to the Azure Portal to continue the configuration.

**8. Sign in to the Azure Portal**

**9. Access **MS Entra ID****

From the left-hand menu, select **Microsoft Entra ID**

![Microsoft Entra ID](https://mintcdn.com/circularo-b2a7801d/8AXMZe46M5SSOIX-/images/938346996-microsoft-entra-id.png?fit=max\&auto=format\&n=8AXMZe46M5SSOIX-\&q=85\&s=29e7ca861badb1c8b7e86e70d0639d95)

**10. Create a New Application**

**1. Navigate to **Enterprise applications****

**2. Click **+New application****

![New application](https://mintcdn.com/circularo-b2a7801d/8AXMZe46M5SSOIX-/images/938346996-new-application.png?fit=max\&auto=format\&n=8AXMZe46M5SSOIX-\&q=85\&s=969450a452c4250349f6184ece14f0d9)

**3. Select **Create your own application****

![Create your own application](https://mintcdn.com/circularo-b2a7801d/8AXMZe46M5SSOIX-/images/938346996-create-your-own-application.png?fit=max\&auto=format\&n=8AXMZe46M5SSOIX-\&q=85\&s=00231fa4544fb44c7ca385842604b0bf)

**4. Enter a name for the application and register it as a custom-built app.**

The **Create** button is at the bottom.

**11. In the new application, go to **Single Sign on****

**12. Select the **SAML** option**

**13. Click **Upload metadata file** and confirm**

Here you will upload the file you downloaded from Circularo.

![Upload metadata file](https://mintcdn.com/circularo-b2a7801d/8AXMZe46M5SSOIX-/images/938346996-upload-metadata-file.png?fit=max\&auto=format\&n=8AXMZe46M5SSOIX-\&q=85\&s=b09143fe9744447d82dcbb0a69a0fa9c)

**14. Check the Identifier and Reply URL are filled out and click **Save** right above them**

The details are contained in the metadata file.

![Basic SAML configuration](https://mintcdn.com/circularo-b2a7801d/8AXMZe46M5SSOIX-/images/938346996-basic-config.png?fit=max\&auto=format\&n=8AXMZe46M5SSOIX-\&q=85\&s=19f0de7aa7cccb59872d57c0fbcfee10)

**15. Scroll down and find the **Federation Metadata XML****

![Federation metadata XML](https://mintcdn.com/circularo-b2a7801d/8AXMZe46M5SSOIX-/images/938346996-federation-metadata-file.png?fit=max\&auto=format\&n=8AXMZe46M5SSOIX-\&q=85\&s=e6bcc741f7964211d99116a628dc3a6a)

**16. Download the file**

Once downloaded, you need to go back to Circularo to finish the setup.

**17. In the **Security** settings, open the **SAML IdP configuration****

**18. Upload the **Federation Metadata XML****

**19. Click **Save****

Your users should be able to start using SAML for login.

To configure the login screen with the "Login with SAML" button, go to the [Configure login](https://help.circularo.com/admins/login.md) section.

> [!NOTE]
>
> For other AD systems the configuration should be similar but we currently unfortunately don't have any experience with these.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.