# Telegraf Agent --> InfluxDB

With my influxDB + Grafana connection already set up, I just need to create an OPNsense bucket in my InfluxDB container and connect it to a Telegraf agent to my OPNsense set-up.

First, download the Telegraf plug in to your OPNsense machine. Navigate to System ---&gt; Firmware ---&gt; Plug-Ins and download Telegraf:

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

Once installed, navigate to Services ---&gt; Telegraf ---&gt; General and enable the agent:

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

Save settings, then navigate to Telegraf ---&gt; Output. Enable and enter connection information for your InfluxDB2 container:

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

Save settings, then navigate to your influxDB2 GUI and select your bucket to confirm you're receiving data:

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

All set, you can now start building your dashboard with Grafana!