> For the complete documentation index, see [llms.txt](https://docs.flowiseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowiseai.com/integrations/langchain/vector-stores/redis.md).

# Redis

## Prerequisite

1. Spin up a [Redis-Stack Server](https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/) using Docker

```bash
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
```

## Setup

1. Add a new **Redis** node on canvas.
2. Create new Redis credential.

<figure><img src="/files/EbHctm4oqo3T4pJUhBdW" alt="" width="257"><figcaption></figcaption></figure>

3. Select type of Redis Credential. Choose Redis API if you have username and password, otherwise Redis URL:

<figure><img src="/files/p554dGNzUkWjZiia2n7G" alt="" width="563"><figcaption></figcaption></figure>

4. Fill in the url:

<figure><img src="/files/ILwBHascYfi6MwKc6Mlo" alt="" width="542"><figcaption></figcaption></figure>

5. Now you can start upserting data with Redis:

<figure><img src="/files/OiURbZzq3kRN2tBZm8m8" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ndNjJBEjJt1nRmHFuiTN" alt=""><figcaption></figcaption></figure>

6. Navigate to Redis Insight portal, and to your database, you will be able to see all the data that has been upserted:

<figure><img src="/files/g5B5jPI0gNYBOuKzPdBJ" alt=""><figcaption></figcaption></figure>
