# Redis URL

1\. Visit redis.com and either Log in or Sign up (If you don't have a redis account).

![Redis.com](https://telegra.ph/file/8e7ab6fe16c811eb95d44.jpg)

2\. Create a redis account. If you already have a redis account, skip to step 4.

![Create a redis account](https://telegra.ph/file/d0e4ca67786daa17715ff.jpg)

3\. Verify your email.

![Email verification](https://telegra.ph/file/019f129553cabb1c03021.jpg)

4\. Log in to your Redis account.

![Log in](https://telegra.ph/file/7a7a3dde863eecd029e3e.jpg)

5\. Select a cloud vendor and a server.

![Select Server](https://telegra.ph/file/1459e585a77391c0c18d9.jpg)

6\. Click on `Data Access Control` from the left panel and click on `Roles` then on `Add new role`.

![Select Roles menu](https://telegra.ph/file/6f0cf9f1f7ba7035477d1.jpg)

7\. Make a role by giving it a name. Then select the subscription that your database will be using also make sure to have `Full-Access` in Redis ACLs selection drop-down menu.

![Create a role](https://telegra.ph/file/d5500361d24bf598c915d.jpg)

8\. Click on `Data Access Control` from the left panel and click on `Users` then on `Add new role`.

![Select Users menu](https://telegra.ph/file/00f45ef22097a453f64d4.jpg)

9\. Create a user with `admin` role and type a `username` and `password` and remember both.

![Create a user](https://telegra.ph/file/10435965c650695af5723.jpg)

10\. Select `Subscritions` from the left panel and copy the `Endpoint` and the `database name`.

![Copy endpoint url](https://telegra.ph/file/d588c443b51e1d14fb100.jpg)

11\. Put your values in the following format, and you have your REDIS\_URL:

```
redis://<username of admin role>:<password of admin role>@<endoint url>/<database name>
```
