> For the complete documentation index, see [llms.txt](https://www.health-samurai.io/docs/interbox/llms.txt).
> Use it to discover all available pages before guessing URLs.

---
# Quick start

You run the template stack locally and send it an HL7v2 message. You need
Docker with Compose, and git.

## Start from the workspace template

[`interbox-workspace`](https://github.com/HealthSamurai/interbox-workspace)
is the reference pipeline template. Fork it, adjust it for your own data, and
deploy:

```sh
git clone https://github.com/HealthSamurai/interbox-workspace.git
cd interbox-workspace
cp .env.example .env
docker compose up
```

The stack boots without a `.env`: every setting `docker-compose.yaml` reads has
a built-in default (`AIDBOX_CLIENT_SECRET`, `INTERBOX_VERSION`, …). Copy it
anyway. That file holds the template's recommended local settings, including
`INTERBOX_WORKSPACE_ACCESS=apply`, which lets you edit pipelines from the
dashboard (see [The workspace](../deploy/workspace.md)). Without it the Repository
screen is read-only.

There is no license key to paste either way. The dashboard's first-run portal
OAuth flow signs both the Interbox and Aidbox licenses for you. Until you click
through it once, the pipeline stays paused, with an activation screen.

Open `http://localhost:3001` for the dashboard, then send HL7v2 over MLLP to
`localhost:2575` and watch the units flow through to the FHIR server.

No MLLP client handy? The template ships a traffic generator that sends
synthetic HL7v2 to that port: run `bun run hl7v2:simulator` from the workspace
root and open its UI. See its README in `utils/hl7v2-simulator/`.

`.env` is also where you override the rest: pinning `INTERBOX_VERSION`, setting
a real `AIDBOX_CLIENT_SECRET`, or pointing at a private registry.

Working on the workspace's code locally needs [Bun](https://bun.sh) 1.4 or newer.
Older Bun cannot read the template's `bun.lock`: `bun install` warns that it is
ignoring the lockfile, resolves every dependency again and rewrites `bun.lock`,
and `bun install --frozen-lockfile`, as CI runs it, fails.

```sh
bun install
bun run typecheck
bun test
```

## Next step

[Your first pipeline](first-pipeline.md) reads the template's pipeline step by step
and changes it.
