Skip to content

Creating Consumer

Creating Consumer

Step 1.Click the menu icon (three Horizontal lines) located on the left sidebar

consumer

Step 2.Once you click on the consumers tab, you can view all the available consumers created so far. You can either subscribe to an existing API Product or create a new consumer and then create an API Product.

consumer

Step 3.Click on create consumers, provide the required fields, and then click create.

Step 4.Enter Consumer Details :

Field Sample Value
Username* Name of the user
Password* Password for the user
Email Email of the user
First Name First Name of the user
Last Name Last Name of the user

consumer

Step 5.After entering the details, click on the create button. The consumer will be successfully created and will be visible in the list, as shown below.

consumer

Create Consumer Product

Step 6.Click on the created consumer and select Create API Product.

consumer

consumer

Step 7.Provide the required details such as Client ID, Name, and any other necessary configurations. Click Save at the bottom of the page to complete the process.

consumer

Step 8.After clicking Save, the application will be successfully created and displayed as shown below.

consumer

consumer

Step 9.Click on the Client ID and subscribe to the required APIs for this application.

Step 10.In the Overview section, you can view the Consumer Key and Consumer Secret.

consumer

Subscribe API's

Step 11.Go to the Subscriptions tab click on it then you will be able to see subscribe Api’s click on it ,

consumer

Step 12.where all available APIs will be listed. select and subscribe the required APIs.

consumer

Step 13.Once the API is subscribed, all the subscribed APIs will be displayed under the API Product.

consumer

Deployment

Step 14.Select the API you can able to see as shown below image.

consumer

Step 15.Click on the API named MyFirstAPI, or the API you created in your case

consumer

Step 16.Once you select the API, the interface shown below will be visible
17.From the left sidebar, click on the Deployment tab

consumer

Testing In Devportal

Step 17.Click on Deploy, select the Gateway where the API should be deployed, and then click Deploy as shown below images.

consumer

consumer

Step 18.Once the API is deployed, a message stating "Deployment completed successfully" will be displayed.

consumer

Step 19.The image below clearly shows your deployed API and the selected gateway.

consumer

Step 20.After a successful deployment, access the DevPortal and login using the credentials set in the Publisher Portal during consumer creation.

consumer

Step 21.All the subscribed APIs for the application will be visible in the DevPortal.

Step 22.Click on the desired API and select Try It to test the functionality.

Step 23.As shown in the images below.

consumer

consumer

Step 24.In the DevPortal, you can verify that the API details—such as the Context Path, Security Settings, and Version—match those configured in the Publisher Portal.

Step 25.You can also see the API documentation, as marked in the images below

consumer

consumer

Step 26.Click on Tryit select the API product.

Step 27.Click on Get Access Token, Once the access token is generated, the resources will become available for testing.

consumer

Step 28.After the access token is generated, you will see all the resources related to that endpoint. Select the desired resource, click Try It Out, and then execute the request.

consumer

consumer

consumer

Step 29.Once you click on Execute, the response will be displayed in the DevPortal.

consumer