initializdocs
Devices

Enroll a device

Install the endpoint-guard watcher on a laptop or desktop — zero-touch config download, the macOS MDM profile, signed installers, and the manual device-token path.

Enrollment connects a device to your organization so its watcher can report. Everything you need is behind the Setup instructions button on Discover → Devices. The watcher installs observe-only (Monitor mode) by default and starts reporting the AI coding agents and endpoints it sees.

The device setup dialog: download config.env or the macOS MDM profile, then the signed installer

Minting enrollment credentials (the config download, the MDM profile, or a raw device token) requires an org admin; the installer downloads are open to any viewer of the screen.

Step 1 — Download the config (or push it via MDM)

Download config.env generates a personalized endpoint-guard.config.env containing a short-lived enrollment token. Place it beside the installer (or push it via MDM) and the daemon self-enrolls on first run — no typing tokens on the device. Because the token is short-lived, generate the config close to when you install.

For a managed macOS fleet, Download MDM profile (macOS) instead produces endpoint-guard.mobileconfig: the same enrollment bootstrap plus the Full Disk Access grant and background-item pre-approval the watcher needs. Upload it to your MDM (Jamf, for example) and scope it to the same devices as the installer. The extra grants only take effect when the profile is delivered by MDM — double-clicking a downloaded profile does not apply them.

Step 2 — Install the watcher

Download and run the signed installer for the platform:

  • macOS — a .pkg package.
  • Windows — an .msi package.

The installer sets up the watcher as a system service. With the config file (or MDM profile) in place, the device appears on Discover → Devices after its first sweep, attributed to the enrolled user.

Advanced — a raw device token

If you provision devices without the config file, expand Advanced: get a raw device token instead and choose Enroll a device. This mints a device token that is shown once — copy it immediately and provision it onto the device as AIGUARD_TOKEN (via MDM managed configuration or your installer tooling). The response also shows the new device ID and the mode it starts in.

After enrollment

A newly enrolled device starts in Monitor mode: observe and log only, nothing blocked. Its findings populate the device drawer, and its liveness is tracked from its sweeps (Active, or Stale after 45 minutes of silence). To move beyond observation — rules, blocking, capture, secret detection — see Device posture.

On this page