Skip to content

Commit ce04d9b

Browse files
committed
docs: verify the production Slack request URL after adding its secret
1 parent b3d2887 commit ce04d9b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎docs/guides/example-projects/resend-email-agent.mdx‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ You need a Trigger.dev project, a Resend inbox on a verified domain, a Slack wor
134134

135135
To deploy, run `npx trigger.dev@latest deploy`. Production has its own `resend` and `slack` endpoints, with their own URLs and secrets:
136136

137-
1. Create a second Slack app from the manifest with the production `slack` URL, install it, and use its bot token as `SLACK_BOT_TOKEN` in production. A Slack app sends its clicks and replies to one URL, so dev and production each need their own app.
138-
2. Point a Resend webhook at the production `resend` URL. Disable or delete the dev webhook, or use a separate inbox for dev, so the same email doesn't get drafted twice.
139-
3. Paste each signing secret into the matching production endpoint. Until then, the endpoint shows "Needs secret" on the Webhooks page.
140-
4. Set the other environment variables on your production environment as in dev.
137+
1. **Slack:** create a second Slack app from the manifest with the production `slack` URL. Paste its Signing Secret into the production `slack` endpoint, then click **Verify** in the app's Event Subscriptions. Install the app and use its bot token as `SLACK_BOT_TOKEN` in production. A Slack app sends its clicks and replies to one URL, so dev and production each need their own app.
138+
2. **Resend:** point a Resend webhook at the production `resend` URL and paste its signing secret into the production `resend` endpoint. Disable or delete the dev webhook, or use a separate inbox for dev, so the same email doesn't get drafted twice.
139+
3. Set the other environment variables on your production environment as in dev.
140+
141+
An endpoint without its secret shows "Needs secret" on the Webhooks page.
141142

142143
## Relevant code
143144

0 commit comments

Comments
 (0)