> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getdecipher.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Alerts

> Decipher allows configuring alerts to be notified when there are issues.

> Please make sure [you've set Decipher up](/pages/browser-quickstart) in your application before continuing.

## Create a Replay Issue Alert

Go to the [Alerts](https://app.getdecipher.com/alerts) page.

1. Click the <b>+</b> button and choose <b>Replay Issue Alerts</b>
2. Enter an alert name
3. Click <b>Add Condition</b> and select filters (e.g., <b>Group</b>, URL, Roles, Frequency)
4. At the bottom, pick notification methods: <b>via email</b>, <b>via Slack</b>, or both
5. If using email, select an email <b>summary frequency</b> after adding at least one address
6. Click <b>Save Alert</b>

<Tip>
  You can set up multiple alert definitions with different filter sets and Slack channels.
</Tip>

## Conditions

When you set up a Slack channel, you can add conditions to limit which issues trigger that alert. Multiple conditions are combined with AND logic.

| Filter                    | What it does                                                                                                         |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Group                     | Trigger alerts for a specific Group you’ve created and selected.                                                     |
| URL patterns              | Match issues whose page URL contains any of the specified substrings (e.g., `/checkout`, `/api/payments`).           |
| User roles                | Restrict to users with specific roles configured via your SDK initialization.                                        |
| User plans                | Alert only for users on selected subscription plans.                                                                 |
| Accounts                  | Include specific accounts and optionally toggle priority accounts from settings.                                     |
| Projects                  | Limit alerts to particular projects within your org.                                                                 |
| Issue frequency threshold | Alert when the number of issue instances reaches a threshold within a time window (30 minutes, 1 hour, or 24 hours). |

<Tip>
  Use a small set of precise URL patterns and add a frequency threshold to cut noise during spikes.
</Tip>

## Integrations

<AccordionGroup>
  <Accordion title="Slack" defaultOpen="false">
    1. Navigate to **Integrations** using the sidebar and click **Connect Slack**
    2. For private channels: Use the Slack command `/invite @Decipher Alerts`

    Public channels are automatically accessible after connecting.
  </Accordion>

  <Accordion title="Discord" defaultOpen="false">
    1. Go to the Discord channel where you want to receive Decipher AI alert notifications.
    2. From the channel menu, choose **Edit Channel**.
    3. Click on **Integrations**.
    4. If there are no webhooks set up, click **Create Webhook**. Otherwise, select **View Webhooks** and then click **New Webhook**.
    5. Enter a name for the bot that will send the messages.
    6. (Optional) Modify the bot's avatar if desired.
    7. Copy the URL from the **WEBHOOK URL** field.
    8. Click **Save**.

    On the Decipher Alerts page, click the **Integrate Discord Alerts** and provide Decipher with your Webhook URL.

    That's it! Decipher will now send alerts to this channel.
  </Accordion>
</AccordionGroup>
