---
title: "Install Grafana Alloy on Windows | Grafana Labs"
description: "Learn how to install Grafana Alloy on your Windows Server to collect IIS metrics."
---

# Install Grafana Alloy on Windows

The next step is to install Grafana Alloy on your Windows Server.

Alloy is a telemetry collector that sends data to Grafana Cloud. You’ll need to create or use an existing token, then run the installation command on your Windows machine.

To install Alloy, complete the following steps:

1. In the **Install Alloy** section, click **Run Grafana Alloy** to expand the installation options.
2. **Create or select a token:**
   
   You can either create a new token or use an existing one. The token authorizes Alloy to send data to your Grafana Cloud instance.
   
   - **Create new token**: Click “Create new token”, enter a meaningful name (e.g., `MyIISServer`), then click “Create token”.
   - **Use existing token**: Click “Use an existing token” and enter a token you’ve created before.
3. Verify that the **Enable Remote Configuration** toggle switch is set to off.
4. Open **Command Prompt as Administrator** on your Windows Server, copy the installation command from Grafana Cloud, paste and run the command in Command Prompt, and wait for the installation to complete.
   
   When successful, you’ll see:
   
   ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy
   
   ```none
   Status   Name               DisplayName
   ------   ----               -----------
   Running  Alloy              Alloy
   ```
5. After installing Alloy, click **Test Alloy connection** to verify the installation.
   
   If successful, you’ll see: **Awesome! Grafana Alloy is good to go.**
6. Click **Proceed to install integration** to continue to the next step.

* * *

### Troubleshooting

Explore the following troubleshooting topics if you need help:

- [Common errors when executing Alloy installation script](/docs/grafana-cloud/monitor-infrastructure/integrations/troubleshoot/install-troubleshooting-windows-alloy/#common-errors-when-executing-alloy-installation-script)
- [Common errors when configuring Alloy for Integrations - Test Data Connection button](/docs/grafana-cloud/monitor-infrastructure/integrations/troubleshoot/install-troubleshooting-windows-alloy/#common-errors-when-configuring-alloy-for-integrations---test-data-connection-button)

* * *

### More to explore

- [What is Grafana Alloy?](/oss/alloy-opentelemetry-collector)
- [How Grafana Alloy Works: Demo (Video)](https://www.youtube.com/watch?v=NrnLyDXpfq0)
- [Grafana Alloy on GitHub](https://github.com/grafana/alloy)
