How to authenticate with Trigger.dev so you can trigger tasks.
TRIGGER_SECRET_KEY
environment variable.
Each environment has its own secret key. You can find the value on the API keys page in the Trigger.dev dashboard:
TRIGGER_PREVIEW_BRANCH
environment variable as
well. You can find the value on the API keys page when you’re on the preview branch.TRIGGER_SECRET_KEY
environment variable. The SDK will automatically use this value when calling API methods (like trigger
).
TRIGGER_API_URL
.
https://api.trigger.dev
.
configure
method: