> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Set up a self-hosted Node from the Console

> Reserve the address at Mono Edge, run the one line with the one-time code, choose Kubernetes or a Synology or QNAP NAS, and let a scan inbox only read.

From Mono 0.4.3 you set up a new self-hosted Node (Your tenant’s server, which holds the data and runs every approval.) and its devices in the Console. Only the one line the Console shows runs in a terminal, and on a NAS not even that.

> [!NOTE]
>
> This way reserves an address at Mono Edge and sets up “Sign in with Mono”. Both are “Coming soon” in Mono 0.7.0-rc.2: until then, install with the line under [Mono on your own hardware](https://mono.mintlify.site/en/admins/self-hosting.md).

From Mono 0.4.3

> [accordion] What you need
>
> * For the address at Mono Edge (The way a self-hosted Node gets a public address at once, without an open port.): you are signed in to the Console as admin of a tenant whose Node is reachable through Mono Edge.
> * For a server or a Raspberry Pi: Linux on amd64 or arm64, as described under [Install Mono on your own hardware](https://mono.mintlify.site/en/admins/self-hosting.md).
> * For Kubernetes: a Linux machine with `kubectl` and `helm` that reaches the cluster. The line does not run on macOS.
> * For a NAS: Synology with Container Manager or QNAP with Container Station. The new tenant uses passkeys; “Sign in with Mono” is “Coming soon”.

## Reserve the address and install the Node

**1. Open “Self-Hosting”**

In the tab bar choose “+”, then “Start new” › “Self-Hosting”. A server, a GB10 or a NAS is the Standard. You choose Docker, Raspberry Pi, Synology / QNAP or Kubernetes once under “More options”. “Step-by-step guide” at the foot of the step opens this page.

**2. Admin and sign-in**

“Admin of the tenant” holds the email address of the person who becomes admin at their first sign-in – no setup link. Mono suggests the name and short name from that address’s domain, and the tenant’s email domain too. Below, Mono asks: “What do your employees sign in with today?” If the domain is a Microsoft 365 tenant, “Microsoft 365” is already chosen. The installer asks none of this in the terminal.

**3. Choose the address**

Under “Address” are the three ways of Operations › “Custom address”:

* **Mono Edge** (“Coming soon”): Mono reserves `<short name>.<Mono Edge domain>`. Claude, ChatGPT and Copilot reach the server at once, with no open port and no DNS record.
* **Own address**: Mono suggests `ki.<your domain>`. The line carries `--own-address`. The server starts over Mono Edge and switches to your address by itself once your IT has set the one CNAME. The ⓘ beside the field shows the exact record.
* **Only in our network**: no public address (`--tunnel local`). Then only the computer the server runs on reaches it (127.0.0.1), for example Claude Code on that computer. For the devices in your tailnet, choose the reachability `tailscale-serve` in the installer. “Sign in with Mono” from outside does not work then; the ⓘ says why.

**4. “Copy the command”**

One click: Mono reserves the address at Mono Edge, `<short name>.<Mono Edge domain>`, and copies the line with the one-time code. If the name is taken, Mono takes the next free one from it, for example `<short name>-ki`. The reservation holds 24 hours.

**5. Paste the line on the server**

Paste the line on the new server:

```bash Linux theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://releases.cloud.ask-mono.ch/v/0.7.0-rc.2/install | sh -s -- --start --name 'Beispiel GmbH' --slug beispiel --signin-admins anna.keller@beispiel.ch --idp mono --signin-relay <sign-in service> --edge-code <code> --edge-url <Mono Edge address>
```

The lines here install 0.7.0-rc.2, the newest released version. Without a version (`https://releases.cloud.ask-mono.ch/install`) the line installs the newest stable version; you choose another version with `https://releases.cloud.ask-mono.ch/v/<version>/install`.

The installer asks nothing. It verifies the signed release, redeems the code exactly once, installs cloudflared if it is missing, starts the Node with its tunnel and finally checks the address from outside. It writes the key and the tunnel token to the server with mode 0600 and never shows them.

**6. Watch the steps turn green**

The Console now shows “Setting up the new tenant”. Each row turns green once Mono has measured it – never by a click: “Installed on the server”, “Connected to Mono Edge”, “Reachable over HTTPS”, “DNS” (not needed with Mono Edge), “First admin signed in”, “AI client connected”. The current row says what Mono is measuring and has its one button. If you close the window, “Self-Hosting” shows the list again the next time.

**7. Sign in as the first admin**

As soon as the new Node answers, choose “Sign in to ‹…›” and sign in with the address from “Admin of the tenant”. The new tenant appears as a tab without reloading the page.

![The first four rows green, “DNS: Not needed with Mono Edge”; the current row “First admin signed in” with the button “Sign in to Demo Bau AG”](https://mintcdn.com/mono/rCyoy1dN0QEXZ3No/images/new-mandant/check-3-signin-en-light.jpg?fit=max\&auto=format\&n=rCyoy1dN0QEXZ3No\&q=85\&s=5417cd8d67a686bd2dabe8c06aa54c11)

Four rows green, the sign-in is the next step

**8. Connect “Mono Admin” to the AI client**

The new tenant’s overview takes you there in three clicks: copy the address, paste it in the AI client, “Approve and connect”. Then the last row is green and the tenant is ready.

> [!TIP]
>
> Every row of “Setting up the new tenant” is green. Claude, ChatGPT and Copilot reach the new Node at its address, and the person from “Admin of the tenant” becomes admin at their first sign-in.

## Kubernetes in one line

Under “Self-Hosting”, choose the platform “Kubernetes”. Under “StorageClass (optional)” you name a StorageClass; otherwise the cluster’s default StorageClass applies. Copy the “Installation in the cluster” line and run it on your Linux machine with `kubectl` and `helm`, without `sudo`:

```bash Linux with kubectl and helm theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://releases.cloud.ask-mono.ch/v/0.7.0-rc.2/install | sh -s -- --kubernetes --name 'Beispiel GmbH' --slug beispiel --signin-admins anna.keller@beispiel.ch --idp mono --signin-relay <sign-in service> --edge-code <code> --edge-url <Mono Edge address> --storage-class local-path
```

The line verifies the signed release and the chart, stores the settings as a Secret in the cluster and installs the chart with the image by digest in the namespace `mono-<short name>`. If it runs a second time, it starts from the settings in the Secret. What is different in the cluster is under [Run Mono on Kubernetes](https://mono.mintlify.site/en/admins/kubernetes.md).

![Self-Hosting with the platforms Server, Raspberry Pi, Synology / QNAP and Kubernetes, the fields for the tenant and the StorageClass field](https://mintcdn.com/mono/rCyoy1dN0QEXZ3No/images/self-hosting-from-console/kubernetes-light.jpg?fit=max\&auto=format\&n=rCyoy1dN0QEXZ3No\&q=85\&s=472c12ef8893e4b94a62b68b6e180f50)

“Start new” › “Self-Hosting” with the platform “Kubernetes”

## Synology or QNAP without a terminal

**1. The Node on the NAS**

Under “Self-Hosting”, choose the platform “Synology / QNAP”, then “Synology” or “QNAP”. Reserve the address first, because the project needs the one-time code. Choose “Copy project” and paste the project:

* Synology: Container Manager › Project › Create, the name and path from the Console, “Create docker-compose.yml”, paste the project, then “Next” and “Done”.
* QNAP: Container Station › Applications › Create, the name from the Console, paste the project, then “Create”.

The Node redeems the code itself at its first start and is then reachable at its address.

**2. A Mono Connector on the NAS**

Under Connectors, choose “Pair device” and the “Synology / QNAP” tab. Under “Folders on the NAS”, name each shared folder by its name only, such as “Ablage”, with its “Kind” (“Share”, “Scan inbox” or “Legacy export”) and its data class. With “Update itself”, the Console shows a “Scheduled task”: on Synology you create it under Control Panel › Task Scheduler, as root and every 5 minutes. Once started, the container’s log shows the check code, which you compare in the Console.

## A scan inbox that only reads

If the scan folder belongs to another system, choose “Read only – files stay where they are” under “Files once sent”. The Default is “Move processed files”. You choose it when pairing, next to the check code, later in the menu of the scan inbox’s row under Connectors, or in chat:

Let a scan inbox only read

Please set the scan inbox “Empfang” in Büro Zürich to “Read only – files stay where they are”.

The device then writes nothing into the folder and also reads subfolders. It remembers what it sent in its own state folder: a changed file is a new scan, an unchanged one never comes twice. If the folder is mounted read-only on the device (`:ro`), “Read only” always applies. You set each folder’s data class when pairing, before the device reads the first file.

## What Mono never does

* Write the Node’s key or the tunnel token into the line, the chat or the audit. The line holds only the one-time code.
* Redeem a code twice.
* Write into a scan inbox set to “Read only” or move files in it.

## Limits

* A reservation holds for 24 hours. At most 3 per person and 10 per tenant in 24 hours, 5 waiting at once.
* The address name has 3 to 32 characters: lowercase letters, digits and single hyphens.
* A Node in Container Manager does not update itself yet (“Coming soon”). Until then, paste the project of the new version. A Mono Connector on the NAS updates itself with the scheduled task.
* A scan inbox set to “Read only” reads subfolders up to 4 levels deep and at most 2,000 files per round.

## In the chat

With “Mono Admin” you reserve the address in Claude or ChatGPT.

Reserve an address for a new Node

Please reserve the address “beispiel” at Mono Edge for a new Node.

“Mono Admin” shows “Please confirm” with before and after: “Address for a new Node” becomes “reserved for 24 hours”, and a “One-time code” appears, “new, for the installation line”. After you confirm, the answer gives the line with the code for a Linux host with Docker or systemd. In the same way you issue a new code or cancel the reservation.

The line for Kubernetes and the project for Synology or QNAP are available only in the Console.

Shows the reserved addresses with their state.

Which addresses for new Nodes are reserved?

“Mono Admin” shows the card “Operations” with the reserved addresses and their state. The chat never shows the one-time code of an existing line; it issues a new one instead.

## If something does not work

| What you see | What you do |
| - | - |
| The address shows Cloudflare “Error 1033” (HTTP 530) in the browser, or the list says “The address is reserved, but the tunnel on your server does not run.” | The Node or its tunnel does not run, usually after an aborted install. Run the same line again: it keeps the key, installs cloudflared and starts the tunnel. Check: `sudo systemctl status mono-cloudflared-host.service` (Docker: `docker compose -p mono-<short name> logs cloudflared`). |
| In the terminal: “install.sh: --public-url must be [https://host](https://host) …” | An older installer. The current one adds `https://` itself and asks again on a wrong value. Copy the line again from the Console. |
| In the terminal: “port 8787 is in use …” | A Mono Node or another service already runs on this port. For a new tenant the installer takes the next free port itself. If the same Node runs there, it is a rerun, and that is fine. |
| “Connected to Mono Edge” stays off, the terminal shows a download error | The server needs outbound HTTPS (port 443) to Mono Edge, the release host and GitHub for cloudflared. It needs nothing inbound. |
| “Reachable over HTTPS” stays off although the Node runs | With your own name a new DNS record takes a few minutes, rarely hours. The address at Mono Edge needs no DNS record. |
| The Microsoft 365 sign-in fails after the consent | The app lacks a permission. Access › Sign-in names it and the path in the Entra portal. |
| “Without a reserved address the installer asks how the Node is reachable.” | For a reservation, sign in to a tenant whose Node is reachable through Mono Edge. Otherwise answer the installer's questions. |
| “This address is already taken. …” or “… too similar to an existing one. …” | Choose a clearly different short name. |
| “The limit for reservations is reached: …” | Wait until tomorrow or use an existing reservation with “New code”. |
| “Expired” | The line did not run within 24 hours. “New code” reserves the address again while the name is free. |
| “Mono Edge did not answer. …” | Try again in a minute. |
| “Reserve the address above, then the project appears here with its one-time code” | Reserve the address in the box above. |
| “This tenant does not use “Sign in with Mono”. …” | A Node in Container Manager needs “Sign in with Mono” for the first sign-in. Choose a server instead of the NAS. |
| “The line does not run on macOS. …” | Run the Kubernetes line on a Linux machine or in a Linux container that reaches the cluster. |
| In the menu: “Set up on the device for reading only (“:ro”) …” | The folder is read-only on the device. “Read only” always applies there. |
| “The server redeemed the code but does not report. …” | Paste the command on the server again. It keeps the key and starts Mono. |
| “… does not answer yet. If the tunnel on the server does not run, the command pasted again starts it.” | Wait a minute. If the address does not answer after five minutes, paste the command again. |
| “First admin signed in” stays off | Sign in with the address that the line names as first admin. Another address gets no admin access. |
| “This name is reserved for Mono. Please choose another one.” | Choose another short name. |
| “The address name has 3 to 32 characters: …” | Shorten the short name or use only lowercase letters, digits and single hyphens. |
| “No address is free at Mono Edge for this name. …” | Enter the short name yourself. |
| “The image of this version cannot be read right now (…). …” | Try again shortly. |

## Frequently asked

> [accordion] Do I have to type https\://?
>
> No. The Console gives the address, and the installer adds `https://` itself if you type only the name. AI clients connect over HTTPS only, so it always stays HTTPS.

> [accordion] How big must the server be?
>
> For the Node alone 2 vCPU, 2 GB RAM and 5 GB of free storage are enough, Linux on amd64 or arm64 with time synchronization running. Local models need their own hardware such as a GB10.

> [accordion] Own domain or Mono Edge?
>
> Mono Edge is the Standard: the address works at once, without an open port and without a DNS record. You set up your own name such as `ki.beispiel.ch` later under Operations › “Custom address” with one DNS record.

> [accordion] Who needs which rights?
>
> On the server the line needs root (`sudo`). In the Console an admin of a tenant on Mono Edge reserves the address. The person from “Admin of the tenant” becomes admin of the new tenant at their first sign-in.

> [accordion] How long does it take?
>
> The address at Mono Edge answers as soon as the tunnel runs. Your own DNS record takes a few minutes, rarely hours.

> [accordion] Can I close the window?
>
> Yes. Mono keeps measuring. “Start new” › “Self-Hosting” shows the list again, and under “More options” the line stays while its code is not redeemed.

## Next

> [card] [Mono on your own hardware](https://mono.mintlify.site/en/admins/self-hosting.md)
>
> Requirements, the installer’s questions and the first admin.

> [card] [Mono on Kubernetes](https://mono.mintlify.site/en/admins/kubernetes.md)
>
> One Pod, one volume, updates by hand.

> [card] [Pair a Mono Connector](https://mono.mintlify.site/en/admins/pair-connector.md)
>
> The one line and the check code.

> [card] [Drives and scanner](https://mono.mintlify.site/en/admins/shares-scan-legacy.md)
>
> Connect a network drive, a scan inbox and a legacy system.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.