{% hint style="warning" %} The following document assumes that you understand the basics of connecting to databases on Appsmith. If not, please go over them before reading further. {% endhint %}
Appsmith needs the following information to connect to a Redis instance.
After filling up the three fields as described above, click on the "Test" button to verify the configuration and click "Save".
The Redis query pane can be used to run any of the commands supported by Redis. The response from this command is displayed in the result window. Please refer to the official documentation for the list of commands that are supported. A few examples are listed below.
The connection to a Redis instance can be verified using a simple PING
command.
PING
A new key value pair can be inserted into the cache using the SET
command as follows.
SET key_name new_value
Stored key value pairs can be retrieved using the GET
command.
GET key_name
Once you have successfully run a Query, you can use it in your application to