---
title: First start
project: OpenMail
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openmail/1-0/guides/first-start/
updated: 2026-11-19T07:58:04.366Z
---

# First start

> Protect the admin interface with a primary access token and find your way around.

On the first start, the admin interface at `/setup/` is open to anyone who can reach the server. Protect it right away with a **primary access token**.

![The start screen of OpenMail with Profiles, Tokens and Configuration](/files/JapWJP1fs60f.webp)

## Set the primary access token

**1.** Open `http://127.0.0.1:8000/setup/` and click **Configuration**.

**2.** Under **Security**, click **Generate** next to **Primary access token**, or type your own token.

**3.** Copy the token and keep it in a safe place, for example a password manager.

**4.** Click **SUBMIT**. The message "The configuration has been saved successfully, but the app needs to be reloaded." appears. Click **OK**.

The app reloads at `/setup/?token=YOUR_TOKEN`. From now on:

- `/setup/` without the token answers `401 Unauthorized`.
- You open the admin interface at `/setup/?token=YOUR_TOKEN`.
- The home page `/` shows only the app name.

If you lose the token, see [Reset the primary access token](../../faq/access/).

## Find your way around

The icons on the left open the three parts of the app:

| Icon | Opens | What you do there |
|---|---|---|
| Envelope | **Profiles** | [SMTP profiles](../smtp-profiles/), [templates](../templates/), [Logs](../logs/). |
| Key | **Tokens** | [API tokens](../api-tokens/) for your apps. |
| Cog | **Configuration** | [Name and primary access token](../configuration/). |

The book icon opens the online documentation. When you open the admin interface with a token, use these icons to move between the screens.
