# InfluxDB Connection

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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thingsup.io/connections/influxdb-connection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
