

# Connecting Slack


You can configure AWS DevOps Agent to update a Slack channel 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


![\[alt text not found\]](http://docs.aws.amazon.com/devopsagent/latest/userguide/images/4034f56fad96.png)


1. From the **Capability Providers** page in the AWS DevOps Agent console, find **Slack** in the **Available** providers section under **Communication** and click **Register**.

1. Choose the **Register** button.

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

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

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

1. Install per workspace as needed for your organization.

1. Review the requested scopes and click **Allow** to authorize the integration.

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

## Associate Slack with your DevOps Agent Space(s)


After registering Slack in your DevOps Agent Space, you can associate it with your DevOps Agent Space(s):

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

1. Select **Add Slack **

1. Enter the Channel ID

1. 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.