# What stays on your server

## Agent prompt

```text
Help me explain to my security team where the data of our self-hosted Slatebox lives. Ask which address the server uses (a team address, our own Cloudflare Tunnel, our own domain, or a private network) and whether phones are on. Use the tables on this page; do not guess beyond them.

Read the official guide at https://docs.slatebox.com/Installation/what-stays-on-your-server.md first. Tell me what you verified and which steps I still need to do.

If your client cannot fetch the documentation, read the same published file at https://raw.githubusercontent.com/Slatebox/slatebox-docs/retype/Installation/what-stays-on-your-server.md.
```

Everything your team makes in a self-hosted Slatebox stays on the machine that runs it. With a team address or your own Cloudflare Tunnel:

> HTTPS ends at Cloudflare; your slates, files and database stay on your server.

## Where each thing lives

| What | Where |
| --- | --- |
| Slates, comments, files and pictures | Your server's database and data volume |
| Accounts, passwords and passkeys | Your server's database |
| Single sign-on (Keycloak) | Inside your container |
| AI and call keys people save | Your server's database, encrypted with your key encryption key |
| The database itself | Inside the container, never reachable from outside it. Or your own MongoDB with `MONGO_URL` |
| Backups | Where you keep them |

## What passes through others

| Who | With a team address | With your own Cloudflare Tunnel | With your own domain |
| --- | --- | --- | --- |
| Cloudflare | Ends HTTPS and carries each request to your container | The same, in your own Cloudflare account | Nothing, unless your DNS or proxy is on Cloudflare |
| Slatebox Cloud | Knows the name, the account that claimed it and whether the tunnel is connected. Never holds the tunnel token, a slate or a file | Nothing | Nothing |

Slatebox Cloud's part is only the address: running tunnels keep working when Slatebox Cloud is down.

## Phones

| What | Where |
| --- | --- |
| Sign-in | Your server's own sign-in page, in the phone's browser |
| The phone's sign-in tokens | The phone's Keychain or Keystore, for your server's address only. Signed out from **Account** › **Devices** or **Admin** › **Phones** |
| Slates the phone opened | A small offline copy on the phone |
| Your server's identity | A public key the phone remembers, so it never signs in to another server at your address |

The phone reaches your server through its https address only. [Phones for your own server](phones-for-your-own-server.md)

## Your address is public; your slates are not

A team address or tunnel makes the sign-in page reachable from the internet. People still need an account, and a new server lets only invited people create one. Public and share-link slates are readable by anyone with the link, as on any Slatebox. [Who can sign up](phones-for-your-own-server.md#who-can-sign-up)

To keep the server off the internet, use your company network or VPN. [Phones on a private network](phones-on-a-private-network.md)
