> ## 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 the private gateway for Claude

> Claude Code through your own cloud: Anthropic's gateway runs on a device in your company network, Mono signs people in and sets it up.

The private gateway for Claude is Anthropic’s “Claude apps gateway” on a device in your company network. Your developers’ Claude Code then runs through your own cloud instead of an account with Anthropic; Mono signs people in and writes the settings. For admins.

> [accordion] What you need
>
> * The Admin role in your tenant (A company, an IT partner or a private person in Mono, with its own sign-in and its own data.).
> * A Linux device in your company network with the Mono Connector, installed with `--claude-gateway` (your Node’s server if it is in the company network, or another device). Anthropic does not support Windows as a server.
> * A certificate for the gateway’s private name: from your internal certificate authority, or the tailnet name.
> * Under Gateway › Models a tested provider in your Own cloud: Amazon Bedrock in an EU region (with the “eu.” profile) or your own Claude proxy.
> * PostgreSQL: the installer starts a local database, or you name your own.

```mermaid theme={"system"}
flowchart LR
  D[Claude Code] -->|Company network| G[Private gateway<br/>on your device]
  G -->|Sign-in| N[Your Node]
  G -->|Model calls| C[Your Own cloud]
  N -->|Configuration, state| M[Mono Connector]
  M --- G
```

Code and prompts never go through the Node: the gateway listens only in the company network and calls your cloud directly. The Node is only the sign-in service and writes the configuration.

## Prepare the device

On the device, run the Mono Connector line with `--claude-gateway`, as root:

```bash theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://ki.muster.ch/connector/install.sh | sudo bash -s -- --code K7P4-QX9M --claude-gateway \
  --claude-gateway-cert /etc/ssl/claude-gw.crt --claude-gateway-key /etc/ssl/claude-gw.key
```

The installer fetches Claude Code from Anthropic’s signed package source (it checks the key’s fingerprint), sets up PostgreSQL and places the certificate. Without certificate files it uses the tailnet name. For your own database: `--claude-gateway-postgres postgres://benutzer@host:5432/db --claude-gateway-postgres-password-file DATEI`.

## Set up, test and go live

Five clicks from Operations to “live”. Mono measures every step on the device and your test sign-in on the Node; only then are there files for the devices.

> [tab] In the Console
>
> **1. “Add”**
>
> Open Operations and click “Add” at the top.
>
> **2. “Private gateway for Claude”**
>
> Choose “Private gateway for Claude”. Mono preselects the device that can run the gateway. Enter the address in the company network, for example `https://claude.muster.ch`. “For whom” is “Standard” for everyone; for confidential work, choose the group for “Work confidentially”.
>
> ![The “Private gateway for Claude” sheet with the device “Server Büro Zürich”, the address, “For whom” and “Set up and test”](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/claude-gateway/einrichten.png?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=54dfa13807387845e482154acf81563e)
>
> **3. “Set up and test”**
>
> Mono writes the configuration to the device, starts the gateway and shows the test before live: Configuration loaded (with the first 16 characters of the configuration), Gateway ready, Sign-in through your server, Limits reachable, Checkpoint.
>
> ![The test before live: all steps green, “Test sign-in” as the next step, “Go live” still grayed out](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/claude-gateway/test-anmeldung.png?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=991f492e5b6215dfec365da89e150ae0)
>
> **4. “Test sign-in”**
>
> A new window opens the gateway’s sign-in. Sign in as usual. Mono measures that the gateway received a token for you and turns the step green.
>
> **5. “Go live”**
>
> “Go live” works only after a passed test of exactly this configuration. Afterward it says “Live – files for devices ready”.
>
> ![Test passed, “Go live” as the next step](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/claude-gateway/live-schalten.png?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=2c70729588e6b56eaccdd11fb76bab41)

> [tab] In the chat
>
> Shows the devices that can run the gateway.
>
> Which devices of ours can run the private gateway for Claude?
>
> Sets it up. Mono asks back with “Please confirm”.
>
> Set up the private gateway for Claude on “Server Büro Zürich”, address [https://claude.muster.ch](https://claude.muster.ch), “Work confidentially” for the group “Projekt Atlas”.
>
> Measures the test before live and gives the address for your test sign-in.
>
> How is the test of the private gateway for Claude going?
>
> Switches it live. Only after a passed test; Mono asks back with “Please confirm”.
>
> Switch the private gateway for Claude live.

> [!TIP]
>
> Under Operations there is the box “Private gateway for Claude” with “running”, the device, the address, the profiles, the configuration and “Live – files for devices ready”.

> [!NOTE]
>
> The 16 characters at “Configuration” are the SHA-256 of the file Mono wrote – not the certificate fingerprint Claude Code shows at `/login`. You read the certificate fingerprint on the device with `openssl x509 -noout -fingerprint -sha256 -in tls.crt`.

If you change the gateway later, it is a draft: it runs on the device and the files on the devices stay valid, but Mono hands out new files only after a new test and “Go live”.

## Files for the devices

One file per gateway profile and system. It sets the sign-in through the gateway (`forceLoginMethod`, `forceLoginGatewayUrl`), “merge” for Claude Desktop (`parentSettingsBehavior`) and the profile’s locks; each file has its own device key for the checkpoint. Mono touches no device and holds no MDM access.

> [tab] In the Console
>
> **1. “For devices”**
>
> In the box “Private gateway for Claude”, click “For devices”. Choose the profile and system; your own system is preselected.
>
> ![The “For devices” sheet with macOS, “Download”, the line for devices without MDM and bootstrapUrl for Claude Desktop](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/claude-gateway/fuer-geraete.png?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=c47f5a1afc3f9396ce35548240e4ea32)
>
> **2. “Download”**
>
> You get the file for your MDM. For devices without MDM, copy the line with “Copy” instead and run it in the terminal there.

> [tab] In the chat
>
> Mono asks back with “Please confirm”; the card downloads the file (the link is valid for 10 minutes and once).
>
> Give me the file of the “Standard” profile for macOS.

| System | “Download” | Roll out with | Without MDM the line writes |
| - | - | - | - |
| macOS | `mono-claude-gateway.mobileconfig` (domain `com.anthropic.claudecode`) | Jamf, Intune, Kandji | `/Library/Application Support/ClaudeCode/managed-settings.d/50-mono-claude-gateway.json` |
| Windows | `mono-claude-gateway.reg` (`HKLM\SOFTWARE\Policies\ClaudeCode` › `Settings`) | Group Policy, Intune | `C:\Program Files\ClaudeCode\managed-settings.d\50-mono-claude-gateway.json` |
| Linux | `managed-settings.json` | any tool that distributes files | `/etc/claude-code/managed-settings.d/50-mono-claude-gateway.json` |

Under “More options” there is `managed-settings.json` for macOS and Windows too. The line is valid for seven days for any number of devices and needs `sudo` or PowerShell as administrator; it writes only Mono’s own file next to yours.

> [!WARNING]
>
> Claude Desktop: the configuration profile and the registry file also set `bootstrapUrl` (`com.anthropic.claudefordesktop`, `HKLM\SOFTWARE\Policies\Claude`) when the profile includes Claude Desktop. Only with the managed setting “merge” does the web fetch lock apply in Claude Desktop too; the file sets it. Cowork and Chat run no hooks: the profile’s models and tools apply there.

After the rollout, the developer restarts Claude Code, types `/login`, presses Enter on “Cloud gateway”, compares the certificate fingerprint and signs in. The first time, she confirms the gateway’s hooks and telemetry once.

## The checkpoint

The checkpoint runs next to the gateway on the same device. Claude Code asks it before every prompt and before web fetches, network commands and MCP tools. It blocks confidential content under the rules from Gateway › Data routes with a calm sentence; if Claude Code cannot reach it, it blocks as well. Prompts never leave your company network: Mono receives only the numbers, “checked” and “blocked” per profile, in the box under “Checkpoint (30 days)”.

## Limits through the gateway

Under Gateway › Costs and limits, limits apply in the gateway too: a person and “Every person” in Mono and in the gateway, a gateway profile only in the gateway (per person, in USD, on UTC days). In “Add limit”, choose “Profile”. The “Private gateway for Claude” box there shows the spend per person at list price in USD and the tokens per profile.

![Costs and limits with a limit for the profile “Standard”, “Private gateway only (USD, UTC)”](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/claude-gateway/kosten-profil.png?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=8e85e25040523597da6c0a1e3bca70c3)

In the chat: “Set a monthly limit of USD 50 for the Standard profile.” – Mono asks back with “Please confirm”.

## Who works with what: the gateway profiles

| Profile | For whom | Models | Web fetch | Claude Desktop |
| - | - | - | - | - |
| Standard | everyone who signs in | all of the gateway | on | on |
| Work confidentially | the group you choose | all of the gateway | off | off |

At every sign-in Mono passes only the names of these profiles to the gateway, never groups of your directory. If a person changes group, the new profile applies after an hour at the latest. Web search is always off in gateway sessions (Anthropic).

## Check, restart, change, remove

> [tab] In the Console
>
> In the box “Private gateway for Claude”: “Test again” measures on the device without changing anything. “Restart” restarts the gateway. “Change” opens the setup with today’s values. “Remove” ends sign-ins through the gateway at once and stops it on the device.
>
> ![The “Private gateway for Claude” box, live](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/claude-gateway/box-live.png?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=3f9b84149b047c71b9f44f15911bc912)

> [tab] In the chat
>
> Measures now on the device.
>
> Check the private gateway for Claude.
>
> Removes it. Mono asks back with “Please confirm”.
>
> Remove the private gateway for Claude.

## If something doesn’t work

| Message | Next step |
| - | - |
| No paired Mono Connector offers the private gateway. | Install the Mono Connector with `--claude-gateway` on a Linux device in the company network. |
| The gateway runs only on Linux. | Use a Linux device; Windows is not supported as a server. |
| Claude Code is missing on the device. / Claude Code on the device is too old. | Run the installer again with `--claude-gateway` or `apt upgrade claude-code`. |
| Gateway › Models has no provider in your own cloud (Amazon Bedrock) and no Claude proxy of your own. | Set up and test Amazon Bedrock in an EU region with the “eu.” profile. |
| The address points to a public IP address. | Use a name that resolves only in the company network (otherwise Claude Code does not sign in). |
| The device is not connected right now. | Check that the Mono Connector runs on the device (`systemctl status mono-connector`). |
| The gateway runs but does not reach its database. | Check PostgreSQL on the device (`docker ps` or `systemctl status postgresql`). |
| The device does not reach your server for the sign-in. | Check that the device reaches your Node’s address over https. |
| The checkpoint does not run on the device. | “Restart” in the box; if that does not help, update the Mono Connector. |
| Going live needs a passed test of exactly this configuration. | “Test again”, then “Test sign-in” and sign in in the new window. |
| Mono hands out files for devices only once the gateway is live. | Test and “Go live”. |
| The gateway was changed since it went live. | “Test again”, “Test sign-in”, “Go live” – then “For devices” again. |
| This gateway profile does not exist. | Choose a profile from the box, for example “Standard”. |
| This code is no longer valid. | Copy the line again under “For devices”; it is valid for seven days. |
| The gateway did not take the limits. | Under Operations, “Test again”; the “Limits reachable” step names the reason. |


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