# Authentication

{% hint style="info" %}
Authentication is configured in HQ.
{% endhint %}

Users can authenticate in two ways: Basic authentication or SSO/SAML. You can also designate specific users as admin accounts.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><strong>Admin Account</strong></td><td>Learn how to configure admin accounts in Lenses.</td><td></td><td><a href="authentication/admin-account">admin-account</a></td><td><a href="https://3629020462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoxgTiTb4MZT9IGHAYUTn%2Fuploads%2Fgit-blob-2e87cee783c716674b77390f8c2e0c71d0621e97%2FAuthentication%20--%20Admin%20account.jpg?alt=media">Authentication -- Admin account.jpg</a></td></tr><tr><td><strong>Basic Authentication</strong></td><td>Learn how to configure Lenses with Basic Auth.</td><td></td><td><a href="authentication/pwd-based-authentication">pwd-based-authentication</a></td><td><a href="https://3629020462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoxgTiTb4MZT9IGHAYUTn%2Fuploads%2Fgit-blob-2dbbf2715acb26c11e6669860ba8a9ee7c50b3ac%2FAuthentication%20--%20Basic%20auth.jpg?alt=media">Authentication -- Basic auth.jpg</a></td></tr><tr><td><strong>SSO &#x26; SAML</strong></td><td>Learn how to configure Lenses with SSO &#x26; SAML.</td><td></td><td><a href="authentication/sso-and-saml">sso-and-saml</a></td><td><a href="https://3629020462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoxgTiTb4MZT9IGHAYUTn%2Fuploads%2Fgit-blob-c6e418c8ff2baa9bf48a8ace09b1c9badf5772b6%2FAuthentication%20--%20SAML%20%26%20SSO.jpg?alt=media">Authentication -- SAML &#x26; SSO.jpg</a></td></tr><tr><td><strong>OAuth 2.1</strong></td><td>Learn how to configure Lenses with OAuth 2.1</td><td></td><td></td><td><a href="https://3629020462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoxgTiTb4MZT9IGHAYUTn%2Fuploads%2FibPqWCW85wNYoOl8yVPP%2FMCP_OAuth.png?alt=media&#x26;token=3aeafdec-572f-444f-8778-63b9cdc81fe0">MCP_OAuth.png</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lenses.io/latest/deployment/configuration/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
