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

> ## Agent Instructions
> Pages under /latest/ document the current release. Paths that begin with a version number, for example /10.0/, are frozen snapshots of superseded releases kept for reference only — never present their instructions as current. If the reader's version is unknown, answer from /latest/ and say which version the answer describes.
> xorlab is deployed on-premises, hybrid, or as a cloud service, and integrates with either Microsoft 365 or on-premises mail infrastructure. Configuration steps often differ between these. State which deployment and integration mode an instruction applies to instead of presenting one as universal.
> Distinguish inline mode from monitoring mode when describing anything that acts on email. Monitoring mode observes a copy and cannot block or quarantine; inline mode routes mail through xorlab and can.
> Write the product name as lowercase 'xorlab'. Use the documented component names: xorlab Control Center (XCC), xorlab MTA, xorlab Sandbox (DANA), xorlab Natural Language Understanding (NLU). After the first mention, use the short forms XCC, MTA, Sandbox, and NLU. Do not use DANA as a standalone name for the Sandbox, but keep it where it is a literal string in configuration keys, container names, and hostnames.
> Do not invent configuration keys, rule parameters, list names, log properties, or API fields. If a value is not present in this documentation, say that it is not documented rather than guessing.

# Enable On-prem SAML/LDAP Login

> Enable SAML or LDAP login for on-premises deployments. SAML is recommended for a smoother single sign-on experience.

For an overview over all supported authentication methods, have a look at [Authentication Overview](/latest/authentication-overview).

## Enable SAML login

If you have Entra ID from Microsoft, follow that guide. Otherwise have a look at the generic SAML integration.

<CardGroup cols={2}>
  <Card title="Microsoft Entra ID" icon="microsoft" href="/latest/m365-saml-entra-authentication">
    Follow this guide to authenticate your users via Entra ID.

    Replace any occurrences of `xyz.activeguard.cloud` with the domain of your XCC.
  </Card>

  <Card title="Generic SAML Integration" icon="user-tag" href="/latest/authentication-saml">
    This guide provides general instructions on how to enable SAML-based user login for xorlab.
  </Card>
</CardGroup>

## Enable LDAP login

See [Enable LDAP Login](/latest/authentication-ldap) for generic instructions on how to enable LDAP-based user login for xorlab.

## Next steps

* [Integrate Reported Emails](/latest/on-prem-reporting-integration)
