# Accessing OneLens

You can access OneLens through two login methods:&#x20;

1. [**Magic Link**](#magic-link)&#x20;
2. [**Single Sign-On (SSO)**](#single-sign-on-sso)&#x20;

{% hint style="warning" %}
Both require initial setup by an admin to ensure secure access.
{% endhint %}

## &#x20;Magic Link

The magic link method allows you to log in using your email address without worrying about any password. Once you provide your registered email id on the login screen, you receive an email which contains a secure temporary link. Clicking on this link will redirect you to OneLens console, without you having to enter any password.

{% hint style="success" %}

## Prerequisites

* Your account admin should **add you as user with valid email address and role,** from the **User Settings** section.
  {% endhint %}

### Steps to Log In

* Go to the [OneLens login page](https://auth.onelens.cloud/).
* Choose the **Sign in with Magic Link** option.<br>

  <figure><img src="/files/3FbwhPRTHBtO9tWHdXhQ" alt="" width="563"><figcaption></figcaption></figure>
* Enter your **registered email address**.

  <figure><img src="/files/8OuedE5lVt1T2juHjfcD" alt="" width="375"><figcaption></figcaption></figure>
* Click on the **Send Magic Link.**
* Check your inbox for a login link. Here is how the mail will look:

  <figure><img src="/files/RyacmYBmVspXbd2P9t1v" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="warning" %}
Note that magic link works only once for security reasons and has an expiry of 1 hour. In case you fail to utilize the magic link while under validity, you have to generate a new one.
{% endhint %}

* Click **Login** button to access OneLens.

## Single Sign-On(SSO)

SSO allows you to sign in using your organization’s identity provider.

{% hint style="success" %}

## Prerequisites

* An admin must first **enable SSO**  and then **configure the SSO integration** to grant access to organization members.
* Your email along with role must be **added in the User Settings** section by an admin.
  {% endhint %}

### Steps to Log In

1. Visit the the [OneLens login page](https://auth.onelens.cloud/).
2. Click **Sign in with SSO**.
3. Enter your **work email address**.

   <figure><img src="/files/QsVMJ59LUEY2mRr2CxJL" alt="" width="375"><figcaption></figcaption></figure>
4. Click on **Continue** and you’ll be redirected to your SSO provider to complete authentication.

You're now logged in. Head to the [User Guide](/observe-visibility-and-insights/cost-reporting.md) to explore OneLens features and get the most out of the platform.


---

# 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.onelens.cloud/getting-started/accessing-onelens.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.
