Productize a Service
Using API Products, you can create and manage API products to productize your services. Each API product consists of at least one API product version, and each API product version is connected to a Gateway service. Creating API products is the first step in making your APIs and their documentation available to developers.
This guide will walk you through creating an API product and productizing it by deploying it to the Dev Portal.
If you’re following the Konnect quickstart guide,
make sure you have followed the steps in Proxy and test a service.
Create an API product
Let’s set up your first API product and API product version, by clicking API Products from the Konnect side navigation bar.
Select API Product from the API products dashboard to add a new API product.
Create a new name for your API product, and enter an optional Description and any labels that you want to associate with the product, then press create.
You will be greeted by the dashboard for the API product that you just created. You can use this dashboard to manage an API product. You can read more about this dashboard on the API products overview page
Create an API product version
After creating a new API product, you can attach an API product version to it.
From the API product builder, select Product Versions, then select New Version.
- Enter a version name. For example
A version name can be any string containing letters, numbers, or characters;
version#1. A service can have multiple
- Click Create to finish creating the product version and be taken to the Product Versions dashboard.
After creating the new version, you will see Link with a Gateway Service as an option in the Product Version Dashboard. You can link a Gateway service to your product version to enable features like App registration.
Select Link with a Gateway Service.
Choose the control plane and Gateway Service to
deploy this API product version to. This lets you deploy your service across data plane nodes associated with the control plane.
Publish an API product
API products can be published to the Dev Portal. To publish your new API product navigate to the API Products and follow these steps:
- Select the API product that you created in the previous step.
- Navigate to the Actions menu, then select publish.
Your API product is now consumable by developers from the Dev Portal.
In this section, you added an API product, linked a Gateway service via an API product version to it, and published it to the Dev Portal.
Next, add documentation
and test out the Dev Portal from the perspective of a developer.