> For the complete documentation index, see [llms.txt](https://support.incidents.cloud.solarwinds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.incidents.cloud.solarwinds.com/integrations/alert-source-integrations-native/ghost_inspector.md).

# Ghost Inspector

Follow the steps below to configure a Ghost Inspector service so an alert can be triggered whenever a UI test fails.

Squadcast will then process this information to create incidents for this service as per your preferences.

### Using Ghost Inspector as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

![](/files/ej4AI9zpOyFu5NZJCbwC)

2\. Select **Ghost Inspector**. Copy the displayed **Webhook URL** to [configure](#create-a-squadcast-webhook-in-ghost-inspector) it within **Ghost Inspector.** Finish by clicking **Add Alert Source** -> **Done**.

![](/files/nfOTQ9FDlhucrw6s481M)

{% hint style="warning" %}
**Important:**

When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create a Squadcast Webhook in Ghost Inspector

![](/files/jbcSRUSIznhKnSj89ruo)

Select Notifications panel from the account settings.

![](/files/rDrd6zdyKuTwAI1aTCV3)

In the notifications window, under **Webhooks**, choose **Yes** for Enabled and add the webhook URL from above and make sure Frequency is selected as **Send once if the test fails, then once when it passes again**, so the alerts can be **Auto-Resolved** in Squadcast when the test passes again.

![](/files/MuF5EuDKtTuSKiutfh68)

Go to your test suite settings and select the Notifications tab and make sure webhooks has **Use Organizational settings** enabled.

![](/files/fo6oK23t6JoTf3lj7kjJ)

![](/files/TzZFqSGTxuT86UDC3dBZ)

Also, make sure that **Use Suite settings is enabled** for webhooks in individual test settings.

![](/files/mhXUWZgIjq7fU9BtyQTH)

![](/files/SEHEvgk7g9yPOQ0ZqeQ2)

Alternatively, you can also choose to use different webhook URL's for different suites or tests and configure them to different services in Squadcast based on requirement.

The Ghost Inspector integration is good to go and if there are any failed UI tests, it will automatically trigger an incident in Squadcast and if the test passes again, the incident will get Auto-Resolved in Squadcast.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*


---

# 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://support.incidents.cloud.solarwinds.com/integrations/alert-source-integrations-native/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.
