# Integrate Spike with Sumo Logic

### Service and integration

Make sure to add the Sumo Logic 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 Sumo Logic

**Step 1**

Navigate to the alerts page and open the connections tab.

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

**Step 2**

Select the webhook connection type.

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

**Step 3**

Paste the Spike webhook URL and the JSON provided below.

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

```
{
    "Name": "{{Name}}",
    "Description": "{{Description}}",
    "MonitorType": "{{MonitorType}}",
    "Query": "{{Query}}",
    "QueryURL": "{{QueryURL}}",
    "ResultsJson": "{{ResultsJson}}",
    "NumQueryResults": "{{NumQueryResults}}",
    "Id": "{{Id}}",
    "DetectionMethod": "{{DetectionMethod}}",
    "TriggerType": "{{TriggerType}}",
    "TriggerTimeRange": "{{TriggerTimeRange}}",
    "TriggerTime": "{{TriggerTime}}",
    "TriggerCondition": "{{TriggerCondition}}",
    "TriggerValue": "{{TriggerValue}}",
    "TriggerTimeStart": "{{TriggerTimeStart}}",
    "TriggerTimeEnd": "{{TriggerTimeEnd}}",
    "SourceURL": "{{SourceURL}}"
}
```
