bash npm install @upstash/workflow
.env
file in your project root and add your QStash token. This key is used to authenticate your application with the QStash service.
QSTASH_URL
and QSTASH_TOKEN
values in the console. Add these values to your .env
file:
QSTASH_TOKEN
from the Upstash Console..env
file with the following:***
with your actual QStash token.UPSTASH_WORKFLOW_URL
to the public URL provided by your local tunnel.src/index.ts
) and add the following code:
Content-Type: application/json
header. Other payload types are not supported yet..env
file are set in your Vercel project settings. For example, your QSTASH_TOKEN
, and any other configuration variables your workflow might need.