---
title: "Restart Alloy and test connection | Grafana Labs"
description: "Learn how to verify that Grafana Alloy is installed and configured correctly"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Restart Alloy and test connection

By now, you’ve installed and configured Grafana Alloy. Congratulations! In this step, you’ll restart Grafana Alloy and test that Grafana Cloud is collecting data from your macOS machine.

To restart Alloy and test the connection:

1. At the macOS Terminal, enter the following command and press **Enter**:
   
   ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy
   
   ```none
   brew services restart grafana/grafana/alloy
   ```
2. In Grafana Cloud, click **Test connection**.
   
   It might take a few minutes for the system to verify the connection.
   
   You’ll know the connection is working when you see `Integration is collecting data and sending it to Grafana Cloud`.

In the next step, you’ll install pre-configured dashboards and alerts.

Were you successful?

![No](/media/images/svg/thumbs-up.svg) No

![Yes](/media/images/svg/thumbs-up.svg) Yes

Super! You can move to the next step.

* * *

### Troubleshooting

Explore the following troubleshooting topics if you need help:

- [No metrics were found for this integration](/docs/grafana-cloud/monitor-infrastructure/integrations/troubleshoot/install-troubleshoot-mac-alloy/#no-metrics-were-found-for-this-integration)
- [Alloy was not able to reach your application Prometheus metrics endpoint](/docs/grafana-cloud/monitor-infrastructure/integrations/troubleshoot/install-troubleshoot-mac-alloy/#alloy-was-not-able-to-reach-your-application-prometheus-metrics-endpoint)

Please tell us what didn't work:

Submit

Submitting...

There was an error with your submission.

Thank you!

Need more support? Check out these [helpful resources.](/help/)
