# 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="https://4195567042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpRR1OEuNyGq1PGnHucUc%2Fuploads%2FwSiSqNUbIJq0Brut7Z1s%2Fimage.png?alt=media&#x26;token=db319de2-5316-42a5-8c64-30b3f4f5247c" alt=""><figcaption></figcaption></figure>

#### Step 2: Access Connection Details

<figure><img src="https://4195567042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpRR1OEuNyGq1PGnHucUc%2Fuploads%2F9n326JDGzT5vXvOISECP%2Fimage.png?alt=media&#x26;token=cf66413f-685b-46e8-99a1-d6cb3c039abd" 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="https://4195567042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpRR1OEuNyGq1PGnHucUc%2Fuploads%2FXQ13yOQXH5JSLrhanFIV%2Fimage.png?alt=media&#x26;token=8aba19e3-a1bc-4fa1-b49d-742f65e2d8f7" 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
