ToolJet/docs/versioned_docs/version-2.9.0/data-sources/redis.md
Shubhendra Singh Chauhan e9c7cdf57e
[docs] Appbuilder 1.1 (#6874)
* [docs] conditional action #6304

* [docs] plotly bar mode

* [docs] private app embed var

* [doc] table: selectedCell

* [doc]table nested data

* [doc]number-decimal

* [doc]buttontext

* [doc]boundedbox:default data

* [doc]multi-env updates

* [doc]version 2.9.0

* commented: PR5926

* commented: PR5296 minor change
2023-07-05 19:30:20 +05:30

44 lines
891 B
Markdown

---
id: redis
title: Redis
---
# Redis
ToolJet can run Redis commands on your Redis instances.
## Connection
ToolJet requires the following to connect to your Redis instances.
<img class="screenshot-full" src="/img/redis/connect.png" alt="ToolJet - Redis connection" height="250"/>
- **Host**
- **Port** - The default port for Redis server is 6379
- **Username**
- **Password**
Click on "Test" button to test the connection and click "Save" to save the data source.
## Redis Queries
List of supported commands: [Redis Official Documentation](https://redis.io/commands)
### Examples
`PING` command to test the Redis connection. If the connection is ready, the Redis server will respond with `PONG`.
```shell
PING
```
`SET` command can be used to set the value for a key
```shell
SET key value
```
`GET` command can be used to retrieve the value of a key
```shell
GET key
```