> For the complete documentation index, see [llms.txt](https://docs.spoof.dev/asteroid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spoof.dev/asteroid/setup/features/asteroid-proxy/redisdb-+-lettuce.md).

# RedisDB + Lettuce

Watch the following tutorial (only the Redis database creation part). After that, complete the Redis URI configuration in your config file.

{% embed url="<https://www.youtube.com/watch?t=4s&v=TYjgLgJMslc>" %}

\
**Step 1: Create a Redis Database on RedisLabs**

<figure><img src="/files/1I4rZxHoTfXp2tDkxbLK" alt=""><figcaption></figcaption></figure>

#### Step 2: Access Connection Details

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

**Step 3: Get Your Connection URI (after copying it, remove default and add /0 at the end, so the redis uri will be "redis\://password\@host:port/0")**

<figure><img src="/files/9fhnyNG7Byy3czerkQot" alt=""><figcaption></figcaption></figure>

After you've created a Redis database, complete the Redis URI in the proxy section of your main configuration file:

1. Ensure `storage` is set to either `"redis"` or `"lettuce"` (if "redis" doesn't work, try "lettuce" as it usually works reliably)
2. Set `redis -> uri:` to the URI you copied from RedisLabs
3. This configuration works with both BungeeCord and Velocity proxies
