Install the Constellation fleet agent
The fleet agent accepts telemetry from applications on a local Unix socket, buffers it, and delivers it to Constellation ingest. Applications never hold the API key.
Requirements
- A Linux host using systemd, on an amd64 or arm64 processor
- A Debian/Ubuntu or RHEL/Fedora/CentOS/Amazon Linux family distribution
curl,awk,getent,groupadd,usermod, andsystemd-tmpfiles, plusgpgif Telegraf is not already installed- Root access
- Outbound HTTPS and gRPC access to Constellation
- A live API key with
telemetry:write,topology:readandconfig:write(the Fleet agent key ticks them), created on Integrations, API and MCP - A network config defining the ground stations, antennas, and satellites you will publish for. On Fleet, Add, Your own adds a station with its first antenna and then shows both ids to copy; see Add your own
Export the key in your shell as CONSTELLATION_API_TOKEN. Off the shared service (stage, or an Enterprise deployment), export its API URL as CONSTELLATION_API_URL too; left unset, the agent sends to https://api.constellation.space, where that key is refused. The command on Integrations, Fleet agent, already names your deployment's URL.
export CONSTELLATION_API_TOKEN='<your token>'
export CONSTELLATION_API_URL='https://api.constellation.space'
Install the default gRPC agent:
curl -fsSL https://install.constellation.space/agent | \
sudo --preserve-env=CONSTELLATION_API_TOKEN,CONSTELLATION_API_URL sh
Expected final output:
constellation-agent install: READY
constellation-agent install: verify: sudo constellation-agent verify
constellation-agent install: logs: sudo constellation-agent logs
The installer verifies the checksum or signature of every downloaded artifact, writes the credential to /etc/constellation/agent.env (mode 0600), validates the generated configuration, and starts the telegraf systemd service, which creates /run/constellation-agent/telemetry.sock. Installer options are listed in Environment variables. For a host with no internet access, or to mirror the release, get the files from Downloads.
Confirm the service is running:
sudo constellation-agent status
Grant an application access
Create a dedicated publisher account if needed, then add it to the socket group:
id constellation-publisher >/dev/null 2>&1 || \
sudo useradd --system --no-create-home --shell /usr/sbin/nologin constellation-publisher
sudo usermod -aG constellation constellation-publisher
Start or restart constellation-publisher.service after changing group membership; a running process keeps its old groups. The group grants socket access only, not access to the fleet agent credential.
Next: Publish telemetry.