# How to Authenticate

After generating an [API Token](/authentication/create-and-manage-your-api-token.md#how-to-create-an-api-token), the system displays the associated Username and password for authentication, which is based on the Basic authentication method.

To retrieve the token value, navigate to `Sesame Data > API Tokens > [edit]`.

<figure><img src="/files/iy6eFg38iqxM4XfjMv0Q" alt=""><figcaption><p>How to retrieve your Username and Password</p></figcaption></figure>

In your preferred tool, select the Authorization type as `Basic Auth`. Your tool will prompt you to enter the Username and Password. Please input the credentials as provided in the API Tokens tool.

The simplest call that you can make is [Entity List](/api-endpoints/entity-list.md), which contains all Legal entities, Portfolios and Groupings of your account. This endpoint does not include any additional request parameter.

Therefore the Authentication and a request to our APIs would require:

* Verb `GET`
* URL: [https://data.api.landytech.net/api/v1/entitylist](https://data.api.landytech.net/api/v1/entityList) [Entity List](/api-endpoints/entity-list.md)
* Authorization type: `Basic Auth`
  * Username: from `API Tokens`
  * Password: from `API Tokens`

You may also find it valuable to explore our tutorial on [Using Sesame Data with Postman](/tutorials-recipes/using-sesame-data-with-postman.md).

Users also can troubleshoot the results by [Viewing Logs](/faq-and-troubleshooting/viewing-logs.md).


---

# 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.landytech.com/authentication/how-to-authenticate.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.
