# Redis

## Prerequisitos

1. Inicia un [Redis-Stack Server](https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/) usando Docker

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

## Configuración

1. Añade un nuevo nodo **Redis** en el canvas.
2. Crea una nueva credencial de Redis.

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

3. Selecciona el tipo de credencial de Redis. Elige Redis API si tienes nombre de usuario y contraseña, de lo contrario elige Redis URL:

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

4. Completa la URL:

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

5. Ahora puedes comenzar a hacer upsert de datos con Redis:

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

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

6. Navega al portal de Redis Insight, y en tu base de datos, podrás ver todos los datos que se han insertado:

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowiseai.com/espanol/documentacion-oficial/integraciones/langchain/vector-stores/redis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
