# Redis Connection

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

* **Host** - Public DNS/IP of Redis Database
* **Port** - Redis Port Number
* **Database** - Database Number 0-15
* **Mode** - Redis Server Type Single/Cluster
* **Password** - Redis Authentication Key

![Add Redis Connection](https://365492316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7aTljSjWsfbXZ_OP_9%2Fuploads%2Fye0RqKLR7rDqcBqE7Asb%2FredisConn.png?alt=media\&token=2e29b3f5-bfd5-449d-b12a-601ed5dc0704)

Please note the following points:

{% hint style="info" %}

* Database number is not applicable in Cluster Mode.
* localhost database is not supported. You can connect your local Redis server with tunneling service like [ngrok](https://ngrok.com)
  {% endhint %}
