# Conviva

[<mark style="color:blue;">Conviva</mark>](https://www.conviva.com/) is a streaming-video intelligence platform that provides metrics and analytics for better video optimization.

Route detailed alerts from Conviva to the right users in Squadcast.

### How to integrate Conviva with Squadcast

### In Squadcast: Adding Conviva 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**.

![](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\&token=aaca6610-9d18-4dd4-9cf5-320042f326f1)

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

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-ddde3cf906f111e5218a48417673fc60ff04db24%2FConviva.png?alt=media\&token=ba2ad67e-9376-4c91-9053-58ccf1c5aebb)

{% 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 Conviva: Create a Squadcast Webhook as a Notification Channel

**(1)** Log in to your Conviva web console, go to the **Settings** menu of your project and click on **Notification Channels**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-b88668b278c34dda327e9f0b3b4c226d57554e1e%2Fconviva_2.png?alt=media\&token=965f0bd2-b3db-4a47-8d4d-3c88fe1fac2a)

**(2)** Click on the **Alerts** tab to display the existing list of Webhooks

**(3)** Click on the **Add Webhook** button. If no webhooks are configured, a message prompt will appear

**(4)** Click on the **Add** button to go to the **Add Webhooks** page so you can configure webhooks

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-7c970d1cde9c59508552ace323181455e6dc12c8%2Fconviva_3.png?alt=media\&token=185360db-8651-4c8f-925d-0785a3d0d750)

**(5)** Enter a **Webhook Name**, an **Email** to notify users when an issue occurs with the Webhook notification, and the **Webhook URL** that was copied from the Squadcast Services page

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-9bb0fb81247240e08bdffb986ea034b56dd85290%2Fconviva_4.png?alt=media\&token=387f4f68-2c09-448d-87d7-ee218829152c)

**(6)** Next set the **alert type(s)** to include in the webhook payload and the relevant information to be included in the payload for each alert type that is configured.

In this screenshot, we have checked to include both **AI Alerts** and **Manual Alerts**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-5ebc8eee7ac396bf80f95228fa67c99b32c4b085%2Fconviva_5.png?alt=media\&token=ba86346d-e6d0-4893-8db3-eb49088dd46d)

**(7)** Test the Webhook and then click on the **Add Webhook** button to save the Webhook configuration

Now when an event is triggered in Conviva, an incident will be created automatically in Squadcast.

{% hint style="info" %}
**Auto-resolve**

Today, Conviva does not support the auto-resolve functionality due to which, it is unavailable in Squadcast.
{% endhint %}

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