View a markdown version of this page

Connecting Slack - AWS DevOps Agent

Connecting Slack

You can configure AWS DevOps Agent to update Slack channels you select with incident response investigation key findings, root cause analyses, and generated mitigation plans.

Before you begin

Slack needs to be registered with DevOps Agent before it can be added to an Agent Space. To integrate AWS DevOps Agent with Slack you must meet these requirements:

  • Have access to a Slack workspace with the ability to install and authorize third-party applications

  • Have identified the Slack channels where you want AWS DevOps Agent to send notifications

Register Slack integration with AWS DevOps Agent

Each registration connects to one Slack workspace. To connect multiple workspaces, repeat this process for each one.

Register Slack with AWS DevOps Agent page showing installation steps and authorization section.
  1. From the Capability Providers page in the AWS DevOps Agent console, find Slack in the Available providers section under Communication and choose Register.

  2. Choose the Register button.

  3. You will be redirected to Slack to authorize the AWS DevOps Agent application for your workspace.

  4. On the Slack authorization page, install directly to workspaces, not at the organization level.

  5. Choose a workspace from the dropdown. Do not select an Enterprise Grid.

  6. Install per workspace as needed for your organization.

  7. Review the requested scopes and choose Allow to authorize the integration.

  8. After authorization, you'll return to the AWS DevOps Agent console.

Associate Slack with your DevOps Agent Space(s)

After registering Slack, you can associate one or more channels with your DevOps Agent Space(s). Repeat these steps for each channel you want to add:

  1. From the Capabilities tab within your configured AgentSpace, navigate to Communications > Slack.

  2. Select Add Slack

  3. Enter the Channel ID

  4. Choose Create to complete the Slack configuration.

Note

The agent’s bot user must be added to private channels before it can post messages.

Important

Uninstalling the Slack app may result in the Slack app not being able to be reinstalled. Please avoid uninstalling the Slack app.