---
title: Access token
project: BannerSystem
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/bannersystem/1-0/guides/access-token/
updated: 2026-11-19T04:30:04.165Z
---

# Access token

> Protect the administration with the primary access token and open it with the token.

The primary access token protects the administration of BannerSystem. When a token is set, the administration opens only with the token in its address. There are no user accounts: everybody who has the token can manage BannerSystem.

## Set the token

1. Click **Configuration** in the bar on the left.
2. Under **Security**, click **Generate**. BannerSystem writes a new random token into **Primary access token**. You can also type your own token.
3. Copy the token and keep it in a safe place, for example a password manager.
4. Click **SUBMIT**.
5. BannerSystem shows **The configuration has been saved successfully, but the app needs to be reloaded.** Click **OK**.

The page opens again with the token in its address.

![The Name and Security sections of the Configuration screen](/files/JaozTa1y961f.webp)

## Open the administration with the token

Add the token to the address of the administration:

```text
http://127.0.0.1:8000/setup/?token=YOUR_TOKEN
```

Save this address as a bookmark. Without the token, the administration answers **401 Unauthorized**, and the home page of BannerSystem shows only its name.

Your websites do not need the token: banners keep appearing on them.

## Change the token

1. Open the administration with the current token.
2. Open **Configuration**, change **Primary access token** and click **SUBMIT**.
3. Click **OK**. The page opens again with the new token.

## Keep the token safe

- Use HTTPS in front of BannerSystem, because the token is part of the address.
- After several wrong tokens from the same address, BannerSystem refuses the right token too for up to 15 minutes. See [Installation and access](../../faq/installation-and-access/).
