Baseguard

baseguard connect

Connect to the network

The connect command joins your device to the Baseguard network.

First time? Just run baseguard connect — it automatically handles login if you're not authenticated yet.

Usage

baseguard connect [options]

Options

OptionDescription
--org-id <id>Connect to a specific organization

Examples

Basic Connection

baseguard connect

On success, the command completes without output. Run baseguard status to verify.

First-Time Connection

If you're not authenticated, connect automatically starts the login flow. You'll see an authorization URL — open it in your browser to approve the device.

Connect to Specific Organization

If you belong to multiple organizations:

baseguard connect --org-id org_abc123def456gh

Automated/Headless Connection

For scripts and CI/CD, use an auth key to skip interactive login:

baseguard login --auth-key "$BASEGUARD_AUTH_KEY"
baseguard connect

Troubleshooting

See Troubleshooting for solutions including connection timeouts and daemon issues.

See Also

On this page