> For the complete documentation index, see [llms.txt](https://docs.thingsup.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thingsup.io/connections/influxdb-connection.md).

# InfluxDB Connection

Integrate InfluxDB in your IoT Solution with Thingsup. Connect InfluxDB Databases and run queries to insert/get data via MQTT or HTTP APIs.

This provides a connection to User's InfluxDB Database. User need to provide following parameters to establish a connection to their InfluxDB database.

* **Host** - Public DNS/IP of InfluxDB Database
* **Port** - InfluxDB Port Number
* **Database** - InfluxDB Database Name
* **Username** - InfluxDB User
* **Password** - InfluxDB Password

![Add InfluxDB Connection](https://365492316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7aTljSjWsfbXZ_OP_9%2Fuploads%2FOvtqzC8hDeiPeyhImPzO%2FinfluxDBConn.png?alt=media\&token=2ef9544d-a493-4d65-8a1f-0f5731158f2e)

Please note the following points:

{% hint style="info" %}

* InfluxDB Versions 1.X are supported.
* localhost database is not supported. You can connect your local InfluxDB server with tunnelling service like [ngrok](https://ngrok.com)
  {% endhint %}
