<!-- loio867c517256d74cc2ad9eab3dd22eb916 -->
# Configure A Message Client
Understand how to create a message client to communicate with the message broker.
## Context
The service instance *Event Mesh Message Client* on the SAP BTP cockpit provides access to the message client of Event Mesh's capability.
By creating a service instance on the SAP BTP cockpit, you trigger the creation of a message client and bind it to the Event Mesh capability. By binding the service instance, you enable the automatic delivery of credentials needed to access the service instance from the Event Mesh capability. Later, all the events publishing and consuming applications are authenticated via OAuth client credentials for all technical communications.
Configuring a message client is a two-step process. First, you create a service instance and then create a binding to the Event Mesh capability.
## Procedure
Create a service instance:
1. In the SAP BTP cockpit, in your subaccount, from the left panel, navigate to *Services*, then choose *Instances and Subscriptions* \> *Create*.
2. In the *New Instance or Subscription* dialog box, select the *Event Mesh Message Client* service.
3. Choose the *message-client* plan, and then choose *Next*
4. Provide a name for the instance.
5. Choose *Next*
6. Specify parameters using a JSON file. You can provide additional parameters such as the namespace and connection rules for a message client. Follow the [Service Descriptor Syntax](service-descriptor-syntax-b70eaad.md).
> ### Sample Code:
> ```
> {
>
> "rules": {
> "topicRules": {
> "publishFilter": [
> "${namespace}/*"
> ],
> "subscribeFilter": [
> "${namespace}/*"
> ]
> },
> "queueRules": {
> "publishFilter": [
> "${namespace}/*"
> ],
> "subscribeFilter": [
> "${namespace}/*"
> ]
> }
> },
> "version": "1.1.0",
> "emname": "em-healthcheck",
> "namespace": "sap/em/opshealthcheck"
> }
> ```
> ### Note:
> - Refer to [Service Descriptor Syntax](service-descriptor-syntax-b70eaad.md) to understand the different parameters that you can provide in the example.
> - We recommend that you use the same value for `service instance name` and `emname`.
7. Choose *Create*.
A service instance with the name you provided is created under the section *Instances*.
Create a service binding:
8. From the context menu of the created service instance, choose *Create Service Binding*.
9. Provide a name for the service binding.
10. Choose *Create*.
A binding of the service instance is created to the Event Mesh capability.
You can also view the message client in the SAP Integration Suite UI. Navigate to *Configure* \> *Event Mesh* to view all the associated message clients.
<a name="loio867c517256d74cc2ad9eab3dd22eb916__postreq_pgt_y1z_sdc"/>
## Next Steps
[Configure Event Mesh](50-Development/configure-event-mesh-77e213c.md)