Skip to main content

Redis

ToolJet can run Redis commands on your Redis instances.

Connection#

ToolJet requires the following to connect to your Redis instances.

ToolJet - Redis connection
  • 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 datasource.

Redis Queries#

List of supported commands: Redis Official Documentation

Examples#

PING command to test the Redis connection. If the connection is ready, the Redis server will respond with PONG.

PING

SET command can be used to set the value for a key

SET key value

GET command can be used to retrieve the value of a key

GET key