

# Configuring Amazon Q Developer in chat applications to send notifications about events in Amazon Health
Configuring Amazon Q Developer in chat applications to send notifications about events

You can receive Amazon Health events directly in your chat clients, such as Slack and Amazon Chime. You can use this event to identify recent Amazon service issues that might affect your Amazon applications and infrastructure. Then, you can sign in to your [Amazon Health Dashboard](https://health.aws.amazon.com/health/home) to learn more about the update. For example, if you're monitoring for the `AWS_EC2_INSTANCE_STOP_SCHEDULED` event type in your Amazon account, the Amazon Health event can appear directly to your Slack channel.

## Prerequisites


Before you get started, you must have the following:
+ A chat client configured with Amazon Q Developer in chat applications. You can configure Amazon Chime and Slack. For more information, see [Getting started with Amazon Q Developer in chat applications](https://docs.amazonaws.cn//chatbot/latest/adminguide/getting-started.html) in the *Amazon Q Developer in chat applications Administrator Guide*.
+ An Amazon SNS topic that you created and to which you're subscribed. If you already have an SNS topic, you can use an existing one. For more information, see [Getting started with Amazon SNS](https://docs.amazonaws.cn/sns/latest/dg/sns-getting-started.html) in the *Amazon Simple Notification Service Developer Guide*.

**To receive Amazon Health events with Amazon Q Developer in chat applications**

1. Follow the procedure in [Configuring an EventBridge rule to send notifications about events in Amazon Health](creating-event-bridge-events-rule-for-aws-health.md) through step 13.

   1. When you finish setting up the event pattern in step 13, add a comma to the last line of the pattern, and add the following line to remove unnecessary chat messages from paginated Amazon Health events. See [Viewing paginated lists of Amazon Health events on EventBridge](pagnation-of-health-events.md).

      `"detail.page": ["1"]`

   1. When you choose the target in step 16, choose an SNS topic. You will use this same SNS topic in the Amazon Q Developer in chat applications console.

   1. Complete the rest of the procedure to create the rule.

1. Navigate to the [Amazon Q Developer in chat applications console](https://console.amazonaws.cn/chatbot).

1. Choose your chat client, such as your Slack channel name, and then choose **Edit**. 

1. In the **Notifications - optional** section, for **Topics**, choose the same SNS topic that you specified in step 1.

1. Choose **Save**.

   When Amazon Health sends an event to EventBridge that matches your rule, the Amazon Health event will appear in your chat client. 

1. Choose the event name to see more information in your Amazon Health Dashboard.