Create a Redis database using the
Upstash Console or
Upstash CLI.Select the Global type to minimize the latency from all edge locations. Copy
the UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN to your .env file.You’ll find them under Details > REST API > .env.