Skip to main content
Next, you’ll need to set up Upstash Redis for caching and queue management.
1

Create Upstash Redis database

In your Upstash account, create a new Redis database.
Upstash Redis database
2

Set up Upstash environment variables

Once your database is created, copy the UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN from the REST API section into your .env file as REDIS_URL and REDIS_TOKEN respectively.
Upstash Redis tokens
Navigate to the QStash tab and copy the QSTASH_TOKEN, QSTASH_CURRENT_SIGNING_KEY, and QSTASH_NEXT_SIGNING_KEY from the Request Builder section into your .env file.
Upstash QStash tokens

Next Steps

Once you’ve completed the Upstash setup, proceed to Step 3: Trigger.dev to set up workflow orchestration.