saleor-apps-redis_apl/apps/slack/docs/upstash.md
Lukasz Ostrowski 77538e49f7
Add slack app (#120)
* add slack app

* Update eslint

* Remove gitignore
2023-02-09 11:58:20 +01:00

17 lines
504 B
Markdown

# How to configure Upstash
## Get credentials from Upstash
Create or login to [Upstash](https://upstash.com/). In your [console](https://console.upstash.com/) select Redis database. On `Details` page scroll down to `REST API` section and copy `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN`.
![](images/upstash.jpg)
## Create env file
Create `.env.local` file with Upstash APL env variables.
```
APL=upstash
UPSTASH_URL=<UPSTASH_REDIS_REST_URL>
UPSTASH_TOKEN=<UPSTASH_REDIS_REST_TOKEN>
```