dd-slack-integration
Datadog Slack integration
Connect Slack to Datadog in three user-driven moves: the workspace type they confirm, the OAuth grant on that Slack workspace, then the channel they pick, added through the Datadog API. Once a channel is connected, the user can talk to Datadog directly in Slack by mentioning @Datadog, and Datadog notifications can target that channel. This flow handles commercial Slack workspaces (slack.com) only.
The workspace choice, the OAuth grant and the channel choice are all the user's — this skill
never authorizes on their behalf, never picks a channel for them, and never writes
credentials. All Datadog API calls go through pup api, which authenticates with the
user's own session (a 403 means a missing permission; see Important Notes). Nothing
here waits on the user to report back: the connect is detected by a background poll.