After creating the prerequisite items, follow the steps in this section to create an event relay using a point-and-click interface in Setup.
Event relays are available in Tooling API and Metadata API. As an alternative to creating an event relay in Setup, you can create it using the API.
- Create an Event Relay
An event relay associates the channel in the Salesforce event bus with Amazon EventBridge using a named credential. The creation of the event relay results in a partner event source being created in Amazon EventBridge. The partner event source is created with a pending status. - Activate the Partner Event Source in Amazon EventBridge
Salesforce creates a partner event source in Amazon EventBridge in pending status after you create an event relay. Associate the event bus with the partner event source in EventBridge so that the event source is ready to receive events from Salesforce. - Start the Event Relay
Change the event relay state in the Edit window.