# Bearer Token Authentication

This method is available through UI. You can select the `Bearer Token` method and fill in the token.

![img.png](https://help.keboola.com/components/extractors/generic-extractor/configuration/api/authentication/bearer.png)

### JSON

In the underlying JSON, the Bearer Token is implemented as follows:

Place your token into the `config.#__BEARER_TOKEN` parameter. The `Authorization` header is then constructed using the `concat` function.

```json
{
    "api": {
        ...,
        "http": {
      "headers": {
        "Authorization": {
          "function": "concat",
          "args": [
            "Bearer ",
            {
              "attr": "#__BEARER_TOKEN"
            }
          ]
        }
      }
    }
    },
    "config": {
       "#__BEARER_TOKEN": "secret",
       "jobs": [...]
    }
}
```
