# Integrate Spike with Microsoft Azure

### Service and integration

Make sure to add the Azure integration and copy the webhook.

{% content-ref url="create-integration-and-service-on-dashboard" %}
[create-integration-and-service-on-dashboard](https://docs.spike.sh/integrations-guideline/create-integration-and-service-on-dashboard)
{% endcontent-ref %}

{% hint style="success" %}
Azure Integration on Spike is capable of integrating with Azure Services like [**VMs, Application Insights** and more](https://azure.microsoft.com/en-in/services/).
{% endhint %}

### Using Webhook with Azure

### **Step 1**

On [Azure Portal](https://portal.azure.com/#home) go to **Monitor**

![Select monitor](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-cb69a6c321ea5275f07d2a1a85a28344f5a56551%2Fazure-1.png?alt=media\&token=122043f8-914c-48dc-ac34-898e3ba50d9a)

### **Step 2**

On the Monitor dashboard, choose to **Create Alert**

![Hit create alert](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-62253268e961c4cc6f31aed7d86ccb7db03c05fc%2Fazure-2.png?alt=media\&token=6cceed3d-a5d6-48e5-a133-a1bfdd1c39d7)

### **Step 3**

![Select resources you would like to monitor](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-a990bab1a82fc20719bd9a190e44b1b430f8f257%2Fazure-3.png?alt=media\&token=c275c23b-486f-42bf-9ae1-58fd7669679e)

On the Create Alert dashboard, you will be asked to configure the categories:

1. **Select A Resource**\
   Choose a resource group you wish to monitor, for example, a Virtual Machine.
2. **Select A Condition**\
   Choose a condition at which you wish to trigger an alert
3. **Select Action Rule**\
   So, this is the main section which lets you integrate with webhooks. Azure allows you to paste a custom webhook URL to direct alerts to that server.

![Paste the webhook on Azure](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-199b7890bc87be334ab6893367b6ef27b0b2df81%2Fazure-4.png?alt=media\&token=4b4037a9-2aa5-427b-adaf-d391678e60c5)

### **Step 4**

Finally, add a **description** to your alert and choose the **severity** of the alert.

![Set alert rules](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-8ab97564a460d3de2c46f47200658d429d50c272%2Fazure-5.png?alt=media\&token=eda8eb59-2f7e-4f50-8108-0ed93a1c31e3)

In the advanced settings section, make sure to check both **enable upon creation** and **automatically resolve alerts**.

<figure><img src="https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-f5de8f4a7d22d4302881eac51daf1133ea74afae%2Fimage.png?alt=media&#x26;token=2c213173-6771-4293-b8e6-7700ea8d8eaf" alt=""><figcaption><p>Automatically resolve Aure alerts</p></figcaption></figure>

## FAQ

1. **How many services and integrations can I create on Spike?**
   * Unlimited
2. **How many escalation policies can I have on Spike?**
   * Unlimited

At Spike, we are working hard to integrate with all the tools your business uses. We are on a mission to help **you** identify incidents/crashes/spikes before your customers do.

If you have any integration in mind and would like us to build it for you then contact us at [support@spike.sh.](mailto:support@spike.sh)
