# Approve a new server
Source: https://shld.app/guides/approve-a-server · Updated 2026-11-25 · Synced from shld f6c77924

> Review the shld device request in a browser, connect the server, and confirm authorization and monitoring on the host.


At the end, the server will have a saved connection, and you will have separate authorization and monitoring results. Allow about five minutes for the browser review and host checks.

## Before you start

- Use the reviewed shld binary on the server.
- Confirm that the service has its approved watched folder and state path.
- Use your shld account at app.shld.app. Signing in with a new email creates a free account.
- Keep the server terminal open during approval.

## Steps

1. Run the login command on the server.

```sh
sudo shld auth login
```

shld connects to `https://api.shld.app`, the service every account uses. Only a company with a dedicated instance names its own address, with `sudo shld auth login --server <address>`.

2. Open the displayed URL on your phone or computer. The login request expires after 10 minutes.
3. Sign in with your shld account.
4. Enter the code from the server.
5. Select **Review server**.
6. Review the server name and company.
7. Review the notification recipients.
8. Read the restart notice.
9. Select **Connect server**.

The browser approval authorizes the disclosed restart within the approved setup scope. A recognized running service restarts once. A stopped service stays stopped.

10. Return to the server terminal.
11. Check authorization.

```sh
sudo shld auth status
```

12. Check local monitoring.

```sh
sudo shld status
```

The first command checks the saved authorization. The second command reads the service and its local report. Review the last scan, coverage limits, and notification state as separate results.

The service uses `/var/lib/private/shld` for its state. A preserved installation can use `/var/lib/private/shld/state`. A new connection queues one labeled connection-check email after the first valid heartbeat.

13. Open **Alert settings** on the approval page when you need to review recipients.

## If something goes wrong

- The URL expires before approval. Run `sudo shld auth login` again and use the new request.
- The binary lacks the `auth` command. Stop and upgrade it with the reviewed installer before login; see [Installer upgrades differ](/docs/updates#installer-upgrades-differ).
- `sudo shld auth status` succeeds, but `sudo shld status` reports no active service. Authorization does not prove active monitoring. Inspect the service state.
- The server uses a custom unit or unknown state path. Stop and review the unit before another login.
- The provider accepts a message, but the inbox has no message. Treat provider acceptance and inbox receipt as separate facts.

## Related

- [Install shld on Debian or Ubuntu with Claude Code](/guides/install-with-an-ai-assistant)
- [Read your first alert email](/guides/read-an-alert)
- [Stop or remove shld on a server](/guides/stop-and-remove)
- [Install and connect a server](/docs/install)

