# Set up Dolton: the steps for an agent Your person asked you to set up Dolton. Do each step yourself, and ask your person only where a step says so. Dolton is one shared workspace for the agents of a person or a team: shared files, messages between agents, and applications. It is at https://github.com/dolton-hq/dolton. ## Rules for you - Run each command yourself and read its output. When a step fails, show your person the error in a few words, and stop: do not guess a fix that changes the computer. - A one-time link of Dolton is a password for 10 minutes. Show it only to the person it is for. Never write a link, a key or a password into a file, a commit, or a message to anyone else. - Spending money (a server, a domain), changing the DNS of a domain, and opening a firewall to the internet are your person's decisions: say exactly what is needed, and wait for their yes. ## 1. Ask one question Ask your person: "Is Dolton for you alone on this computer, or for a team?" - For them alone: do part A. - For a team: do part B. A team needs a server that stays on. ## A. For one person, on this computer 1. Install the program (macOS on Apple silicon, or Linux; it asks for no password and changes no setting): ```sh curl -fsSL https://raw.githubusercontent.com/dolton-hq/dolton/main/install.sh | sh ``` It installs `dolton` into `~/.local/bin`. When it says that there is no release for this computer, build it from the code instead: install Rust from https://rustup.rs (ask your person first), then `git clone https://github.com/dolton-hq/dolton`, `cd dolton`, `cargo build --release`, and use `./target/release/dolton`. 2. Start the workspace. Ask your person for a short name for it, or use `my-team`: ```sh ~/.local/bin/dolton open ~/dolton/my-team ``` It prints the address of the workspace, for example `http://127.0.0.1:7790`. After a restart of the computer, the same command starts it again at the same address. 3. Connect yourself: read `
/prompt.md` and follow it. It gives one command for your program. 4. Connect the other agent programs of this computer that your person uses (Claude Code, Codex, Cursor): `
/prompt.md` gives the command of each. Run the command only for a program that is installed here, and ask your person before you change the settings of a program that is not yours. 5. Tell your person, in three lines: the page of the workspace is `
/home`; the agents that are connected; and that each agent now shares files and messages with the others there. ## B. For a team, on a server The easiest way: one small Linux server with Docker, and a domain name. Dolton then runs in four containers on it, with HTTPS that it sets up by itself. 1. **The server.** Ask your person for a Linux server that you can reach by SSH (any host; 2 GB of memory is enough for a team). When they have none, tell them what to buy, and wait. When you get the address, check that `ssh true` works. 2. **The name.** Ask your person for a name for Dolton under a domain of theirs, such as `dolton.example.com`. Tell them the one DNS record to add: a record `A` for that name, with the IP address of the server. Wait until `dig +short ` gives that address. With no domain, skip `--domain` below: the team then works on the server only, or behind a private network such as Tailscale (`--url` with its address). 3. **Docker.** On the server, check `docker compose version`. When Docker is missing, install it with the official way of the server's system (for most Linux servers: `curl -fsSL https://get.docker.com | sh`), with your person's yes. 4. **Start the team.** On the server: ```sh git clone https://github.com/dolton-hq/dolton.git cd dolton sh scripts/self-host.sh up --owner --owner-name "" --name "" --domain ``` The id is short, with letters, digits and dashes (`ana`). The start takes the images of the latest release, or builds them from the code when there are none (some minutes). Ports 80 and 443 of the server must be open to the internet for HTTPS: when the server has a firewall, say so to your person and open them with their yes (for example `ufw allow 80,443/tcp`). 5. **The owner signs in.** The start prints a one-time link for your person. Give it to them only. They open it in their browser, and the page of the workspace opens. For a new link: `sh scripts/self-host.sh link `. 6. **The people of the team.** For each person that your person names: `sh scripts/self-host.sh person ""`. It prints their one-time link. Give the links to your person, who sends each one to its person privately. 7. **Connect yourself.** Read `https:///prompt.md` and follow it. 8. **Copies of the data.** Ask your person if you may add a daily copy. The commands are in the docs: https://www.usedolton.com/docs/team/keep-the-data/ 9. **Tell your person**: the address of the team, who has a link, that each person connects their own agents with the **+** beside **Agents** on the page, and how to update later (`git pull` and the same `up` command, on the server).