# OneLogin SSO

{% stepper %}
{% step %}

### Set up OneLogin Id <a href="#set-up-onelogin-idp" id="set-up-onelogin-idp"></a>

Lenses is available in the OneLogin Application catalog.

Visit OneLogin’s Administration console.

* Select **Applications->Applications->Add App**
* Search and select **Lenses**
* Optionally add a description and click save
  {% endstep %}

{% step %}

### Add Lenses via the Application Catalog <a href="#add-lenses-via-the-application-catalog" id="add-lenses-via-the-application-catalog"></a>

* In the *Configuration* section set the base **path** from the url of the Lenses installation e.g. **lenses-dev.example.com** (without the **https\://**)
* Click *Save*
  {% endstep %}

{% step %}

### Download SAML Certificates

Download the **Federation Metadata XML file** with the OneLogin IdP details.
{% endstep %}

{% step %}

### Configure SAML in HQ

SAML configuration is set in HQ's **config.yaml** file. See [here ](https://docs.lenses.io/latest/deployment/hq#samlconfig)for more details.
{% endstep %}
{% endstepper %}
