> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Grafana

> Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources.

## Creating a Grafana connection

To create the connection you need:

* A request URL
* A Service Account Token

### Obtaining the credentials

#### Request URL

1. Go to [Grafana](https://grafana.com/) and click on **My Account**.

   ![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/01.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=f441b77893bbe2a29074e3b44fd636b4)

2. Copy your *request URL*. Then click on the *request URL* or click **Launch**.

   ![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/02.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=4d5d72d9e499ccfc2ca783985009a2d1)

#### Service Account Token

1. Go to **Administration** > **Users and access** > **Service accounts**.

   ![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/03.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=69e06cabb513d887f56e52d01031f534)

2. Click **Add service account**.

   ![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/04.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=d8d7b9927a6c0cecc169cd218744c497)

3. Fill in the **Display name** and **Role**, then click **Create**.

   ![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/05.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=0b495f6a39ce22846da9a528f1eafc37)

4. Click **Add service account token**.

![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/06.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=de5615b4f0e0eb8f645214089000459b)

5. Fill in the **display name** of the Service Account Token (optional - add an expiration date).

![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/07.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=811cb210296766141e7d5ca9d64e42cc)

6. Copy your new *Service Account Token*.

![Untitled](https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/08.png?fit=max\&auto=format\&n=ZY2pBQrNZsX_Fhhq\&q=85\&s=acc15d500621d6faa5e6b0a3ab2c9ce8)

### Creating your connection

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.

2. Select the **Grafana** icon. A dialog box with name of the connection and connection methods appear.

3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.

4. Select **Service Account Token** as the method to make the connection.

5. Fill in the parameters:

   * The request URL
   * The Service Account Token

6. (Optional) Click **Test Connection** to test it.

7. Click **Create connection**. The new connection appears on the **Connections** page.
