How to Obtain Client Credentials to Access API in Mule

How to Obtain Client Credentials to Access API in Mule

In this tutorial, you will learn step by step to create new client application and obtain client credentials to access an API in Mule.

Registering client application is essentials to manage contracts between you and your clients. Especially when you are in subscription based contracts.

Step 1: Go to Anypoint Exchange and open your API.

Step 2: In the API dashboard, click on three dots and click on Request access.

request-access

Step 3: In Request access windows,

  1. Select the API instance. Make sure to select the correct environment instance as you will need to register client application for each and every environment.
  2. Click on Create a new application

Step 4: In new application window,

  1. Name your client application and click on Create.
name-client-app

Step 5: In Request access window, click on Request access.

request-api-access

Step 6: Note down your client credentials.

obtain client credentials

That’s it! Now we have registered our client application and now client can access our API using these credentials.

Remember, client can access only the development instance not other instances (SIT, UAT or PROD).

To give an access to other instances, please repeat the same procedure but select different instances.

Step 7: Now to verify the contract, go to API Manager, click on your API and then click on Contracts.

contract-apps

You can see the list of client applications that we registered to this API instance. There you can simply revoke contract with client, once you finished your contract.

For example, If the contract between you and your client ends, then you can simply revoke your client access so that your client can’t access your API.

Forgot to note down the client credentials?

Sometimes you may forget to note down the client credentials or a new developer joined your team and asked you share the credentials.

In such cases, to retrieve the credentials, go to API Manager, click on Client Applications and select your client app (vv-pega-client-app).

client-credentials

That’s simple!

Conclusion

Registering client application is essentials to manage contracts between you and your clients. Especially when you are in subscription based contracts.

We hope this tutorial helped you to understand the process of process of registering client application and obtaining the client credentials to access an API.

Please do share it with your friends and don’t forget to follow us on FacebookTwitter and LinkedIn. Visit our MuleSoft Hub for more tutorials and updates.

In this tutorial, you will learn step by step to create new client application and obtain client credentials to access an API in Mule.

Registering client application is essentials to manage contracts between you and your clients. Especially when you are in subscription based contracts.

Step 1: Go to Anypoint Exchange and open your API.

Step 2: In the API dashboard, click on three dots and click on Request access.

request-access

Step 3: In Request access windows,

  1. Select the API instance. Make sure to select the correct environment instance as you will need to register client application for each and every environment.
  2. Click on Create a new application

Step 4: In new application window,

  1. Name your client application and click on Create.
name-client-app

Step 5: In Request access window, click on Request access.

request-api-access

Step 6: Note down your client credentials.

obtain client credentials

That’s it! Now we have registered our client application and now client can access our API using these credentials.

Remember, client can access only the development instance not other instances (SIT, UAT or PROD).

To give an access to other instances, please repeat the same procedure but select different instances.

Step 7: Now to verify the contract, go to API Manager, click on your API and then click on Contracts.

contract-apps

You can see the list of client applications that we registered to this API instance. There you can simply revoke contract with client, once you finished your contract.

For example, If the contract between you and your client ends, then you can simply revoke your client access so that your client can’t access your API.

Forgot to note down the client credentials?

Sometimes you may forget to note down the client credentials or a new developer joined your team and asked you share the credentials.

In such cases, to retrieve the credentials, go to API Manager, click on Client Applications and select your client app (vv-pega-client-app).

client-credentials

That’s simple!

Conclusion

Registering client application is essentials to manage contracts between you and your clients. Especially when you are in subscription based contracts.

We hope this tutorial helped you to understand the process of process of registering client application and obtaining the client credentials to access an API.

Please do share it with your friends and don’t forget to follow us on FacebookTwitter and LinkedIn. Visit our MuleSoft Hub for more tutorials and updates.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

How to Create Multiple Folders at Once in Windows 10

Creating folders and subfolders manually is time consuming tasks...

How to Integrate Solace with MuleSoft using JMS API

In this tutorial, we will demonstrate step by step...

How to Open Port on AWS EC2 Instance

In this tutorial, we will demonstrate step by step...

LEAVE A REPLY

Please enter your comment!
Please enter your name here