---
title: First setup
project: OpenSync
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/opensync/1-0/guides/first-setup/
updated: 2026-11-19T09:22:08.629Z
---

# First setup

> Name your instance, keep the setup token and save the first setup.

A new OpenSync instance has no setup token yet. Until you save the first setup, the home page redirects to the setup page and anyone who opens it can choose the setup token. Save the first setup right after you start OpenSync.

![The setup page of a new instance, with the name filled in](/files/JapjR03Kl61f.webp)

## Save the first setup

1. Open `http://localhost:8000/`. OpenSync redirects to `/setup/`.
2. In **Name**, type a name for this instance, for example `Demo sync`. Clients receive this name when they connect.
3. Leave **Storage path** as `/databases/`. The path cannot be changed after the first setup.
4. **Setup token** is already filled with a new random token. Keep it, or click **Generate token** for another one.
5. Click **APPLY**.

The page shows **Setup has been saved succesfully**, and the address in your browser now ends with `?token=` and your setup token. Bookmark that address or save the token in your password manager: it is the only way into the setup interface.

## What the setup token does

- It opens the setup interface. See [The setup interface](../setup-interface/).
- It also works as a client token that receives every channel. For your apps, create separate [access tokens](../access-tokens/) instead.

## Next steps

- Create an [access token](../access-tokens/) for each app.
- Connect a client: [WebSocket](../../reference/websocket/) or [Server-Sent Events](../../reference/server-sent-events/).
