After setting up your Developer Portal with Organisation, Catalogs, API products, and Plans, it’s time to experience the portal from an API Consumer’s perspective. In this guide, you’ll learn how to log in as an API Consumer, create an application, request API access, and test the API with the provided credentials.This workflow represents the typical experience your API consumers will have when using your Developer Portal to access your APIs.
First, access the Developer Portal as an API consumer:
Open your Developer Portal’s public URL in a web browser
Select Log In in the top navigation bar
Enter the email address and password for the API consumer admin user you created previously
Select Log In
You should now be logged in to the Live Portal as an API consumer. You’ll see the default theme provided by Tyk, all of which is customisable for your brand and workflows.
Now, we will request access to the API product through your app.
Return to the API product page in the catalog, which we did in Step 2.
Select Access with this plan
Select Go to cart
You are now on the access request form where you can see the API Product and Plan that you’ve selected. If granted access for this combination, you will be issued access credentials to use in your API requests. These must be associated with a Developer App. We just created an App, so select Existing app and choose your App from the dropdown
When we created the Plan, we configured it to automatically approve access requests, so Tyk will have created access credentials immediately. If we hadn’t selected auto-approve, the request would appear in the Admin Portal for an API Owner to approve.Let’s find the access credentials so that we can start to consume the API:
Hover over your user name in the main navigation and choose My Dashboard from the dropdown menu
Finally, let’s use your credentials to make a test API request:
Navigate to the API Product details page, either from the App details or Catalog
You can see the listen path for the API and, if you provided API documentation when creating the Product, may have more detail of the available endpoints
Open a terminal or API testing tool (like Postman or cURL)
Construct your API request using the access credentials issued in Step 5
CongratulationsYou have successfully created a Developer App, requested access to an API Product and accessed an API using the credentials issued by the Developer Portal. This concludes the Getting Started tutorial for Tyk Developer Portal!Check out the rest of the documentation for more details on each of the elements we’ve used in the tutorial and full guidance on how to customise Tyk Developer Portal to give your API consumers the best possible experience.