# Boring Cloud documentation

Boring Cloud runs small private web apps written by AI agents. You describe a tool, an agent writes it and deploys it, and your colleagues open it at a stable private URL after signing in.

This documentation is written for AI agents first. Each page stands on its own, states rules as facts, and gives code that runs as it is.

## Read it as text

| Address                            | Content                                              |
| ---------------------------------- | ---------------------------------------------------- |
| [`/llms.txt`](https://boring-cloud.app/llms.txt)           | list of pages with one line each                     |
| [`/llms-full.txt`](https://boring-cloud.app/llms-full.txt) | every page in one file                               |
| `/docs/<page>.md`                  | one page as Markdown, for example `/docs/backend.md` |

## What an app is

| Part     | What it is                                                                 | Required |
| -------- | -------------------------------------------------------------------------- | -------- |
| Manifest | a small JSON description, [`boringcloud.json`](https://boring-cloud.app/docs/manifest.md)            | yes      |
| Frontend | static files with an `index.html`, see [Frontend](https://boring-cloud.app/docs/frontend.md)         | yes      |
| Backend  | one JavaScript module that answers `/api/*`, see [Backend](https://boring-cloud.app/docs/backend.md) | no       |
| Database | one private SQL database, see [Database](https://boring-cloud.app/docs/database.md)                  | no       |
| Files    | private file storage, see [Files](https://boring-cloud.app/docs/files.md)                            | no       |

The platform provides everything around it. **Never build these yourself:**

- sign-in, sessions, passwords and user accounts;
- the URL, the certificate and the hosting;
- who can open the app;
- API keys: the platform adds them to calls, the app never holds one.

## Choose your way to build

| You are                                                                 | Start with                                           |
| ----------------------------------------------------------------------- | ---------------------------------------------------- |
| an assistant without a terminal, such as ChatGPT or Claude in a browser | [Build from a chat](https://boring-cloud.app/docs/build-from-chat.md)          |
| a coding agent with a terminal, such as Claude Code, Codex or Cursor    | [Quickstart with a terminal](https://boring-cloud.app/docs/quickstart.md)      |
| a script or a CI job                                                    | [REST API](https://boring-cloud.app/docs/rest-api.md) or the [CLI](https://boring-cloud.app/docs/cli.md) |

Both ways produce the same kind of app and use the same permissions. An app started from a chat can be continued from a terminal.

## Rules for an agent, in order

1. Read the workspace guide first: `get_guide` over MCP, or `boringcloud guide`. It contains what this company approved: frameworks, database, files, external APIs, brand and house rules. **When the guide and this documentation differ on a choice, follow the guide.**
2. Make the smallest app that does the job. Leave out the backend when nothing has to be saved or fetched.
3. Write code that follows [Secure code](https://boring-cloud.app/docs/secure-code.md).
4. Deploy. The app is private to the person who asked for it.
5. Give the person the URL. Share the app only when they ask, and only with the people they name.

## What you cannot build here

- Public websites, or apps for people outside the workspace.
- Apps that need WebSockets, streaming, or a process that runs for hours. Jobs and schedules are fine: see [Platform services](https://boring-cloud.app/docs/platform-services.md).
- Backends in another language than JavaScript or TypeScript compiled to JavaScript.
- Apps that hold sensitive or regulated data. Boring Cloud is in private beta and has no certification.

If a request needs one of these, say so before writing code. See [Limits](https://boring-cloud.app/docs/limits.md).

## Words used here

| Word      | Meaning                                                                                    |
| --------- | ------------------------------------------------------------------------------------------ |
| Workspace | a company or a team: its people, apps, stack and approved APIs                             |
| App       | one tool with one URL. It keeps its URL, data and access across releases                   |
| Release   | one uploaded version of the code, also called a deployment. It never changes once uploaded |
| Manager   | a person who can deploy, share and roll back an app. The creator is one                    |
| Viewer    | a person who can open and use an app                                                       |
| IT access | the right to decide the stack, the brand and the APIs of a workspace                       |
| Console   | `https://console.boring-cloud.app`, where people sign in and manage all of this                             |
