# Create a Personal Token for Authentication

Using the ScyllaDB Cloud API requires authentication. Create a personal access
token from your ScyllaDB Cloud account to authenticate requests to the API
endpoints.

* The privileges enforced by the token match the permissions granted
  to your role as a user (Admin, Maintainer, or Viewer).
* If you have more than one ScyllaDB Cloud account, you need to generate
  a token on each account.

## Create a Token

1. Sign in to [ScyllaDB Cloud](https://cloud.scylladb.com/account/login).
2. Go to **Settings> Personal Tokens**.
3. Click **Generate Token**.
4. Provide the token description and specify the expiration time (the default
   value is *Never*).
5. Click **Create**. Your personal access token will be created and displayed in
   a pop-up window.

You can create more than one token. Your tokens will be listed under *Personal
Tokens*.

## Use a Token

When calling a ScyllaDB Cloud API endpoint, you must provide your personal access
token in the HTTP Authorization header.

Specify the token as the header value prefixed with the `Bearer` identifier:

```default
Authorization: Bearer <your personal access token>
```

### Example

You must send your token in an authorization header each time you make an API request
to ScyllaDB Cloud. For example, to list all available cloud providers, add the token
to the following GET request:

```default
curl --request GET \
  --url https://api.cloud.scylladb.com/deployment/cloud-providers \
  --header 'Authorization: Bearer <your personal access token>'
```
