What this is for
A machine with the agent installed is still local-only. Activating it means enrolling it with an endpoint key so it reports to the console, checking that the first report arrived, and settling which install mode it runs. This page is for the person doing that on one machine or scripting it for many.Enroll
1
Issue a key
In the console open Endpoint AI Risk › Fleet › Connect endpoint, type a Machine label and click Generate key. Copy the
sk-ep-… key; it is shown once.2
Run the enroll command
sudo on a managed install, which is the default; on Windows, run it from an elevated PowerShell. On an observe install, run it as the signed-in user, without sudo. gw-cli hook --installed-mode tells you which install the machine has.--verify sends a first report right away. The key is stored with owner-only permissions and never logged, and the running agent picks it up without a restart.3
Check Fleet
The machine appears in Fleet within a minute, with its name, the signed-in user, its OS and agent version. A blank value means the machine has not reported that item yet.
gw-cli discover --deep --report pushes a fresh
inventory on demand, and gw-cli enroll --remove stops reporting and clears the saved key.
Enroll from a deployment tool
On Windows the command is
& "C:\Program Files\Guardway\gw-cli.exe" enroll --key … --url https://api.us.guardway.ai --verify.
One key can enroll your whole fleet, with no limit on the number of machines. Each machine trades it
for its own credential when it enrolls, so Fleet lists every machine separately and Revoke device
access cuts off one machine without affecting the others. Revoking the key stops new enrollments;
machines that already have their own credential keep reporting.
Disk images and cloned machines
Install the agent on each machine after it is imaged or cloned, not on the reference machine whose disk becomes the image. The agent keeps its machine ID and its credential on the disk. A machine cloned with the agent already installed carries both, so two machines share one credential, and one of them stops reporting in Fleet. If your reference machine already has the agent, remove it there (Uninstall) before you capture the image, then deploy the package and the enroll command to each machine.Install modes
New installs use the managed mode. Upgrades keep the mode a machine already has. The mode decides what the agent can do on the machine; your policy decides what it does, and nothing changes for developers until the policy says so.
To install observe instead, set it before you install:
To switch an installed machine: