setup
proxai-gateway setup [gateway-key]On a fresh machine, setup configures the gateway end to end. Pass your
Gateway Ingestion Key as the
argument, or run the command with no argument to be prompted for it. Setup
then:
- Verifies the key with ProxAI.
- Writes the local configuration file.
- Registers the gateway as a background service that launches on login.
- Starts the daemon.
When the gateway is already configured, setup instead prints the stored
gateway key and the time of the last upload, and points you at setup new
and setup reset for changes.
| Option | Effect |
|---|---|
--no-start | Finish setup without registering or starting the background service. Run proxai-gateway start when ready. |
setup new
proxai-gateway setup new [gateway-key]Replaces the stored gateway key with a new one: re-verifies the key, rewrites the configuration, clears any auth-failure flag, and restarts the daemon.
Use this after rotating your key in the dashboard. Generating a new key there
won’t disrupt your running gateway, but the gateway keeps uploading under the
old key until you run setup new with the new one.
setup reset
proxai-gateway setup resetStops the daemon and removes the stored gateway key, returning the gateway to a waiting-for-configuration state. Buffered data and logs are kept. The command asks for confirmation before making any change.
To remove the gateway entirely, use
uninstall instead.