# Connect your first server

> With a token from your hosting provider, Pulse finds your servers, their resources, and their renewal dates. For a server anywhere else, including at home, Pulse Agent sends the measurements.

- Section: Get started
- Availability: Starting with the Free plan, 2 servers and 1 provider. On iPhone, iPad, Mac, and Android.
- URL: https://pulse-app.si/en/docs/start/first-server

## Two ways to connect a server

| Your server is | What you need | What you get |
| --- | --- | --- |
| At Hostinger, OVHcloud, DigitalOcean, Vultr, Hetzner Cloud, Contabo, or AWS | A token or keys from the provider | State and resources, with renewal dates or balance depending on the provider |
| Anywhere else, including at home | Docker Compose on the server | The state of the machine and its containers, through Pulse Agent |

## Connect a hosting provider

1. Open **Add** (⌘N on Mac), then **Connect a Hosting Provider** and **Choose Provider**.
2. Pick the provider, for example **Hostinger**.
3. Create the token there and paste it. For Hostinger: **hPanel › Profile › API › New token**. Give it an expiration date.
4. Tap **Connect Hostinger**. Pulse lists the servers on the account.
5. Check the ones to follow, then **Monitor 1 Server**.

The server `vps-paris-01` appears in **Servers**. Pulse reads each account again every 15 minutes. Each provider has its own page, so start with [Connect a provider](https://pulse-app.si/en/docs/servers/hosts).

> **What happens to your token**
>
> Pulse encrypts it with a key kept outside its database, never sends it back to the app, and only uses it to read. Hostinger doesn’t offer read-only tokens, so yours has full account access. That’s why the expiration date matters. See [Provider tokens](https://pulse-app.si/en/docs/security/host-tokens).

## No provider: Pulse Agent

1. Open **Add**, **Connect a Hosting Provider**, **Choose Provider**, then **Other Server**.
2. Enter the **Server Name**. The IP address or hostname is optional.
3. Tap **Add and Install Pulse Agent**. Pulse shows the services to copy and the key.
4. Add those services to the server’s `docker-compose.yml`, then run `docker compose up -d`.
5. The screen waits for the first report, then shows **Pulse Agent Is Connected**. Tap **Done**.

Pulse never connects to the server. The agent runs read-only and sends its measurements. The key is shown only once, so keep it in the Compose `.env` (`PULSE_KEY`). For the full setup, see [Pulse Agent](https://pulse-app.si/en/docs/servers/agent).

## What’s next

- Pulse alerts you if the server stops, if disk or memory passes 90%, and before a renewal: 7 days out, 3 days out, and the day before. See [Resources and thresholds](https://pulse-app.si/en/docs/servers/resources) and [Renewals](https://pulse-app.si/en/docs/servers/renewals).
- To file an app under its server, choose the server under **Where It Runs** when you [add the app](https://pulse-app.si/en/docs/start/first-app).

## If it doesn’t work

| What you see | What to do |
| --- | --- |
| **No servers found** | The account has no servers, or none in the chosen region (AWS). Check which account the token belongs to. |
| Sync has stopped | A refused or expired token stops sync. Open **Settings › Connected Providers**, then **Replace Token**. |
| “Your plan links one provider. Pulse Pro links them all.” | The Free plan connects 1 provider and follows 2 servers. See [Plans](https://pulse-app.si/en/docs/billing/plans). |
| **Waiting for First Report** doesn’t change | Check that the containers are running (`docker compose ps`) and that the server can reach the internet. **Later** closes the screen without losing anything. |
