> ## 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.

# Pair a Mono Connector

> Install a device on site with one line, compare the check code and pair it with your tenant’s Node.

A Mono Connector (The small program on site that connects devices to the Node, outward only.) brings a site’s models, network drive, scanner and legacy systems to your Node. You install it with one line and pair it with a code that you compare.

> [accordion] What you need
>
> * The Admin role in the tenant.
> * A device at the site: a GB10, a Linux server, a NAS with Docker, a Raspberry Pi 4 or 5, a Mac, or a Windows PC or Windows Server.
> * Administrator rights on the device (sudo, a Mac password or PowerShell as administrator).
> * Outbound HTTPS (port 443) to your Node. The Mono Connector needs no open port and no VPN.

```mermaid theme={"system"}
sequenceDiagram
  participant A as Admin in the Console
  participant N as Node
  participant G as Device on site
  A->>N: Pair a device
  N-->>A: Line with pairing code
  A->>G: Run the line
  G->>N: Redeem the code
  N-->>G: Check code
  A->>A: Compare the check code
  A->>N: Code matches, pair
```

## Pair a device

**1. Choose “Pair device”**

Open “Connectors”. In the “Mono Connector” box, choose “Pair device”. If no device is paired yet, the button is under “No Mono Connector yet”. The “Pair Mono Connector” sheet opens.

The same way is under “Operations” › “Sites” as “Pair device” and under “Operations” › “Add” as “Pair a device at a site”.

**2. Choose the device’s tab**

The Console first shows your own system, then the tabs for servers and NAS (Docker, “Synology / QNAP”, Linux, Kubernetes), then the others. Choose the tab of the device on which the Mono Connector should run.

**3. Copy the line and run it on the device**

Copy the line and run it on the device. It downloads the Mono Connector from your Node and checks its checksum. The pairing code (The one-time code in the line with which a device reports to the Node.) in the line is valid once and for 15 minutes: “The code in the command is valid once, until ….”

```bash Linux theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://ki.muster.example/connector/install.sh | sudo bash -s -- --code 7Q4K-2D9M
```

```bash macOS theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://ki.muster.example/connector/install.sh | sudo bash -s -- --code 7Q4K-2D9M
```

```powershell Windows theme={"system"}
$mono = iwr -UseBasicParsing -MaximumRedirection 0 -ErrorAction Stop https://ki.muster.example/connector/install.ps1; if ($mono.StatusCode -ne 200 -or "$($mono.Content)" -notlike '# Mono Connector*') { throw 'Mono Connector: your server did not deliver install.ps1; nothing was installed.' }; & ([scriptblock]::Create($mono.Content)) -Code 7Q4K-2D9M
```

```bash Docker theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://ki.muster.example/connector/install.sh | sudo bash -s -- --mode docker --code 7Q4K-2D9M
```

```bash Kubernetes theme={"system"}
kubectl apply -f mono-connector.yaml
```

| System | Where you run the line |
| - | - |
| Linux | In the device’s terminal (GB10, Ubuntu, Debian, Raspberry Pi OS). It asks for the sudo password. |
| macOS | In the Mac’s terminal (Applications › Utilities › Terminal). It asks for your Mac password. |
| Windows | In PowerShell as administrator (right-click Start › Terminal (Admin)). |
| Docker | In the terminal of the server or NAS with Docker (Synology and QNAP: over SSH). |
| Kubernetes | On a computer with kubectl: save the file from the Console as “mono-connector.yaml”, then run the command. |

**4. Compare the check code**

The terminal then shows the check code (Six digits that you compare with the device in the Console.). With Kubernetes, `kubectl -n mono-connector logs statefulset/mono-connector` shows it. The sheet then says “‘gb10-chur’ wants to connect. Does the device show this code?”. Compare the six digits.

Right after the check code, the line installs text recognition (Tesseract). On a Mac with Homebrew this can take several minutes; the terminal shows how far it is. You can compare and pair in the meantime.

![“‘gb10-chur’ wants to connect. Does the device show this code?” with the check code, the “Name” field, “The device offers” and “Code matches, pair”; Muster AG (shown in German)](https://mintcdn.com/mono/5RnQocbG46juhcKu/images/pair-connector/pruefcode.png?fit=max\&auto=format\&n=5RnQocbG46juhcKu\&q=85\&s=e8622548812e7c497c2216237412ef62)

**5. Enter the name**

Under “Name”, enter the site, for example “Chur office”. Under “The device offers” are its models and folders, by default “internal”, for everyone and read only. You can change this later under Connectors.

**6. Choose “Code matches, pair”**

If the code does not match, choose “Decline” instead. The device then gets no jobs, and the code is used up.

**7. Choose “Done”**

The sheet shows “✓ Chur office is connected”. If the device brings models, it next offers “View models”. “Done” closes the sheet.

> [!TIP]
>
> The device is listed in the “Mono Connector” box as “online”. Its diagnosis is under Operations › “Sites”.

> [accordion] Continue a waiting pairing later
>
> If a device redeemed its code while the sheet was closed, it waits for you. Under Operations › “Sites” you then see “‘gb10-chur’ is waiting for the verification code” with “Compare”. Choose “Compare” and pair as above. This works on every device and in every browser, because the Node knows the pairing.
>
> If you want to pair a different device instead, choose “Pair another device”. The waiting device stays listed until its code expires.

> [accordion] What happens next?
>
> * The device gets jobs from the Node only after your confirmation.
> * It reports its diagnosis every minute. You find it under Operations › “Sites” › “Diagnosis”.
> * If the device brings folders, set the data class and access under [Shares, scan inbox and legacy system](https://mono.mintlify.site/en/admins/shares-scan-legacy.md).

> [accordion] No terminal on the NAS
>
> The “Docker” tab also has a Compose file for Synology, QNAP, Unraid or Portainer. It has no helper for updates. The Console then shows each update with the line that installs it. Or scan the QR code to the pairing page: the page guides you through the installation on NAS systems.

## Update the Mono Connector

The Mono Connector updates itself in its Node’s maintenance window. If an update is ready, you can get it right away:

**1. Choose “Update now”**

Open “Connectors”. The device’s row shows the update state and, when an update is ready, “Update now”. The same button is also under Operations › “Sites”.

**2. Choose “Update”**

Mono asks “Update ‘Chur office’ to … now? The helper waits for running jobs and goes back on a failure.” Choose “Update”. The device reports with the new version within seconds.

If an update failed, the row shows “Try again”. How Mono rolls out updates is under [Control updates](https://mono.mintlify.site/en/admins/updates.md).

## Unpair a device

**1. Open the device’s menu**

Open “Connectors”. Right-click the device in the “Mono Connector” box, or choose “⋯” in its row.

**2. Choose “Unpair”**

Mono asks “Unpair device? It immediately gets no more jobs.”

**3. Confirm with “Unpair”**

The Console reports “‘Chur office’ unpaired”. Systems that ran through this device stop.

**4. Remove the Mono Connector from the device**

Then remove it with its installer: on a Mac `sudo ./install-macos.sh --uninstall`, on Windows `-Uninstall`. If macOS keeps the hidden service user, the terminal names the command for a terminal with Full Disk Access.

## In the chat

With “Mono Admin” you pair, update and unpair a device in Claude or ChatGPT. Every change shows a card. Only your click in the card changes anything.

**Pair.** Ask “Mono Admin”:

Pair a device

Pair a new Mono Connector for the Chur office.

“Mono Admin” gives you the line for the device’s system and how long the code is valid. Run it on the device. As soon as the device shows its check code, the card arrives: it shows the check code to you only, with the device’s hostname as its name. If both codes match, choose “Code matches, pair” in the card. Never write the check code into the chat. If a device is already waiting, “Mono Admin” takes exactly that one and creates no second code. If your AI client shows no cards, compare and pair in the Console under Connectors.

**State and update.**

The devices’ state and an update

How are our Mono Connectors doing? Update “Chur office” now.

“Mono Admin” shows every device with its state and version. For the update, the “Please confirm” card arrives. Choose “Apply” there.

**Unpair.**

Unpair a device

Unpair the Mono Connector “Chur office”.

The “Please confirm” card names the device with its hostname. Choose “Apply”. You decline a waiting pairing in the chat the same way: “Decline the waiting pairing.”

## If something does not work

| What you see | What helps |
| - | - |
| “The code has expired. Create a new one.” | Choose “New code” and run the new line. |
| “Declined. The device gets no jobs.” | The device was declined. Choose “New code” and run the new line on the right device. |
| “Waiting for the device …” does not move | The line has not run yet, or the device cannot reach the Node over HTTPS (port 443). Check the output in the terminal. |
| The terminal says the Mono Connector does not run | The line names the reason and the log: on a Mac `/Library/Logs/mono-connector/mono-connector.log`, on Windows `C:\ProgramData\Mono\Connector\logs\mono-connector.log`, on Linux `journalctl -u mono-connector`. Fix what it names, then run the line again. |
| “Text recognition is missing on …” | The device works without it, and Operations shows what is missing. Do the step the terminal names, then run the installer again with `--upgrade` (Windows `-Upgrade`). |
| The check code does not match | Choose “Decline”. The device gets no jobs, and the code is used up. |
| “A Mono Connector for … already runs on this device” | The device is paired with another Node, and nothing was changed. For the same Node: `--upgrade` or the line from its Console. To move the device to the new Node: the same line with `--replace` – the other Connector then stops. For two Connectors, use a second device or a VM. |
| “Please enter a name.” | Enter the site under “Name”. |
| “The Node did not create a pairing code. Please try again.” | Close the sheet and choose “Pair device” again. |
| “Es sind bereits viele Kopplungen offen. Bitte versuchen Sie es in 15 Minuten erneut.” (Node message, in German) | Wait 15 minutes for the open codes to expire, or continue a waiting pairing with “Compare”. |
| “Pairing failed. Please try again.” | Choose “Code matches, pair” again. If that does not help, start over with “New code”. |
| “Dieser Kopplungscode ist nicht (mehr) gültig. Erstellen Sie in der Console einen neuen.” (in the terminal) | Choose “New code” in the Console and run the new line. |
| “Dieser Mono Connector ist bereits gekoppelt.” (Node message, in German) | The device is already paired. Look for it under Connectors. To pair it again, unpair it first. |
| “Your server does not provide a container image yet” | Use the line in the “Linux” tab on the server. |
| “Something is still missing for Kubernetes” | The Node needs a container image, and the model server an address on the network. Until then, use the line in the “Linux” tab. |
| “Paired as ‘Chur office’. The device hasn’t reported yet. The diagnosis shows why.” | Choose “Diagnosis”. It shows what is wrong. |
| “Switch the device on or check its network – replaced? Remove it via “⋯”” | The device is offline. Switch it on or check its network. If it was replaced, unpair it via “⋯”. |
| “The Mono Connectors of Muster AG could not be loaded.” | Choose “Reload”. |
| “Unpairing failed: …” | Reload the page and choose “Unpair” again. |
| “The device does not report. An update is possible only once it reports again.” | Switch the device on or check its network. Then “Update now” is available again. |
| In the chat: “The device has not checked in yet. Is the line running on the device? The code is valid until ….” | Run the line on the device, then ask again. |
| In the chat: “Your server cannot pair Mono Connectors yet.” | Your Node is not set up for this. Ask your IT partner. |

## Next

> [card] [Connect models](https://mono.mintlify.site/en/admins/models.md)
>
> Test the device’s models and switch them live.

> [card] [Network drive, scan inbox and legacy system](https://mono.mintlify.site/en/admins/shares-scan-legacy.md)
>
> Share a site’s folders with Mono.

> [card] [Health and diagnosis](https://mono.mintlify.site/en/admins/health-and-diagnosis.md)
>
> What each device measures about itself.

> [card] [Mono on Windows Server](https://mono.mintlify.site/en/admins/windows-server.md)
>
> The Mono Connector as a Windows service.


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