Contact Us 1-800-596-4880

Configuring Client Apps

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.

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
    1 Client Apps displays and creates client apps.
    2 Add icon adds a client app.
  3. Click the Add icon (Add icon in Client Apps).

  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, Copy, and Show buttons
    1 Client app name displays client app details.
    2 Copy buttons copy the client app ID or client secret value.
    3 Show displays the client secret value, which is obfuscated by default.
  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:

    URL, Client App ID, and Client Secret fields in the Anypoint MQ Config window

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

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