# Grafana Container - Docker

# Set Up & Data Collection

Deploy your container, the log into the Web GUI. The navigate to Home ---&gt; Connections ---&gt; InfluxDB:

[![image.png](https://austinhomelabs.com/uploads/images/gallery/2024-03/scaled-1680-/7dSlCiVomKj4xEIE-image.png)](https://austinhomelabs.com/uploads/images/gallery/2024-03/7dSlCiVomKj4xEIE-image.png)

Select "Add new Data Source" then follow the below steps to establish connection to your InfluxDB:

- Change Query Language from Influxdb to Flux
- Enter [http://localhost:8086](http://localhost:8086) as the URL 
    - Make sure your containers are running on the same network. You can verify this via the Portainer Web GUI
- Enter your Influxdb details, and then save&amp;test

[![image.png](https://austinhomelabs.com/uploads/images/gallery/2024-03/scaled-1680-/NgA3Ax6moULirGx3-image.png)](https://austinhomelabs.com/uploads/images/gallery/2024-03/NgA3Ax6moULirGx3-image.png)

If your connection is successful, you'll see the following message display:

[![image.png](https://austinhomelabs.com/uploads/images/gallery/2024-03/scaled-1680-/rJmQuvSP7voS6CFS-image.png)](https://austinhomelabs.com/uploads/images/gallery/2024-03/rJmQuvSP7voS6CFS-image.png)