---
title: First start
project: OpenTemplates
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/opentemplates/1-0/guides/first-start/
updated: 2026-11-19T07:56:18.024Z
---

# First start

> Open the interface for the first time and protect it with a primary access token.

OpenTemplates has no user accounts. The interface is protected by one **primary access token**. Until you set it, anyone who can reach the server can open the interface, so set it first.

## Open the interface

Open `http://localhost:8000/setup/`. The start page shows the three parts of the interface. The same icons are always in the menu on the left.

![The start page with Profiles, Tokens and Configuration](/files/JapW2G4mY61f.webp)

- **Profiles**: your [profiles](../profiles/), their [templates](../templates/) and the [logs](../logs/).
- **Tokens**: the [API tokens](../api-tokens/) your apps use.
- **Configuration**: the name of the app, the primary access token and the [Total.js API token](../configuration/).

## Set the primary access token

**1.** Click **Configuration**.

**2.** Under **Security**, click **Generate**. A new random token fills the **Primary access token** field. You can also type your own.

**3.** Click **SUBMIT**.

**4.** OpenTemplates says that the configuration has been saved and that the app needs to be reloaded. Click **OK**. The interface opens again at `/setup/?token=...`.

**5.** Bookmark that address or keep the token in your password manager. You need it every time you open the interface.

## Open the interface with the token

From now on, open the interface with the token in the address:

```text
http://localhost:8000/setup/?token=YOUR_PRIMARY_TOKEN
```

Without the token, `/setup/` answers `401 Unauthorized`. With the token the start page is empty: use the icons in the menu on the left.

The primary access token only opens the interface. Your apps use their own [API tokens](../api-tokens/) to render templates.

## Change the token

Open **Configuration**, enter or generate a new **Primary access token** and click **SUBMIT**. The old token stops working at once.
