---
title: "Select your platform for Grafana Alloy | Grafana Labs"
description: "Choose the appropriate platform and architecture for installing Grafana Alloy to collect PostgreSQL metrics."
---

# Select your platform for Grafana Alloy

In this milestone, you navigate to the PostgreSQL integration page in Grafana Cloud and select your platform environment. This generates customized configuration snippets for your specific operating system and deployment scenario.

The integration page provides configuration options for different platforms including Debian, Windows, and generic configurations for other Linux distributions. It also offers advanced configuration options for security-enhanced deployments.

To navigate to the PostgreSQL integration and select your platform, complete the following steps:

1. Click **Connections &gt; Add new connection** in the left-side menu.
2. Filter the connections by typing `PostgreSQL` in the search.
3. Click the **PostgreSQL** tile to open the setup page.
4. Grafana Alloy supports the following platforms:
   
   - **Linux** (x86\_64, ARM64)
   - **macOS** (x86\_64, ARM64)
   - **Windows** (x86\_64)
   - **Docker containers**
   - **Kubernetes deployments**
5. Select the **operating system** that matches your platform.
6. Select the **architecture** that matches your system (Amd64 for x86\_64, Arm64 for aarch64).
   
   If you are unsure of the architecture of a Linux machine, run `uname -m` in your terminal. If it returns `x86_64`, select **Amd64**. If it returns `aarch64`, select **Arm64**. If the command returns anything else, your system isn’t supported by Grafana Alloy; you need to use a 64-bit x86 or ARM system.
7. If you are installing Grafana Alloy on macOS, select an installation method that best fits your infrastructure:
   
   - **Homebrew** for direct system deployment
   - **Binary download** for custom installations

In your next milestone, you’ll install Grafana Alloy on your selected platform.
