To use OAuth you can connect to Slack via the Trigger.dev web app. Click ‘Integrations’ in the side panel of any project, and configure Slack with the ID you want to use in your job and the required scopes.
Copy
Ask AI
import { Slack } from "@trigger.dev/slack";const slack = new Slack({ id: "slack",});