# Prometheus + Instatus

Source: https://instatus.com/help/integrations/prometheus

1. Go to [Instatus](https://instatus.com), under Integrations, select Prometheus
2. Select the templates to use when creating and resolving automated incidents
3. Copy your page's webhook URL
4. Set up Alertmanager with a webhook receiver in the `alertmanager.yml` file.

```yaml
global:
  resolve_timeout: 5m
route:
  receiver: webhook_receiver
receivers:
  - name: webhook_receiver
    webhook_configs:
      - url: "<INSERT-YOUR-WEBHOOK>"
        send_resolved: true
```

5. Replace `<INSERT-YOUR-WEBHOOK>` with the webhook that you generated earlier in the alertmanager.yml file and run the Alertmanager using the following command.

6. Run the Alert manager using the following command `alertmanager --config.file=alertmanager.yml`

We're done! 👏
