Self-hosted deployments must enable Connected Machines first. Besides
OPENGENI_SANDBOX_SELFHOSTED_ENABLED=true, they need the stream relay and NATS auth-callout; see
the deployment
guide.Enroll interactively
1
Run the installer
Open the Machines page in your workspace, copy the one-line installer, and run it on the
machine. It installs
opengeni-agent as a background service and starts a device sign-in.2
Approve the device
Open the printed URL, confirm the code, and choose who may use the machine: only you (the
default), the workspace, or the organization. Screen control is a separate consent.
3
Done
The machine appears on the Machines page, ready to use.
Enroll headlessly
For fleets and CI machines, create a one-time enrollment token in the workspace and pass it to the installer:Use it in a session
- At creation: pick the machine, and optionally a working directory, when starting a session.
- Later: switch a session to the machine, or back to its managed sandbox. History is unaffected.
Connect more workspaces
One agent can connect to several workspaces, even on different Opengeni deployments. Each connection is independent.disconnect only stops the local link. The machine stays listed in the workspace until an admin removes it.