> For the complete documentation index, see [llms.txt](https://docs.lenses.io/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lenses.io/latest/devx/5.5/deployment/configuration/iam/authentication/sso-and-saml/okta-sso.md).

# Okta SSO

> *Groups are case-sensitive and mapped by name with Okta*

Integrate your user-groups with Lenses using the Okta group names. Create a group in Lenses using the same **case-sensitive** group name as in Okta.

For example, if the **Engineers** group is available in Okta, create a group with the same name.

## Set up Okta IdP <a href="#set-up-okta-idp" id="set-up-okta-idp"></a>

Lenses is available directly in Okta’s [Application catalog](https://okta.com/integrations/lenses/).

## Add application in the Catalog <a href="#add-application-in-the-catalog" id="add-application-in-the-catalog"></a>

1. Go to *Applications* **>** *Applications*
2. Click *Add Application*
3. Search for `Lenses`
4. Select by pressing `Add`

## Set General Settings <a href="#set-general-settings" id="set-general-settings"></a>

5. App label: `Lenses`
6. Set the base url of your lenses installation e.g. `https://lenses-dev.example.com`
7. Click Done

## Download IdP XML file <a href="#download-idp-xml-metadata" id="download-idp-xml-metadata"></a>

Download the Metadata XML file with the Okta IdP details.

8. Go to *Sign On* **>** *Settings* **>** *SIGN ON METHODS*
9. Click on Identity Provider metadata and download the XML data to a file.
10. You will reference this file’s path in the **`security.conf`** configuration file.

{% code title="security.conf" %}

```bash
lenses.security.saml.idp.metadata.file="/path/to/OktaIDPMetadata.xml"
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.lenses.io/latest/devx/5.5/deployment/configuration/iam/authentication/sso-and-saml/okta-sso.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
