> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/chatflows/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/zFF1Wu3qQCPdWmPlIAY6" 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/9M0BDQZDKDzhqRIRJPKv" alt="" width="563"><figcaption></figcaption></figure>

4. Fill in the url:

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

5. Now you can start upserting data with Redis:

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

<figure><img src="/files/mCd5kvKI6HITOMFNnLzV" 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/CQZ414W2wNil8SZQG3Tv" alt=""><figcaption></figcaption></figure>
