Create a Sitecore Content Hub action
You use a Sitecore Content Hub action to connect to an Azure Service Bus and post a message when a specified trigger is activated.
You can use two methods to create a Sitecore Content Hub action:
- M Azure Service Bus. Use this to connect to an out-of-the-box Azure Service Bus on a Content Hub instance.
- Azure Service Bus. Use this to connect to an Azure Service Bus.
Create an M Azure Service Bus action
To create an M Azure Service Bus action:
- In the Sitecore Content Hub, click Manage
. - Click Actions, and click New action
- Enter, for example, the following values:
- Name: Sitecore
- Type: M Azure Service Bus
- Label: Sitecore
- Destination type: Topic
- Copy the
Hub inandHub outstring values. You must have these to configure the environment variables when enabling the CMP connector on an environment deployed to SitecoreAI or for a local SitecoreAI development environment based on Docker containers. - To save the new action, click Save.
Create an Azure service bus action
To create an Azure Service Bus action:
- In the Sitecore Content Hub, click Manage.
- Click Actions, and click New action
- Enter, for example, the following values:
- Name: Sitecore
- Type: Azure Service Bus
- Connection string: enter the connection string for the service bus here. The connection string must be a connection string to the entire Azure Service Bus.
- Destination type: Topic
- Destination: hub_out
- To test the connection to the Azure Service Bus, click Test Connection.
- To save the new action, click Save.
If you have suggestions for improving this article, let us know!