# Integrate Spike with Prometheus

### Service and integration

Make sure to add the Prometheus 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 %}

###

### Using the Webhook with Prometheus

### Step 1

Download **Prometheus** and **Alert Monitor** from the [download page](https://prometheus.io/download/) and unzip it.

### Step 2

In the Prometheus folder, configure the `prometheus.yml` file as below.

![prometheus.yml](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-30b2744a4be466d282dbe00b68b248a327a55a1a%2Fprometheus-1.png?alt=media)

### Step 3

Configure the `alertmanager.yml` file under alertmaager folder and paste the spike webhook as highlighted.

![alertmanager.yml](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-898340a088fa71028c4cd57fdf7e62d80e2d1e0f%2Fpromethues-2.png?alt=media)

{% hint style="success" %}
This integration auto resolves itself
{% endhint %}

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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spike.sh/integrations-guideline/integrate-spike-with-prometheus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
