> 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/kentik.md).

# Kentik

Efficiently manage incidents with Kentik integration. Our step-by-step guide configures Kentik for optimal incident response using Squadcast.

[<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="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media&amp;token=aaca6610-9d18-4dd4-9cf5-320042f326f1" 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="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-7ce89f444331ee39b14e260d7de2b824e7115f76%2Fkentik_1.png?alt=media" 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="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-2bf76d5585c9ea1b3cfe55a197a76ff4b7fb8e71%2Fkentik_2.png?alt=media" 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="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-2469f9fab474c6189331b9a097c74418e91e1326%2Fkentik_3.png?alt=media" alt="Click on Webhooks" height="150" width="500"><figcaption></figcaption></figure>

3. Click on **Add Notification Channel**

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-049c0f0493da5c6d7cffc1252bc09202a6115f36%2Fkentik_4.png?alt=media" 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="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-642520e4e3eca6b7c051aa85d1b05a16af99346e%2Fkentik_5.png?alt=media" 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)*.*
