> ## 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**.

   <img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/01.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=f441b77893bbe2a29074e3b44fd636b4" alt="Untitled" width="1251" height="481" data-path="img/Grafana/01.png" />

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

   <img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/02.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=4d5d72d9e499ccfc2ca783985009a2d1" alt="Untitled" width="1258" height="914" data-path="img/Grafana/02.png" />

#### Service Account Token

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

   <img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/03.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=69e06cabb513d887f56e52d01031f534" alt="Untitled" width="295" height="815" data-path="img/Grafana/03.png" />

2. Click **Add service account**.

   <img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/04.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=d8d7b9927a6c0cecc169cd218744c497" alt="Untitled" width="3814" height="1688" data-path="img/Grafana/04.png" />

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

   <img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/05.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=0b495f6a39ce22846da9a528f1eafc37" alt="Untitled" width="1302" height="626" data-path="img/Grafana/05.png" />

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

<img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/06.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=de5615b4f0e0eb8f645214089000459b" alt="Untitled" width="3196" height="872" data-path="img/Grafana/06.png" />

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

<img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/07.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=811cb210296766141e7d5ca9d64e42cc" alt="Untitled" width="1068" height="554" data-path="img/Grafana/07.png" />

6. Copy your new *Service Account Token*.

<img src="https://mintcdn.com/blinkops-2/ZY2pBQrNZsX_Fhhq/img/Grafana/08.png?fit=max&auto=format&n=ZY2pBQrNZsX_Fhhq&q=85&s=acc15d500621d6faa5e6b0a3ab2c9ce8" alt="Untitled" width="1074" height="466" data-path="img/Grafana/08.png" />

### 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.
