> For the complete documentation index, see [llms.txt](https://docs.fylamynt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylamynt.com/integrations/event_bridge.md).

# Amazon EventBridge

## Overview <a href="#overview" id="overview"></a>

Amazon EventBridge is a serverless event bus that makes it easier to build event-driven applications at scale using events generated from your applications, integrated Software-as-a-Service (SaaS) applications, and AWS services. Configure routing rule to trigger Fylamynt incident to react to events happening in your application.

## Use Cases

The integration between Fylamynt and Amazon EventBridge lets you:

* Trigger a workflow in Fylamynt, when a matching event occurs on an EventBridge rule.
* Create workflows for steady-state management

## Configure Amazon EventBridge in Fylamynt

* Navigate to **Settings** > **Integrations** > **Amazon EventBridge**
* Configure a new integration instance

Details needed to set up **Amazon EventBridge instance** in **Fylamynt**:

| **Parameters**        | **Description**                                    | **Required** |
| --------------------- | -------------------------------------------------- | ------------ |
| Webhook API Key Name  | This is needed to store the key of Webhook API key | True         |
| Webhook API Key Value | API key value for webook                           | True         |

Follow the steps listed below in your **Amazon EventBridge Account** and get the desired parameters to enter in **Fylamynt**

* In the Authorize Fylamynt card on the integration settings page, select one of the **Webhook API Key Name** from the dropdown, and the corresponding **Webhook API Key Value** will be made visible
  * If no options are available for the Webhook API Key Name, first go to Settings --> API Keys --> Manage Keys to Create a New API Key.
* ![](/files/fnlfk56T1CqFn6tcwAJM)
* Log in to your **AWS account**&#x20;
* Select service **Amazon EventBridge**
* Select Integrations -> API Destinations
* ![](/files/HAHEtBNUUNt9RENP2MzP)
* Click **Create API destination**
* Create a new API destination named **Fylamynt-EventBridge**
* Provide the parameters as mentioned below

| **Parameter**            | **Description**                                                                      | **Where to get value**                                                                                            |
| ------------------------ | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| Name                     | Name of the EventBridge API destination                                              | **Fylamynt-EventBridge**                                                                                          |
| API destination endpoint | This endpoint would be called when event triggers                                    | Copy and paste the **Amazon EventBridge Webhook URL** in the Authorize Fylamynt card on integration settings page |
| HTTP method              | Select the HTTP method used for the invocation endpoint, such as GET, POST etc..     | **POST**                                                                                                          |
| Connection               | Create a new connection to use for this destination.                                 | Select **Create new connection**                                                                                  |
| Connection Name          | Enter a name for the connection. The name must be unique for your account and Region | **Fylamynt-EventBridge-Connection**                                                                               |
| Authorization type       | Choose the type of authorization to use to access the API destination                | API Key                                                                                                           |
| API Key name             | Name of the `API Key name`                                                           | **x-api-key**                                                                                                     |
| Value                    | Value of the API key                                                                 | Copy and paste the **Webhook API Key Value** in the Authorize Fylamynt card on integration settings page          |

* ![](/files/d577nlLwBVRTqMnOpb7b)
* Click **Create**
* Return to the settings page in Fylamynt and click Authorize.
* ![](/files/thGMgbcYJbFXlAzd9qeT)

Create the **EventBridge rule**

* For the new rule's Target,  select **API destination**
* Select **Fylamynt-EventBridge** as the API destination
* ![](/files/PSHfERqR2QFsUdPUq148)
* Click **Create**

## Integration Actions

You can add the following actions in the Fylamynt workflow builder, as part of your workflow.

1. [Amazon EventBridge Trigger](#amazon-eventbridge-trigger)

### Amazon EventBridge Trigger

Integration node triggers a workflow from an EventBridge rule with Fylamynt specific alert channel.

When creating a workflow, you are presented with a wizard to select the trigger type to use.

* On the workflow page, select **New Workflow**
* Enter the name of the Workflow.
* Select the **Amazon EventBridge** trigger type.
* Click **Create Workflow**
* ![](/files/jYCzbObQnEdEdF0xgW8Z)

#### Configure the automatic execution of a workflow <a href="#fylamynt-task-management" id="fylamynt-task-management"></a>

To automatically run workflows with the Amazon EventBridge trigger, the incident type and assignment need to be configured. Follow the step-by-step instructions provided on the[ Incident Management - Automatic workflow execution](https://docs.fylamynt.com/getting-started-1/7.-incident-management-automatic-workflow-execution) page.
