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

# Connect a network drive, scan inbox and legacy system

> Connect folders, scanners and a legacy system’s export through a Mono Connector, and decide who may use them.

A Mono Connector (The small program on site that connects devices to the Node, outward only.) in the office brings three kinds of folders to Mono: a network drive, a scan inbox and a legacy system’s export folder. The Default for every folder: “internal”, for everyone, read only. Every new folder waits: Mono reads nothing of it, not for admins either, until an admin chooses who it is for and its data class – in the same step when pairing, with “Choose now” (the default is “Decide later”: the folder waits), later with “Choose who it is for” on its row. Nothing is prefilled: only both together end the wait. This also applies to a folder under the same name in another place. Folders Mono already knew keep their “For”. A scan inbox that waits stays unopened on the device: the Mono Connector only counts its scans – the row shows how many are waiting for “For whom?” – and sends them as soon as you have chosen.

> [accordion] What you need
>
> * The Admin role in the tenant.
> * A device in the office that reaches the folders, for example the box in “Büro Zürich”. A Linux device or Docker mounts network drives over SMB or NFS.
> * For SMB, a service user with read rights on the drive, for example `svc-mono`.

| Kind | What Mono does with it |
| - | - |
| Network drive | Reads files with the rights of the groups you choose. Saves new files only if you allow it, and each one only after an approval. |
| Scan inbox | Reads the text of every new scan on the device, adds it to the knowledge and moves the file to `verarbeitet/`. With “Read only – files stay where they are”, the file stays where it is. |
| Legacy system | Reads the tables the legacy system exports as CSV or XLSX into a folder. Read only. |

## Connect the folders

**1. Name the folders when installing**

Today you name the folders on the device, in the line from the Console. Append the folders to the line from [Pair a Mono Connector](https://mono.mintlify.site/en/admins/pair-connector.md), each with a name:

```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 \
  --share "Ablage=//fs01/Ablage:rw" --share-user svc-mono \
  --scan-inbox "Empfang=//fs01/Scans/Empfang" \
  --legacy "Lagerverwaltung=/srv/exports/lager"
```

The installer asks once for the password of `svc-mono` and does not show it; without a terminal (a script, an automation) pass it as a file with `--share-password-file FILE`. Without `:rw`, it mounts a folder read-only.

**2. Pair and choose per folder**

Compare the check code in the Console. Under “The device offers”, every folder is listed with “Data class”, “For” and “Allow saving”. Keep the Default or change it here. Then choose “Code matches, pair”.

![Check code step with “The device offers”: network drive “Ablage”, scan inbox “Empfang”, legacy system “Lagerverwaltung”, each with Data class, For and Allow saving, Büro Zürich, Muster AG (shown in German)](https://mintcdn.com/mono/5RnQocbG46juhcKu/images/shares-scan-legacy/das-geraet-bietet-an.png?fit=max\&auto=format\&n=5RnQocbG46juhcKu\&q=85\&s=ef9e139b7cdec8739e08167ac92210eb)

**3. Change it later**

Under Connectors, every folder of the device has its own row. Open its menu with “Settings” or a right-click and choose “Data class”, “For”, “Allow saving”, for a scan inbox “Files once sent”, or “Reset to default”. Mono shows every deviation as “customized”.

Adding another folder in the Console or in the chat: Coming soon. Today you name it on the device: run the line again without `--upgrade`, with all folders and a new pairing code. The line briefly unmounts the folders of the last run for it and mounts the new list; a folder it no longer names stays unmounted, its files on the share stay. When a folder cannot be mounted, it says whether the server could not be reached or refused the sign-in, and sets up nothing. When a folder is still in use, it changes nothing and says which one. With the new pairing each folder waits again for «For whom?» and the data class: choose them when you compare the code («Choose now») or later under Connectors; until then search does not find the device’s documents. When the line names no folder any more, it unmounts the earlier ones and removes the stored password.

> [!TIP]
>
> Under Connectors, every folder shows its data class, who may use it and “read only” or “read and save”. The scan inbox shows “last scan” with the time.

## Add a network drive, without a terminal

Name a folder for network drives at installation, for example `--root "Projekte=/srv/projekte:rw"`. Inside it you later add network drives in the Console, without a terminal:

**1. Choose “Add network drive”**

Under Konnektoren the device shows “Add network drive”, also in the device’s menu. Mono asks the device for the area’s folders.

**2. Pick a folder and add it**

Pick a folder, check name, “Data class”, “For” and “Allow saving” and choose “Add …”. The Default is “internal”, for admins only until you choose “For”, read only.

Nothing works outside these folders, and a folder without `:rw` never takes files. You remove a network drive added this way with “Remove network drive” in its row’s menu; the files stay on the device. In the chat the same works with “Mono Admin”: “Add the folder ‘Kunde Berg’ in ‘Projekte’ on ‘Büro Zürich’ as a network drive”.

## Allow saving

“Allow saving” writes new files to a network drive, never overwriting. It needs three things: the folder on the device with `:rw`, your permission as admin and the person’s approval for every single file. If a folder is set up on the device without `:rw`, the menu shows “Set up on the device for reading only (without “:rw”)”.

> [accordion] Who may use a folder
>
> Under “For”, you choose the tenant’s groups. Anyone in one of these groups finds every file of the folder that the device can read, and admins too only through their groups. On top, Mono respects each file’s rights on the drive: a file is found only by people who are in “For” **and** may read it on the drive. Mono reads the NTFS rights of an SMB network drive on Linux (with `getfattr`, included in the Mono Connector image) or the Linux rights of a local folder, and the NTFS rights on Windows; on macOS it reads none. Mono maps people and groups only where your directory names them for certain (the SID from the AD or from Entra ID, the uidNumber/gidNumber). “BUILTIN\Users” counts as everybody. If a file’s rights name someone your directory does not know (a person who left, a local account of the server), only the known people and groups find it; if they refuse an unknown one, nobody finds it. Operations › Coverage counts such files. Only where the device cannot read the rights at all does a file follow “For”, counted as well. On Linux the folders’ rights down to the file count too, and Linux rights count only on file systems that enforce them (not on FUSE, exFAT or FAT). You can switch it off in the folder’s menu with “Respect the files’ rights”. If only one group should see a subfolder, give it its own “For”: in the folder’s “⋯” menu under “Folder only for …”, or in the chat with Mono Admin. The menu shows the first two folder levels, at most 30 folders; set a deeper folder in the chat. If someone renames the folder on the drive, its “For” applies to no file any more: Mono says so in Operations and in the Inbox, and you point the rule at the new name or remove it. It only narrows: its files are found by people in the folder’s “For” and in the subfolder’s. A folder’s content goes only to AI clients that may receive its data class.

> [accordion] Let a scan inbox only read
>
> If the scan folder belongs to another system, choose “Read only – files stay where they are” under “Files once sent”. The device then writes nothing into the folder, also reads subfolders and never sends an unchanged file twice. A folder mounted on the device with `:ro` always counts as “Read only”. More under [Self-hosting from the Console](https://mono.mintlify.site/en/admins/self-hosting-from-console.md).

> [accordion] File new scans by type and customer
>
> A filing rule files every new scan that fits as a copy into a folder of a network drive on the same device, such as `Customers/<Customer>/Invoices`. You add it in the scan inbox’s row with “Add filing rule”. More under [File new scans with filing rules](https://mono.mintlify.site/en/admins/filing-rules.md).

> [accordion] Set up the scanner
>
> Set the scanner to “searchable PDF” and to the scan inbox as its destination. This way Mono reads a scan most reliably. The device reads images (PNG, JPEG, TIFF) and scanned PDFs without text with text recognition (Tesseract) in German, French, Italian and English. The image and the installers for Linux, macOS and Windows bring it along. If it is missing, the installer says what to do.

> [accordion] Which files Mono reads
>
> In a network drive and a scan inbox, Mono reads text (TXT, MD, CSV, JSON, XML), PDF, Word (DOCX), Excel (XLSX), PowerPoint (PPTX: slides and notes), saved e-mails (EML: subject, sender, recipients, date, text and the names of the attachments – not the attachments' content) and images (PNG, JPEG, TIFF). Mono does not read Outlook messages (MSG), older Office files (DOC, XLS) and HEIC photos yet; Operations › State › “Coverage” counts them per network drive. Save such files as PDF if Mono should find them.

> [accordion] Have the legacy system export
>
> Have the legacy system export every table as its own file, for example every night. CSV with semicolons and Windows-1252 work, as does XLSX. The columns come from the first row.

> [accordion] In Mono Cloud
>
> In Mono Cloud too, documents today reach the knowledge only through a Mono Connector: from a network drive or a scan inbox. Uploading in the browser is not available yet.

> [accordion] Undo
>
> “Reset to default” sets a folder to “internal”, for everyone, read only. You switch off a whole kind in the device’s menu under “Capabilities”. The tenant server then has no tools for it.

> [accordion] If something doesn’t work
>
> | What you see | What helps |
> | - | - |
> | “no scan yet” | The scanner does not write to the folder yet. Check the destination on the scanner. |
> | “Saving is only available for network drives” | Scan inbox and legacy system are read-only. |
> | In the terminal: “SMB-Freigabe ohne --share-user” (SMB share without --share-user) | Name the service user with `--share-user svc-mono`. |
> | In the terminal: “/home ist für den Dienst gesperrt” (/home is locked for the service) | Choose a folder under `/srv`. |

## Next

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

> [card] [Tutorial: NAS and scanner](https://mono.mintlify.site/en/tutorials/nas-and-scanner.md)
>
> A NAS and a scanner in the Zurich office.

> [card] [Tutorial: scan invoices](https://mono.mintlify.site/en/tutorials/treuhand-scan-invoices.md)
>
> Treuhand Berg AG scans invoices into the knowledge.

> [card] [Data classes](https://mono.mintlify.site/en/concepts/data-classes.md)
>
> What “public”, “internal” and “confidential” mean.


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