---
schema_version: "1"
id: 0f647bc25c2404c9c2088dd0ad13ea7a3f115052311fda5fb55694ee6ec91a8d
title: Configuring Client Apps
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mq/mq-client-apps.md
canonical_url: https://docs.mulesoft.com/mq/mq-client-apps
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 29956f9b539bf82e0f68854b612635d371e50807784ee8478d982cd01ce3cc71
description: MuleSoft Documentation Site
latest: true
---
---
product: MQ
---

# Configuring Client Apps

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

When using Anypoint Connector for MQ (Anypoint MQ Connector) version 3.x or earlier, you create a
client app to generate credentials to use to publish and consume from a queue.

MuleSoft recommends that you use connected apps rather than client apps to generate credentials. For
information, see [Configuring Connected Apps](https://docs.mulesoft.com/mq/mq-connected-apps).

When you create a client app, Anypoint MQ lists the client ID and client secret for the app. You use
the client ID and client secret values when configuring Anypoint MQ Connector in a Mule app in
Anypoint Studio. Don’t share the ID and secret pair with multiple apps.

An app does not need to exist for you to register it with Anypoint MQ Connector.

## Create a Client App

To create a client app:

1.  Sign in to Anypoint Platform and click **MQ** in the navigation menu.

2.  Click **Client Apps** in the navigation pane:

    ![Client Apps option and Add icon](/mulesoft/current/en-us/mq/_images/mq-tutorial-create-client-apps.png)

    <table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td><strong>Client Apps</strong> displays and creates client apps.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><strong>Add</strong> icon adds a client app.</td></tr></tbody></table>

3.  Click the **Add** icon (![](/mulesoft/current/en-us/mq/_images/icon-blue-plus.png)).

4.  In the **Create Client App** window, enter the name of the client app, such as `DemoClientApp`
    and click **Save Changes**.

5.  Click the client app name to view the client app ID and client secret values in the details
    pane:

    ![Client app name,  and the Copy and Show buttons for the selected client app](/mulesoft/current/en-us/mq/_images/mq-tutorial-client-apps-detail.png)

    <table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td>Client app name displays client app details.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><strong>Copy</strong> buttons copy the client app ID or client secret value.</td></tr><tr><td><i data-value="3"></i><b>3</b></td><td><strong>Show</strong> displays the client secret value, which is obfuscated by default.</td></tr></tbody></table>

6.  Click **Copy** to copy the client app ID or client secret value to your clipboard.

7.  When you configure Anypoint MQ Connector in your Mule app, paste the client app ID and client
    secret values to the **Anypoint MQ Config** window in Studio:

    ![Anypoint MQ Config window showing the URL, Client App ID, and Client Secret fields](/mulesoft/current/en-us/mq/_images/mq-tutorial-studio7-mq-config.png)

    For more information, see [Tutorial: Create a Queue and Send Messages to It](https://docs.mulesoft.com/mq/mq-tutorial).

## Regenerate a Client Secret

You might need to regenerate the client secret for a client app ID if your organization’s security
policy requires that you change client secrets on a schedule.

Another reason you might need to regenerate the client secret is to revoke access to a client ID by
a specific consumer or publisher. In this case, you can regenerate the client secret in Anypoint MQ
and reconfigure the secret in only those apps for which you want to allow access.

To regenerate the client secret:

1.  Sign in to Anypoint Platform and click **MQ** in the navigation menu.

2.  Click **Client Apps** in the navigation pane.

3.  Click the client app name to display the details pane.

4.  Click **Regenerate Secret**:

    ![Regenerate Secret icon in the details pane](/mulesoft/current/en-us/mq/_images/mq-client-apps-regenerate.png)

## Delete a Client App

To delete a client app:

1.  Sign in to Anypoint Platform and click **MQ** in the navigation menu.

2.  Click **Client Apps** in the navigation pane.

3.  Click the client app name to display the details pane.

4.  Click **Delete**:

    ![Delete icon in the details pane](/mulesoft/current/en-us/mq/_images/mq-client-apps-delete.png)

## See Also

- [Anypoint MQ Connector Reference](https://docs.mulesoft.com/anypoint-mq-connector/latest/anypoint-mq-connector-reference)

- [Anypoint MQ FAQ](https://docs.mulesoft.com/mq/mq-faq)

- [Configuring Connected Apps](https://docs.mulesoft.com/mq/mq-connected-apps)

- [Anypoint MQ on Hyperforce](https://docs.mulesoft.com/mq/#mq-on-hyperforce)
