# Integrate Spike with Scalyr

### Service and integration <a href="#service-and-integration" id="service-and-integration"></a>

Make sure to add the Scalyr 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 webhooks with Scalyr

#### Step 1

Go to the Alerts page and add a new alert.

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

#### Step 2

Paste the following in the **Email/Webhook** field. Make sure to add your Spike webhook URL in place of **SPIKE\_URL**

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

```
webhook-trigger:POST 
SPIKE_URL[[{"trigger":#trigger#,"description":#description#,"title":#title#,"link":#link#,"id":#id#}]],
webhook-resolve:POST
SPIKE_URL[[{"trigger":#trigger#,"description":#description#,"title":#title#,"link":#link#,"id":#id#}]]
```


---

# 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-scalyr.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.
