> For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt.

# CoWork, Collaboration Node, Web App and Deployment

The HeyS desktop app already runs a service inside it, which by default only serves itself. This page covers how to use HeyS with other people: connecting to a HeyS service your team deployed with CoWork, sharing this computer as a collaboration node, deploying the web app for your team, and the accounts and enterprise market that administrators manage.

| Form                        | Suits                                                                                                        | How to use it                                                                            |
| --------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| Local use (default)         | Yourself                                                                                                     | Install the desktop app and sign in to your organization                                 |
| CoWork                      | Using this computer and a team-deployed service at the same time, with that service opened in its own window | **CoWork** on the icon rail → **New connection**                                         |
| Remote mode                 | Pointing the whole main window at a service elsewhere                                                        | **Settings → Connection** → **Remote mode**                                              |
| Collaboration node          | One computer with models and knowledge bases set up, used together by several people on the local network    | CoWork → **Share this computer**, or **Settings → Connection** → **Share this computer** |
| Server deployment (web app) | Long-term team use, through a browser                                                                        | An administrator deploys the Docker image or the server package on a server              |

## CoWork: connecting to your team's service in its own window \{#cowork-connecting-to-your-team-s-service-in-its-own-window}

**CoWork** on the icon rail lists the server connections you have saved. Click a connection and that service opens **in a new window**; the main window always stays on this computer and is never replaced.

<figure>

![The CoWork page: the sidebar has New connection and Share this computer; with no connections yet, the main area says "No server connections yet. Connect to a server your team runs and use it in its own window." and shows a New connection button](/screenshots/en/p14-CoWork.webp)

<figcaption>The CoWork page: the sidebar has New connection and Share this computer; with no connections yet, the main area says "No server connections yet. Connect to a server your team runs and use it in its own window." and shows a New connection button</figcaption>
</figure>

### New connection

<figure className="narrow">

![The New connection dialog: Name (optional, e.g. "Team server"), Server URL, two sign-in methods (Account / Token), Username, Password, with Connect at the bottom right](/screenshots/en/c36-CoWork-新建连接.webp)

<figcaption>The New connection dialog: Name (optional, e.g. "Team server"), Server URL, two sign-in methods (Account / Token), Username, Password, with Connect at the bottom right</figcaption>
</figure>

1. Click **New connection**.
2. **Name** is optional; if you fill it in, the list shows that name, for example "Team server".
3. For **Server URL**, enter the address your administrator gave you, such as `https://heys.example.com`, or a colleague's collaboration node, such as `http://192.168.1.20:3777`.
4. Choose the sign-in method: **Account** takes a username and password; **Token** takes the token you were given.
5. Click **Connect**. Once connected, the service appears in the list on the left and its window opens.

If it can't connect, the dialog explains why: "Cannot reach this address. Check the URL and network", "The token is wrong or has no access", or the error code the server returned.

### Connection list and details

The list on the left is ordered by most recent use, with the time of last use at the end of each row (just now, 3 minutes ago). Click a connection to see its details on the right:

| Item                        | Contents                                                                                                                                                          |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Address, **Sign-in method** | The server URL, and whether it uses an account or a token                                                                                                         |
| **Space**                   | The space this account maps to on that service                                                                                                                    |
| **Sign-in status**          | Account: the password is saved and the sign-in is renewed automatically before it expires; Token: "Tokens don't expire"; when it has expired: **Sign-in expired** |
| **Last used**               | When it was last opened                                                                                                                                           |

Buttons on the details page:

- **Test connection**: shows the latency, the server version, and whether it matches this client's version;
- **Connect**: opens the window for this service. Each connection opens only one window, and you can have several different connections open at once;
- **Rename**, **Remove connection**: removing deletes only the connection and password saved on this computer; data on that service is not affected.

Once created, a connection that uses an account stays usable: the password is saved on this computer in the system keychain, and the sign-in is renewed automatically before it expires, so you don't need to enter the password again. If the system keychain isn't available, the password is kept only until the app exits, and you have to sign in again after a restart. When the sign-in has expired, click **Sign in again** and enter the password once more.

### In a CoWork window

A window opened by CoWork looks just like the main window, with a **Remote** mark always shown above the avatar at the bottom of the icon rail; click it to see which service and account it is connected to and whether the connection is healthy. Differences from the local window:

- Data, spaces and models are all on that service; the sessions on this computer aren't here;
- The Settings sections are narrowed down according to your account's role on that service ([Settings → Accounts](#settings-accounts));
- **There is no built-in browser, Computer Use, Sprite, Import sessions, or opening local files with HeyS**; these belong to the local desktop only;
- Clicking **Log out** in this window closes it; actions on the local account, such as switching organizations or unbinding this computer, don't appear in this window's menus.

## Settings → Connection \{#settings-connection}

**Settings → Connection** handles two things: the top half is the main window's run mode (**Local** / **Remote mode**), and the bottom half is **Share this computer (collaboration node)**. The page works as usual after you sign in to an organization.

<figure>

![Settings → Connection: run mode Local, with Save and Test connection; the bottom half is Share this computer (collaboration node), with the Enable sharing toggle off and My display name (host) set to "演示主机", and Apply & restart server](/screenshots/en/817-设置-连接-374c25.webp)

<figcaption>Settings → Connection: run mode Local, with Save and Test connection; the bottom half is Share this computer (collaboration node), with the Enable sharing toggle off and My display name (host) set to "演示主机", and Apply & restart server</figcaption>
</figure>

### Remote mode

CoWork is enough in most cases. Switch to remote mode only when you want the **main window** as a whole to connect to a service elsewhere:

1. Switch to **Remote mode**.
2. Fill in the service address as **Server URL**; for **Auth method**, choose **Token** or **Username & password**, and fill in the token, or the username and password.
3. Click **Test connection**; when it shows the connection succeeded, click **Save**. With username and password, saving is signing in.

- The password here is only used to sign in and obtain a token, and is never stored; tokens are valid for 30 days by default. Servers you have connected to are kept in **Saved connections**, which is the same list CoWork shows.
- If the token expires while you work, **Session expired** pops up with the address and username already filled in, so you only enter the password; you can also click **Switch to local mode** to go back to this computer.
- **Test connection** also checks the server version: if the server is too old, it says so here, and entry points for features the server doesn't support are hidden automatically. The **API version** row in **Settings → About** reads "server N, this client M".

To go back to this computer: switch back to **Local** and save.

## Share this computer (collaboration node) \{#share-this-computer-collaboration-node}

If one computer has HeyS installed with models and knowledge bases set up, and colleagues want to use it too, they don't each have to set everything up again. Turn that computer into a **collaboration node**, and colleagues connect to it with CoWork, each with their own account and data.

On **the computer you want to share**, open the bottom half of **Settings → Connection** (**Share this computer** on the CoWork page leads here too):

1. Turn on **Enable sharing** to expand the full settings.
2. Choose the auth method (Token / Username & password), and confirm the port (default 3777).
3. Fill in **My display name (host)**: the name others see on your turns in shared sessions; if left blank, the system username is used.
4. Click **Apply & restart server**. The **LAN addresses** are listed below; usually you just send the first one to your colleagues.

| Setting                | Description                                                                                                                                                                                           |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Auth method**        | Token: everyone uses the same token; Username & password: one account per person                                                                                                                      |
| **Token**              | Token method only. **At least 32 characters**; clicking **Generate** is recommended                                                                                                                   |
| **Space for visitors** | Token method only: everyone who connects with the token uses this space's data and settings                                                                                                           |
| **Accounts**           | Username & password method only: shows "N account(s)"; click **Manage accounts (roles / passwords)** to go to **Settings → Accounts**. At least one account is required before sharing can be enabled |
| **Port**               | Default 3777                                                                                                                                                                                          |
| **LAN addresses**      | Addresses of virtual adapters (WSL, VirtualBox, Docker) are listed last; other computers can't reach them                                                                                             |

Choosing between the two auth methods:

|                               | Token                                             | Username & password                          |
| ----------------------------- | ------------------------------------------------- | -------------------------------------------- |
| Identity of those who connect | Not distinguished                                 | One account per person                       |
| Data                          | Everyone shares the one space chosen in the panel | Each account maps to its own space           |
| Suits                         | Your own devices, temporary sharing               | Collaboration among several people on a team |

When this computer is signed in with an organization account, tasks run by colleagues who connect are executed on this computer, use this computer's model setup, and spend the credits of the account currently signed in here (for organizations billed by time, they count toward that account's time).

:::warning Warning
Once on, other computers on your local network can all reach this computer's service, so **use it only on trusted networks**; if it needs to be reachable from the internet, have your network administrator set up secure HTTPS access.
:::

**The local window is not affected.** While the node is on, the host computer's own window is still the administrator and can still switch spaces, manage accounts, import sessions and use the Sprite. But **the built-in browser and Computer Use exist only while the computer is in local-only use**: while the collaboration node is on, even the host computer's own window has no browser panel and no Computer Use; they come back when you turn sharing off.

### When the node doesn't start

In the cases below the node can't start. HeyS **falls back to local-only mode automatically** so the app keeps working, and shows a red notice at the top of the sharing section, "Collaboration node did not start (fell back to local-only mode)", with the reason:

- The port is in use, or reserved by the system (on Windows, Hyper-V, WSL2 and Docker reserve ranges of ports). Change to another port and click **Apply & restart server** again. On Windows you can check the port ranges reserved by the system like this:

```
netsh interface ipv4 show excludedportrange protocol=tcp
```

- The token is shorter than 32 characters (usually one typed by hand before an upgrade). Click **Generate** to get a new one and apply it. If you can't change it right away, you can temporarily set the environment variable `HEYS_ALLOW_WEAK_KEYS=1`, and remove it after you change the token.

## Settings → Accounts \{#settings-accounts}

With the username and password method, sign-in accounts are managed in **Settings → Accounts**. Both the collaboration node and server deployments use it.

<figure>

![Settings → Accounts: alice maps to default and is Admin (Delete grayed out), bob maps to sales and is User; each row has Password and Delete, below it "2 account(s), 1 admin(s). The last admin cannot be deleted or demoted.", and + New account at the top right](/screenshots/en/818-设置-账户管理-20f1e4.webp)

<figcaption>Settings → Accounts: alice maps to default and is Admin (Delete grayed out), bob maps to sales and is User; each row has Password and Delete, below it "2 account(s), 1 admin(s). The last admin cannot be deleted or demoted.", and + New account at the top right</figcaption>
</figure>

Each account consists of a **username, the space it maps to, and a role**.

1. Click **+ New account** at the top right.
2. Fill in the username (starting with a lowercase letter or digit) and the password (**at least 8 characters**), and choose the **Space** it maps to; check **Make admin** if needed.
3. Click **Create**. In the table you can change the mapped space or role at any time, or use **Password** and **Delete**.

- **Accounts mapped to the same space see the same sessions**, and share the same global memory too. To have two people work on the same sessions, map them to the same space; to keep them separate, map them to different spaces.
- **The first account created is always an administrator**; **the last administrator can't be deleted or demoted**.
- Changing the password or the mapped space, or deleting the account, immediately invalidates the sign-in tokens already issued to that account, and every device has to sign in again. Deleting an account doesn't affect the space it maps to or its session data.
- After several failed sign-ins in a row for the same account, each sign-in has to wait a while first (up to 30 seconds); the account is not locked.

| Role      | What it can do                                                                                                                                                                                      |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Admin** | Everything: space settings, model providers, environment variables, voice input, account management, installing extensions, the enterprise market, Case templates, notification channels, and so on |
| **User**  | Start tasks and manage their own sessions, projects, scheduled tasks and memory; can view experts, skills and connectors but can't install or change them                                           |

Settings sections visible when you connect with username and password:

| Section                                                                                         | Admin | User      |
| ----------------------------------------------------------------------------------------------- | ----- | --------- |
| Workforce, General, Appearance, Memory, About                                                   | ✓     | ✓         |
| Enterprise market                                                                               | ✓     | Read-only |
| Spaces, Model providers, Environment, Voice Input, Personality, Notification channels, Accounts | ✓     | —         |

**Connection**, **Browser & site resources**, **Computer Use**, **Sites**, **Sprite**, **Import sessions** and **Sync** belong to the local desktop only, and nobody sees them when signed in remotely. Experts, skills, connectors and scheduled tasks are on the icon rail; everyone can open them, and write operations are for administrators only.

The separation is enforced by the server, not just hidden in the interface: the space an account maps to is written into its sign-in token, and a request that names another space is forced back; sessions in other spaces always come back as "not found".

On a server you can also manage accounts from the command line ([Command Line and API](https://docs.heys.ai/workstation/en/command-line-and-api.md)):

```bash
heys account add alice --profile default --admin   # the first account is the administrator
heys account add bob --profile sales
heys account list
heys account role bob admin
heys account passwd bob
heys account remove bob
```

## Settings → Enterprise market \{#settings-enterprise-market}

The enterprise market lets an administrator give the team **the company's own extension market**: employees see and install the skills, experts and connectors the company allows under **Extensions**, and signatures are verified as usual on install.

<figure>

![Settings → Enterprise market: the Enable the enterprise market toggle, Display name, Market URL, Market source (Enterprise + public market / Enterprise only), Credentials (Bearer token / Custom header / Basic), and at the bottom the status Off, Test connection and Save](/screenshots/en/819-设置-企业市场-910a2a.webp)

<figcaption>Settings → Enterprise market: the Enable the enterprise market toggle, Display name, Market URL, Market source (Enterprise + public market / Enterprise only), Credentials (Bearer token / Custom header / Basic), and at the bottom the status Off, Test connection and Save</figcaption>
</figure>

:::note Where it applies
The desktop app signed in with an organization account **doesn't have this page**: in organization mode, extensions come only from the organization's own market, configured centrally by the organization ([Extension Market](https://docs.heys.ai/workstation/en/extension-market.md)). The enterprise market appears in the web app of a server deployment and in services connected through CoWork (administrators can change it, regular users see it read-only), and in internal test builds that don't connect to an organization. If the server version is too old, the page doesn't appear.
:::

1. Turn on **Enable the enterprise market**. When off, the public market is used, and installed extensions keep working.
2. Fill in the company name as **Display name** (default "Enterprise market"), and the enterprise market's service address as **Market URL**, such as `https://market.example.com`.
3. Choose one **Market source**: **Enterprise + public market** (both side by side, enterprise first) or **Enterprise only**.
4. Under **Credentials**, choose Bearer token, Custom header or Basic (username and password) as the enterprise market requires, and fill in the credential.
5. Click **Test connection**; when it passes, click **Save**.

- Credentials are **write-only**: once saved they are never shown again, and leaving the field blank keeps the stored value. You can also write `${variable name}` to reference an environment variable (looked up in the system environment variables first, then in the environment variables in Settings).
- Wrong credentials produce a clear message: "Private market authentication failed".
- This configuration can also be pushed centrally by the config delivery of the organization or extension market.

## The web app \{#the-web-app}

Once the server is deployed, team members open the service address in a browser and sign in with the account the administrator assigned: that is the **web app**. After signing in, the interface is the same as the desktop: the same icon rail and sidebar, and the same new task page, sessions, projects, Cases, Apps and Extensions; docx, xlsx and pptx can also be previewed and edited in the built-in Office, and the design canvas works too.

Differences between the web app and the desktop:

- **No built-in browser, Computer Use, Sprite or Sprite companion, remote workspaces or embedded terminal**, and no opening local files with HeyS, Import sessions or cloud sync;
- Settings sections depend on your role ([Settings → Accounts](#settings-accounts));
- When an administrator creates a project in the web app, they **only enter a name**; the server assigns the working directory automatically under a restricted root, and an arbitrary path on the server can't be specified;
- Downloading files goes through the browser's downloads; the output card menu only has add to the input box, copy path and download;
- Apps run in floating windows as usual, and "open in its own window" opens a new browser tab; links in conversations also open in new tabs;
- Voice input requires the page to be on HTTPS or a local address;
- The About page has an extra **Server** row; server internals such as the data directory are shown only to administrators.

## Server deployment \{#server-deployment}

The server is deployed by an administrator, in one of two equivalent forms; pick the one you need:

| Form                       | Characteristics                                                                                                                                         |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Docker image**           | Recommended. Commands the agent runs execute inside the container, and the container itself is the isolation boundary; upgrading means switching images |
| **Server package + nginx** | The service is installed directly on a Linux server (Node.js 23.13 or later required), with nginx hosting the web pages and reverse-proxying the API    |

Both forms run the same service entry point, `heys-server`, which includes the web app, the Apps server, Office editing and the design canvas; the package also includes the `heys` command line for managing accounts and troubleshooting ([Command Line and API](https://docs.heys.ai/workstation/en/command-line-and-api.md)).

### Docker

1. Copy the `docker/` directory provided by HeyS to the server, copy `.env.example` to `.env`, and change the image address, the port and the first administrator account.
2. Run `docker compose up -d`, and watch the startup log with `docker compose logs -f`.
3. Open `http://<server IP>:8000` in a browser, sign in with the administrator account from `.env`, and **change the password right after signing in**.
4. Go to **Settings → Model providers** and **Settings → Environment** to set up models and keys.

Variables you can set in `.env` (all are passed into the container already; there is no need to edit the compose file):

| Variable                                  | Default         | Description                                                                                                                                                                                                                                                 |
| ----------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `HEYS_SERVER_HOST`                        | `0.0.0.0`       | Listen address                                                                                                                                                                                                                                              |
| `HEYS_SERVER_PORT`                        | `8000`          | Listen port. The container uses the host network, so the port is taken directly on the host; change it here if it conflicts                                                                                                                                 |
| `HEYS_SERVER_AUTH`                        | `accounts`      | `accounts` = username and password sign-in; `token` / `none` are also available                                                                                                                                                                             |
| `HEYS_SERVER_TOKEN`                       | —               | Static token for the `token` method, **at least 32 characters** (e.g. `openssl rand -hex 24`)                                                                                                                                                               |
| `HEYS_SERVER_PROFILE`                     | —               | Pins the whole service to one space (`token` method)                                                                                                                                                                                                        |
| `HEYS_SERVER_EXTRA_ARGS`                  | —               | Extra arguments passed to `heys-server`, such as `--no-cron`                                                                                                                                                                                                |
| `HEYS_ADMIN_USER` / `HEYS_ADMIN_PASSWORD` | —               | Creates an administrator on first start (only when both are given); skipped if the account already exists. The password must be at least 8 characters                                                                                                       |
| `HEYS_ADMIN_PROFILE`                      | `default`       | The space this administrator maps to                                                                                                                                                                                                                        |
| `HEYS_TRUSTED_PROXIES`                    | —               | If there is a reverse proxy in front, the proxy's address (comma-separated IPs or ranges, such as `127.0.0.1`), so per-IP sign-in rate limiting can see the real source. If one entry is wrong, the service won't start, and it says which entry at startup |
| `HEYS_ALLOW_WEAK_KEYS`                    | —               | Set to `1` to temporarily allow tokens shorter than 32 characters (warning only), for upgrade transitions only                                                                                                                                              |
| `HEYS_DISABLE_UPDATE_CHECK`               | `1`             | Don't check for client updates; the version is decided by switching images                                                                                                                                                                                  |
| `PUID` / `PGID`                           | `1000`          | Match the host user (`id -u` / `id -g`) so files in mounted volumes have the right owner                                                                                                                                                                    |
| `HEYS_CHOWN`                              | `auto`          | What to do when the owner of mounted directories doesn't match: `auto` (change only when it doesn't match) / `always` / `never`                                                                                                                             |
| `HEYS_RUN_USER`                           | `heys`          | Name of the unprivileged user to run as; must be a user that already exists in the image                                                                                                                                                                    |
| `TZ`                                      | `Asia/Shanghai` | Time zone                                                                                                                                                                                                                                                   |

All data lives in the mounted volume `docker/volumes/heys-home` (sessions, projects, skills, accounts, configuration), so deleting and recreating the container loses no data. Processes in the container run as a non-root user.

```bash
docker compose exec heys heys account add bob --profile default   # add an account inside the container
docker compose pull && docker compose up -d                       # upgrade
```

Rollback: change the image tag `HEYS_IMAGE_TAG` in `.env` back to the old version, then run `docker compose up -d`.

### Server package + nginx

Once unpacked, the server package includes its dependencies; Node.js 23.13 or later is required. A typical way to start it:

```bash
HEYS_HOME=/home/data/heys /opt/heys-server/heys account add admin --profile default --admin
HEYS_HOME=/home/data/heys /opt/heys-server/heys-server \
  --auth accounts --host 127.0.0.1 --port 8888 --no-web
```

`--no-web` means the web pages are hosted by nginx and the backend only serves the API; without it the backend hosts the web pages itself. nginx reverse-proxies the API paths to `127.0.0.1:8888` and hands all other paths to the web pages; for the API part, **turn off buffering and lengthen timeouts**, or live output will stall. In this setup, remember to set `HEYS_TRUSTED_PROXIES=127.0.0.1`. In production, using systemd to supervise the process is recommended.

Common `heys-server` arguments:

| Argument                  | Default     | Description                                                                                                                                                                     |
| ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--host`                  | `127.0.0.1` | Use `0.0.0.0` to serve others, or listen locally and let nginx proxy                                                                                                            |
| `--port`                  | `8000`      | Listen port                                                                                                                                                                     |
| `--auth`                  | `none`      | `none` / `token` / `accounts`                                                                                                                                                   |
| `--token`                 | —           | Token for the `token` method, at least 32 characters                                                                                                                            |
| `--profile`               | —           | Pins the whole service to one space (`token` method)                                                                                                                            |
| `--token-ttl`             | `30`        | Days a sign-in token stays valid                                                                                                                                                |
| `--web-dist` / `--no-web` | Automatic   | Specify the web directory / serve the API only                                                                                                                                  |
| `--no-cron`               | —           | Turns off the background daemon. **Scheduled tasks, Cases, notification delivery and reconciling crashed tasks all depend on it; don't turn it off if you need these features** |

:::warning Warning
With the username and password method, tokens travel in clear text, so a service that serves others **must sit behind HTTPS**. Run only one service on the same data directory at any one time.
:::

## Private deployment checklist \{#private-deployment-checklist}

| Item                          | How                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Data directory**            | On a server, set it with the environment variable `HEYS_HOME`, default `~/.heys`; in Docker it is the mounted volume. Backing up means backing up this directory ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md))                                                                                                                                                                                                      |
| **Model providers**           | After signing in, the administrator adds the intranet model service in **Settings → Model providers**, with its intranet address and key ([Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md)); certificate checks can be turned off individually for services with self-signed certificates                                                                                                                                                                       |
| **Extension market address**  | The extension market address and key in **Settings → Environment**, or the environment variables `HEYS_HUB_ENDPOINT` / `HEYS_HUB_API_KEY`. Once connected, configuration can be pushed out centrally ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md), "Config sync"). A market the company runs itself is configured in **Settings → Enterprise market** ([Settings → Enterprise market](#settings-enterprise-market)) |
| **Turning off update checks** | `HEYS_DISABLE_UPDATE_CHECK=1`: no more checks for client updates, and the About page shows "Client updates are managed by your deployment". Extension updates and config delivery are not affected. The Docker image defaults to 1                                                                                                                                                                                                                                                         |
| **A unified look**            | The administrator turns on **Set as default skin** in **Settings → Appearance**, and **Enforce for everyone** if needed ([Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md))                                                                                                                                                                                                                                         |
| **Reverse proxy**             | Set `HEYS_TRUSTED_PROXIES`, or sign-in rate limiting only sees the proxy's address                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Network boundary**          | Docker uses the host network, so commands in the container can reach the intranet the host is on; to tighten this, have your operations team switch to a bridge network                                                                                                                                                                                                                                                                                                                    |
| **Keys**                      | `desktop.yml` in the data directory holds keys in clear text; don't hand out the whole data directory carelessly                                                                                                                                                                                                                                                                                                                                                                           |

When the service serves others (authentication on, or listening on an address other than the local machine), HeyS automatically tightens some behavior: only administrators can install skills, **Learn skills automatically** and **Generate memory from chats** are off by default, the built-in browser and Computer Use are never available, managed runtimes and third-party MCP connectors can't be installed, and the agent can't install things from the extension market by itself.
