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

# Baidu Cloud BCM Integration

> Sync Baidu Cloud BCM alerts to Flashduty via webhook for automated alert noise reduction

Sync Baidu Cloud BCM alerts to Flashduty via webhook for automated alert noise reduction.

<div class="hide">
  ## In Flashduty

  ***

  You can obtain an integration push URL through either of these two methods:

  ### Using Private Integration

  Choose this simpler option when you don't need to route alerts to different channels.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Channel**, and enter a specific channel's details page
    2. Select the **Integrations** tab, click **Add Integration** to enter the integration page
    3. Choose **Baidu Cloud BCM** integration and click **Save** to generate a card
    4. Click the generated card to view the **push URL**, copy it for later use, and you're done
  </details>

  ### Using Shared Integration

  Choose this option when you need to route alerts to different channels based on the alert payload information.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Integration Center=>Alerts** to enter the integration selection page
    2. Select **Baidu Cloud BCM** integration:
       * **Integration Name**: Define a name for this integration
    3. Configure the default route and select the corresponding channel (after the integration is created, you can go to `Route` to configure more routing rules)
    4. Click **Save** and copy the newly generated **push URL** for later use
    5. Done
  </details>
</div>

## In Baidu Cloud BCM

***

<div class="md-block">
  1. Log in to your Baidu Cloud Console, search for the `Cloud Monitor` product, and enter its console
  2. Baidu Cloud provides multiple ways to configure alert callbacks, refer to the [official documentation](https://cloud.baidu.com/doc/BCM/s/bkdzl6d69) for details. Below demonstrates the configuration through the `Alert Management-Alert Policy` entry
  3. Go to the `Alert Management-Alert Policy` page, choose to edit an existing policy or create a new one
  4. In the alert policy, fill in the integration push URL in the `Callback URL` field (enter the integration name on the current page, and the URL will be generated after saving)

  <img src="https://download.flashcat.cloud/flashduty/doc/en/baidu/bcm-1.png" alt="drawing" width="500" />

  5. Done
</div>

## Status Mapping

***

<div class="md-block">
  Severity level mapping from Baidu Cloud Monitor to Flashduty:

  | BCM       | Flashduty | Status   |
  | --------- | --------- | -------- |
  | Severe    | Critical  | Critical |
  | Important | Critical  | Critical |
  | Warning   | Warning   | Warning  |
  | Notice    | Info      | Info     |
</div>
