Upstash has native integration with DigitalOcean Add-On
Marketplace.
Database Setup
Creating Upstash for Redis Database requires a DigitalOcean account. Login or Sign-up for DigitalOcean account. Then navigate the Upstash Redis Marketplace page. ClickAdd Upstash Redis
button. Now setup page will open and it will ask
Database Name / Plan / Region
info.

Add Upstash Redis
button.
Connecting to Database - SSO
After creating database, Overview/Details page will be opened. Environment variables can be shown in that page.
Create --> Droplets --> Marketplace Add-Ons
then
select the previously created Upstash Redis Addon.

Dashboard
link
when you create the Upstash addon.