> For the complete documentation index, see [llms.txt](https://docs.spike.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spike.sh/integrations-guideline/integrate-google-cloud-with-spike.md).

# Integrate Spike with Google Cloud

## Service and Integration

Make sure you have the service and integration already setup for Google Cloud. Follow the link below on instructions of how to create integration and service

{% content-ref url="/pages/-Ln3rb4wLUFeI-OAPcmq" %}
[Create integration and service on our dashboard](/integrations-guideline/create-integration-and-service-on-dashboard.md)
{% endcontent-ref %}

## Use the webhook on Google Cloud

We will create a webhook on Stackdriver to integrate directly with Spike. There is no limit to the number of Spike's webhooks you can add on Google Cloud

{% hint style="success" %}
Updated Google Cloud integration docs on 8th May 2020.
{% endhint %}

Login to your [Google Cloud console](https://console.cloud.google.com/) and find [Monitoring](https://console.cloud.google.com/monitoring) on the sidebar

![Select alerting in Monitoring sub menu](/files/-M6o5IHlWivXR7XjD4cH)

![Click on edit notification channel](/files/-M6o5W71wKt8ku7Y9CFB)

![Select webhook](/files/-M6o5W73rfJOVRBfJxSp)

![Paste the webhook and give an appropriate name](/files/-M6o5W74Flf6UGBWWAHJ)

Enter the webhook you copied earlier.

{% hint style="info" %}
Optional: You can choose to have Basic Auth enabled. Every Google Cloud integration will have a unique username password combination.
{% endhint %}

**Hit Test Connection and Save**

{% hint style="info" %}
Testing your webhook will create a test incident. Resolve the test incident immediately. This test incident will not have any metrics though.
{% endhint %}

{% hint style="danger" %}
If it fails, make sure you have pasted the right username and password. Refresh the page after a few tries. We are always available on the Live chat on your dashboard. You can also reach out to us on <support@spike.sh>
{% endhint %}

![Create a new policy](/files/-M6o5W75mktzPWswW6sQ)

Go to the [monitoring section](https://console.cloud.google.com/monitoring) again and click on Create policy.

![Add your conditions for alerts and select notification channel](/files/-M6o6UYHjOqKhGZzUYLB)

![Select the notification channel we just created](/files/-M6o6rVOGOqMuu9o3pK_)

{% hint style="info" %}
For your existing policies, you can simply edit and choose the same steps mentioned
{% endhint %}

Inside of Notifications, click on the dropdown menu and select **Webhook with Basic Authentication**.

## FAQ

1. **How many services and integrations can I create on Spike?**
   * Unlimited
2. **How many escalation policies can I have on Spike?**
   * Unlimited
3. **How many SNS topics can I create on AWS?**
   * 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)
