As are all AWS EventBridge events, the payload itself will be wrapped by a set of standard fields, outlined [here](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events.html). The most notable include
_Sample Event Pattern Filtering any Add Tag Events on a PII Tag_
## Step 1: Create an Event Bus
We recommend creating a dedicated event bus for Acryl. To do so, follow the steps below:
1\. Navigate to the AWS console inside the account where you will deploy Event Bridge.
2\. Search and navigate to the **EventBridge** page.
3\. Navigate to the **Event Buses** tab.
3\. Click **Create Event Bus.**
4\. Give the new bus a name, e.g. **acryl-events.**
5\. Define a **Resource Policy**
When creating your new event bus, you need to create a Policy that allows the Acryl AWS account to publish messages to the bus. This involves granting the **PutEvents** privilege to the Acryl account via an account id.
**Sample Policy**
```
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "allow_account_to_put_events",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::795586375822:root"
},
"Action": "events:PutEvents",
"Resource": "<event-bus-arn>"
}]
}
```
Notice that you'll need to populate the following fields on your own
Once you've defined an event bus, you need to create a rule for routing incoming events to your destinations, for example an SQS topic, a Lambda function, a Log Group, etc.
To do so, follow the below steps
1\. Navigate to the **Rules** tab.
2\. Click **Create Rule**.
3\. Give the rule a name. This will usually depend on the target where you intend to route requests matching the rule.
4\. In the **Event Bus** field, select the event bus created in **Step 1**.
9\. Define a matching Rule. This determines which Acryl events will be routed based on the current rule. You can use the Sample Rule defined in the **Event Structure** section above as a reference.
10\. Define a Target: This defines where the events that match the rule should be routed.
## Step 3: Configure Acryl to Send Events
Once you've completed these steps, communicate the following information to your Acryl Customer Success rep: