Sending notifications to Slack channels - Amazon CodeCatalyst

Sending notifications to Slack channels

You can configure CodeCatalyst to send notifications about project events to your team's Slack channels. By doing this, you can help ensure that your entire team is aware of important events, such as when a workflow run fails.

Note

Any member of a project can manage notifications sent to channels for that project. However, only users with the Space administrator role can add or delete Slack workspaces.

Use the following instructions to add a Slack channel to which notifications will be sent.

To add a Slack channel for notifications
  1. If you're adding your first Slack channel, see instead Getting started with Slack notifications.

    After setting up your first channel, return to this procedure to set up additional channels.

  2. Open the CodeCatalyst console at https://codecatalyst.aws/.

  3. Navigate to your project.

  4. In the navigation pane, choose Project settings.

  5. Choose the Notifications tab.

  6. Choose Add channel.

  7. Choose Choose workspace, and then select the Slack workspace that contains the channel where you want to send notifications.

    If your Slack workspace is not in the list, you can add it by following the instructions in Getting started with Slack notifications.

  8. Before entering a Channel ID, if the Slack channel you want to add is private, complete these steps:

    1. In your Slack channel’s message box, enter @aws and choose aws app from the pop-up.

    2. Press Enter.

      A Slackbot message appears, indicating that AWS Chatbot is not in the private channel.

    3. Choose Invite Them to invite AWS Chatbot to the channel.

  9. In CodeCatalyst's Channel ID field, enter the Slack channel ID. To find the ID, go to Slack, and in the navigation pane, right-click the channel and choose Open channel details.

    The channel ID is displayed at the bottom of the dialog box.

  10. In Channel name, enter a name. We recommend using the Slack channel name.

  11. In Select notification events, choose the type of event you want to receive notifications for.

  12. Choose Add.