# Authentication

There are three ways you can authenticate on the mediarithmics API:

* Long-term API tokens
* Signature authentication

Check our guide on [Authentication](https://developer.mediarithmics.io/resources/api-overview/authentication) for a complete view.

In our example we will generate and use a long-term API token in the UI:

* connect to the [mediarithmics platform](https://navigator.mediarithmics.com/)
* navigate to settings
* then My Account > API Tokens
* click on the "New API Token" to generate a long-term API token

We will now use this token in the `Authorization` header of all our requests to the mediarithmics API.
