# CloudAMQP

[<mark style="color:blue;">CloudAMQP</mark>](https://www.cloudamqp.com/) is a managed service that provides hosted RabbitMQ clusters on cloud platforms like Amazon Web Services (AWS), Google Cloud Platform (GCP), and Microsoft Azure.

Route detailed alerts from CloudAMQP to the right users in Squadcast.

### Using CloudAMQP as an Alert Source

**(1)** From the navigation bar on the left, select **Services**. Pick the applicable **Team** from the Team-picker on the top. Next, click on **Alert Sources** for the applicable Service

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media&#x26;token=aaca6610-9d18-4dd4-9cf5-320042f326f1" alt="How to configure CloudAMQP integration in Squadcast" width="563"><figcaption></figcaption></figure>

**(2)** Search for **CloudAMQP** from the Alert Source drop-down and copy the Webhook URL

<figure><img src="https://github.com/solarwinds-cloud/sq-Gitbook/blob/main/.gitbook/assets/CloudAMQP.png" alt="Steps to add CloudAMQP integration to a service in Squadcast" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>**:**

For an Alert Source to turn <mark style="color:green;">active</mark> (indicated by a **green dot - Receiving alerts** against the name of the Alert Source in the drop-down), you can either generate a test alert or wait for a real-time alert to be generated by the Alert Source.

An Alert Source is <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service in the last 30 days.
{% endhint %}

### Create a Squadcast Webhook Alert in Better Uptime

**(1)** Login to your CloudAMQP dashboard. Navigate to the **Monitoring** section and then click on **Alarms**

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-b5e7f36726849b2c995802b0e6600c79f69956b1%2FCloudAMQP1.png?alt=media" alt="Creating Squadcast Webhook Alert in Better Uptime: Access dashboard, go to Integrations, and click on Exporting data." width="563"><figcaption></figcaption></figure>

**(2)** Under Notification recipients select **Add new recipient** and choose **Web hook**.

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-76181fa750439315138bb6c41589414d2a3955b5%2FCloudAMQP2.png?alt=media" alt="Creating Squadcast Webhook Alert in Better Uptime: Access dashboard, go to Integrations, and click on Exporting data and select Configure webhooks and click on Configure." width="563"><figcaption></figcaption></figure>

**(3)** Add a name and paste the Webhook URL copied from Squadcast inside the Webhook URL section and click on Create recipient.

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-7580a33f85b1e1def64d7301447201e4f2874399%2FCloudAMQP3.png?alt=media" alt="Creating Squadcast Webhook Alert in Better Uptime: Add Squadcast Webhook URL to Incident and Monitor webhook sections" width="563"><figcaption></figcaption></figure>

**(4)** While you create new alarms from the **Alarms** section you can add the new Squadcast Webhook as the recipient.

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-f522598156f673720a230e9db4e020b87a6e62e3%2FCloudAMQP4.png?alt=media" alt="Creating Squadcast Webhook Alert in Better Uptime: Add Squadcast Webhook URL to Incident and Monitor webhook sections" width="563"><figcaption></figcaption></figure>

That's it, you are good to go! Your CloudAMQP integration is now complete.

Whenever CloudAMQP fires an alert, an incident will be created in Squadcast for it. Also, when an alert is resolved in CloudAMQP, the corresponding incident gets **auto-resolved** in Squadcast.
