Connected App in MuleSoft


The Connected Apps feature provides a framework that enables an external application to integrate with Anypoint Platform using APIs through OAuth 2.0 and OpenID Connect

Connected apps help users delegate their access without sharing sensitive credentials or giving full control of their accounts to third parties.

In this tutorial we will demonstrate how can we create the connected app on anypoint platform


  • We can access the resources inside the anypoint platform using connected app
  • We can use connected app to deploy the application on Cloudhub without passing the anypoint username and password
  • We can create 200 connected in one organization
  • Only organization administrators can access/update/delete/add the connected app

Open anypoint platform->click on Access management

Graphical user interface, text, email

Description automatically generated


Click on Create app and select App acts on its own behalf (client credentials) and add the scope to provide the access and next


Graphical user interface, application

Description automatically generated




We can see connected app is created, and we can copy client id and client secret

Graphical user interface, text, application, email

Description automatically generated


Generate auth token for further use

Go to postman trigger the below request to generate the token which will be used to access the resources and deploy the app using CICD on cloudhub, we will see that in next tutorials

curl –location –request POST ‘’ \

–header ‘Content-Type: application/x-www-form-urlencoded’ \

–header ‘Cookie: XSRF-TOKEN=dO7yTh0l-mfR5dq6eSj-JsrPf1qYGa6qAOwc; _csrf=JqNfDhM24-g7jMtcZ2J6fXKR’ \

–data-urlencode ‘client_id=e5e756e61fdc4eb49eecb02d4da8f0ac’ \

–data-urlencode ‘client_secret=5240ac453A4A4fED946FAdb1DaDE14e4’ \

–data-urlencode ‘grant_type=client_credentials’


Graphical user interface, text, application, email

Description automatically generated


Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.

Share this:
Notify of
Inline Feedbacks
View all comments