> 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-spike-with-ghost-inspector.md).

# Integrate Spike with Ghost Inspector

<figure><img src="/files/ZAvBPDfp8QirejFWfTzE" alt=""><figcaption></figcaption></figure>

## Overview

[Ghost Inspector](https://ghostinspector.com) automates testing of websites and web applications. It allows you to create and manage tests that run directly in your browser, so you know that your site functions correctly after deployments, updates, and changes. Ghost Inspector simplifies the process of testing by automating repetitive tasks and providing detailed reports on any issues detected.

With Spike’s integration, you can receive real-time alerts for various incidents detected by Ghost Inspector, including:

* **Test Failures**: Alerts when automated tests fail, indicating potential issues with your website or application.
* **Step Failures**: Notifications when specific steps within a test do not complete successfully, helping you identify exactly where issues occur.
* **Suite Run Failures**: Alerts when an entire suite of tests fails, suggesting broader problems with your site or app.

This integration helps you stay on top of any issues in your web applications, allowing for immediate response and resolution.

{% hint style="info" %}
Spike will automatically group repeated incidents and also suppress alerts while incident is open. You can set up [alert rules](https://docs.spike.sh/alerts/alert-rules) to determine incident severity and take actions accordingly. Auto-resolution is not supported.
{% endhint %}

## Set up instructions

**Step 1:** Create a Ghost Inspector integration in the Spike dashboard and copy the webhook URL.

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

**Step 2:**

{% tabs %}
{% tab title="Setup on Ghost Inspector" %}

* **Access Test Settings:**
  * From your Ghost Inspector dashboard, select the test or suite you want to configure.
* **Configure Webhook Notifications:**
  * In the settings for your test or suite, find the section for Webhook Notifications.
  * **Paste the webhook URL** into the webhook field.
  * Configure any additional settings, such as when to trigger the webhook (e.g., on test failure, on suite run failure).
  * If available, set the `Content-Type` header to `"application/json"` for proper data formatting.
* **Save and Test:**
  * Save your settings and run a test (if option available)
    {% endtab %}
    {% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.spike.sh/integrations-guideline/integrate-spike-with-ghost-inspector.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
