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

# SAML: Auth0 Configuration

> This document provides instructions for creating an application within Auth0 for compatibility with BloodHound Enterprise.

export const IDPIntro = ({auth_mode}) => {
  const mode = (auth_mode || '').toUpperCase();
  const isOIDC = mode === 'OIDC';
  const href = isOIDC ? '/manage-bloodhound/auth/oidc' : '/manage-bloodhound/auth/saml';
  const label = isOIDC ? 'OIDC' : 'SAML';
  return <Tip>
      See <a href={href}>{label} in BloodHound</a> for order of operations, general {label} setup, and user configuration in BloodHound.
    </Tip>;
};

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

<IDPIntro auth_mode="SAML" />

## Create an Auth0 Application

1. Create an authentication application for BloodHound Enterprise in Auth0.

<Frame>
  <img src="https://mintcdn.com/specterops/TwsBcJyEWw_Zwex2/assets/image-2-39.png?fit=max&auto=format&n=TwsBcJyEWw_Zwex2&q=85&s=d60e91f306544feaba02a178251ab984" width="994" height="550" data-path="assets/image-2-39.png" />
</Frame>

2. Assign a recognizable name to the application and select the integration option for "Regular Web Application."

<Frame>
  <img src="https://mintcdn.com/specterops/TwsBcJyEWw_Zwex2/assets/image-2-40.png?fit=max&auto=format&n=TwsBcJyEWw_Zwex2&q=85&s=2659f6fbf40f7bdb7902785db7efd46f" width="614" height="550" data-path="assets/image-2-40.png" />
</Frame>

3. After the creation of the application in Auth0 you should see the application details page.

<Frame>
  <img src="https://mintcdn.com/specterops/TwsBcJyEWw_Zwex2/assets/image-2-41.png?fit=max&auto=format&n=TwsBcJyEWw_Zwex2&q=85&s=d3dc016d3bf0f3f61d763d3366679554" width="742" height="532" data-path="assets/image-2-41.png" />
</Frame>

4. Click on the "Addons" tab.

<Frame>
  <img src="https://mintcdn.com/specterops/TwsBcJyEWw_Zwex2/assets/image-2-42.png?fit=max&auto=format&n=TwsBcJyEWw_Zwex2&q=85&s=04a0b3a18bb3ff66bbfbd381d0f40298" width="726" height="414" data-path="assets/image-2-42.png" />
</Frame>

5. Enable the "SAML2 Webapp" toggle and download the Identify Provider Metadata file.

<Frame>
  <img src="https://mintcdn.com/specterops/TwsBcJyEWw_Zwex2/assets/image-2-43.png?fit=max&auto=format&n=TwsBcJyEWw_Zwex2&q=85&s=b55a7ffd1e60f80e07f3490a76d9050d" width="680" height="732" data-path="assets/image-2-43.png" />
</Frame>

6. Follow the instructions at [SAML in BloodHound Enterprise](/manage-bloodhound/auth/saml) to create the SAML provider in BloodHound Enterprise.
