# Teams Integration

Receive real-time notifications in **Microsoft Teams** whenever a new threat is detected in your infrastructure. This guide will walk you through generating a Teams Webhook and configuring TrapEye to send alerts directly to your Teams channel. For official **Microsoft** documentation, refer [here](https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498).

---

## Generate a Teams Webhook

1. Open **Microsoft Teams** and navigate to the channel where you want to receive alerts. Click on the 3 dot icon then on `Workflows`.

   ![Create Workflow](~/assets/images/docs/integrations/teams/create_workflow.webp)

2. Select the workflow type: `Send webhook alert to a channel`.

   ![Select Type](~/assets/images/docs/integrations/teams/select_type.webp)

3. Assign a descriptive name and a connection before clicking `Next`.

4. Click on `Add workflow` and copy the link, you will need it for the next steps.

   ![Copy URL](~/assets/images/docs/integrations/teams/copy_url.webp)

## Configure the Webhook Connector in TrapEye

1. Log in to the [TrapEye Portal](https://trapeye.anantis.io)

2. Navigate to **Settings → Integrations** and select the **Webhook** card.

   - Enable **Webhook Connector**.
    - Choose the **Teams** tab. 
    - Paste the Webhook link generated earlier.
    - Click `Save Changes` to apply the configuration.

    ![Configure TrapEye](~/assets/images/docs/integrations/teams/configure_trapeye.webp)

## Test the Webhook Connection

With the connector enabled, click **Test Connection** in TrapEye.

A sample event will be sent to your Teams channel immediately. Confirm that the notification appears in your channel.

![Event Received](~/assets/images/docs/integrations/teams/event_received.webp)

## Setup Complete

TrapEye platform is now fully integrated with Microsoft Teams.