--- title: "API keys" description: "How to authenticate with Trigger.dev so you can trigger tasks." --- ### Authentication and your secret keys When you [trigger a task](/v3/triggering) from your backend code, you need to set the `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: ![How to find your secret key](/images/v3/api-keys.png)