> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent runbook

> The setup steps your agent follows, as plain markdown

The agent runbook is the plain markdown file an agent follows from step 1 to set XenoCI Box up: install, sign in with GitHub, connect, then the first build, test and screenshot. The setup line points the agent to it

```bash theme={"system"}
Set up XenoCI Box with https://docs.xenoci.com/setup
```

## Read it

* [Agent setup](https://docs.xenoci.com/setup) in your browser, or `curl https://docs.xenoci.com/setup.md` for the markdown
* [llms.txt](https://docs.xenoci.com/llms.txt), the short index of these docs for agents

## What it covers

1. Install the CLI, or use it through npx
2. Sign in: a link and a code for you to open, or `BOX_API_KEY` where there is no browser
3. Connect: `box setup`
4. The first build, test and screenshot, and what to do with each exit code

![The box sign-in page the runbook sends you to: the code from the terminal and a Continue with GitHub button](https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/images/docs-login.png?fit=max\&auto=format\&n=ZFKGlbE4Q2bw14Om\&q=85\&s=46dc3d57608c42d548b066f8d5d6ef44)


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