Skip to main content
The Quickstart runs everything locally. This guide connects that same setup to the cloud control plane, so you can trigger runs from the web dashboard and see results stream in live — still with no hardware required.

What you need

  • A CruciHiL account. On the hosted platform, create one at app.crucihil.io/signup (you’ll verify your email, then land in the dashboard). On a self-hosted deployment, use your instance’s dashboard — see Self-hosting to stand one up.
  • CruciHiL installed locally (Installation) and the hello_world example from the Quickstart — or any rig TOML of your own.

Step 1 — Register the rig in the dashboard

In the dashboard, go to Rigs → Register Rig, give the rig a name (e.g. dev-bench-01), and register it. The response shows the rig’s API key once — copy it now. It is stored server-side only as a SHA-256 hash and cannot be recovered later (you’d delete the rig and register again).
On the hosted platform, the free plan includes 1 rig per organisation — the Rigs page shows your usage (e.g. “1 of 1 rigs used”). Registering beyond your plan’s limit returns a clear error with the upgrade path. Self-hosted deployments have no rig limits.
Rig registration on the hosted platform requires a signed-in org admin. The static REGISTRATION_TOKEN self-registration flow described in crucihil agent applies to self-hosted deployments only.

Step 2 — Give the agent its credentials

The agent needs two things: where the control plane is, and the rig’s API key. Environment variables are the simplest way (they take precedence over any [rig.cloud] section in the TOML):
For a self-hosted control plane, point CRUCIHIL_BASE_URL at your own server. Alternatively, put the connection in the rig TOML:

Step 3 — Start the agent

From the directory that contains your suites (e.g. examples/hello_world/):
The agent connects outbound over WebSocket — no inbound ports, no firewall changes on the bench. Within a few seconds the Rigs page shows the rig online.

Step 4 — Trigger a run from the dashboard

Go to Runs → Run Suite, pick your rig, and enter the suite path:
The suite path is resolved relative to the agent’s working directory — the directory you started crucihil agent from, not the dashboard.
The run appears as queued → running, and each test result streams into the run detail page live as it completes. If the agent loses connectivity mid-run, results are cached in local SQLite and synced when it reconnects — nothing is lost.

Troubleshooting

Production benches

For a bench that should survive reboots, install the agent as a systemd service with scripts/install-agent.sh — see Self-hosting → Bench agents. For the credential model behind rig keys, user JWTs, and viewer keys, see Authentication & access.