# Kentik

[<mark style="color:blue;">Kentik</mark>](https://kentik.com/) is a network observability solution that empowers network pros to plan, run, and fix any network.

Maintain stable, reliable applications with automated testing and AI.

## How to integrate Kentik with Squadcast

### In Squadcast: Using Kentik 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**.

<figure><img src="/files/ej4AI9zpOyFu5NZJCbwC" alt="How to configure Kentik integration in Squadcast" width="563"><figcaption></figcaption></figure>

2\. Select **Kentik**. Copy the displayed **Webhook URL** to [configure](#in-kentik-create-a-squadcast-webhook-as-a-notification-channel) it within **Kentik.** Finish by clicking **Add Alert Source** -> **Done**.

<figure><img src="/files/5DQGSPIYogvJUOduigAX" alt="Steps to add Kentik integration to a service in Squadcast" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>**:**

When an alert source turns <mark style="color:green;">Active</mark>, 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 <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### In Kentik: Create a Squadcast Webhook as a Notification Channel

1. Login to your Kentik dashboard, click on the top left **Navigation Button** and select **Integrations**

<figure><img src="/files/huyWv6Qp1jSd59eHfrxm" alt="Add Notification Channels for Kentik incidents" height="150" width="500"><figcaption></figcaption></figure>

2. Click on **Custom Webhooks** under the **Notification Channels**

<figure><img src="/files/RugAXJplNUQ9V0YjiBnh" alt="Click on Webhooks" height="150" width="500"><figcaption></figcaption></figure>

3. Click on **Add Notification Channel**

<figure><img src="/files/EAPkIlzOUPEpqFMihxgE" alt="Click on add notification channel" height="150" width="500"><figcaption></figcaption></figure>

4. Enter the notification channel `Name` as **Squadcast**, `Type` as **Custom Webhook**, paste the Webhook`URL` we have earlier copied from the Squadcast service. Under the `Custom Template` section, paste the following code:

```
{
  "Events": [
    {{- range $index, $event := .Events -}}
      {{- join $index -}}
      {
        {{- . | j | x -}},
        {{- .Details.ToMap | j | x -}}
      }
    {{- end -}}
  ]
}
```

<figure><img src="/files/FjOKgVbQbznckeC0gaqg" alt="Enter the details and click on add notification channel" height="200" width="500"><figcaption></figcaption></figure>

5. Click on **Add Notification Channel** and use this custom webhook to send all alert data to Squadcast.

Now, whenever an alert is triggered in Kenitk, an incident will be created in Squadcast.

* When it is resolved in Kentik, it will automatically get Resolved in Squadcast.
* **Note:** Sending a Test Incident from Kentik to Squadcast is not supported.

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


---

# 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://support.squadcast.com/integrations/alert-source-integrations-native/kentik.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.
