Amazon EventBridge Broadcaster Setup Guide

Introduction

This comprehensive guide will walk you through the detailed process of configuring and setting up the Amazon EventBridge Broadcaster feature. This feature enables the seamless broadcasting of platform events across various Amazon EventBridge topics.

Steps to Configure Amazon EventBridge Broadcaster

Step 1: Accessing Amazon EventBridge Broadcaster

To access the Amazon EventBridge Broadcaster, follow these steps:

  1. Log in to the Fynd Partner Panel.
  2. Navigate to Extensions and select the desired extension.
  3. Click on Webhook under the selected extension.
  4. In the Webhook section, click on Add Configuration.
  5. From the list of broadcaster options, select Amazon EventBridge.

Step 2: Configuring Amazon EventBridge Broadcaster

Fill in the following details:

  • Name: Provide a unique name to identify this broadcaster configuration.
  • AWS Access Key: Enter the AWS Access Key ID for the IAM user with the necessary permissions. This key is used to authenticate API requests
  • AWS Access Secret: Enter the AWS Access Secret Key associated with your Access Key ID. Ensure this is kept confidential as it grants access to your AWS resources.
  • AWS AWS Region: Specify the AWS region where the broadcaster events will be handled (e.g., us-east-1, eu-west-1).

Explanation of Fields:

  • AWS Access Key: Your AWS account's Access Key ID for programmatic access.
  • AWS Access Secret: The secret key corresponding to your AWS Access Key.

Step 3: Validation

  1. Click on Validate.
  2. The platform will attempt to establish a connection with Amazon EventBridge using the provided credentials.
  3. Upon successful validation, you will receive a confirmation message.
  4. Click on Save to finalize the configuration.

A pop-up will appear indicating Validation Successful if the entered details are valid.

Step 4: Create EventBridge Subscriber API:

1curl --location 'https://{{host}}/service/platform/webhook/v2.0/company/1/subscriber' --header 'Content-Type: application/json' --header 'Authorization: {{Bearer Token}}' --data-raw '{
2    "name": "Event Bridge Subscriber",
3    "provider": "event_bridge",
4    "association": {
5        "company_id": 1,
6        "criteria": "ALL",
7        "extension_id":"6684c91938568e58638a2b42"
8    },
9    "custom_headers": {},
10    "status": "active",
11    "email_id": "[email protected]",
12    "auth_meta": {},
13    "events": [
14        {
15            "slug": "company/article/update/v1",
16            "event_bridge_name":"article_event_bridge,
17            "detail_type":"article_event_bridge"
18        }
19    ]
20}'

Congratulations!

You have successfully configured the Amazon EventBridge Broadcaster feature, enabling seamless event broadcasting for effective collaboration with Fynd Platform. Should you encounter any issues or have additional questions, please reach out to [email protected].