Publish and Consume Services
The Dev Portal is an API catalog that lets you document your Konnect services
and share them with your developers. Developers can use the Dev Portal to
locate, access, consume, and register applications against the services.
This guide walks you through setting up a sample API spec and description for
the Konnect service and publishing the service to the Dev
Portal. You’ll also have a chance to check out the Dev Portal live, and test
out some customization options.
You have configured a Konnect service with at least one version.
Upload a description
You can provide extended descriptions of your Konnect services with a Markdown (
The contents of this file will be displayed as the introduction to your API in the Dev Portal.
GitHub-Flavored Markdown (GFM) for API
Write a description for your API in Markdown (
If you don’t have a file you can use for testing, copy the following text
into a blank
Here's a description with some **formatting**.
Here's a bulleted list:
You can [add relative links](/) and [absolute links](https://cloud.konghq.com).
Try adding a codeblock for code snippets:
This is a test
In the Service Hub, open a service.
Find the Service Document section on your service’s overview page and click Upload Document.
.md file and click Open.
Upload an API spec
API specifications, or specs, can be uploaded and attached to a specific service version within your Dev Portal.
Every version can have one OpenAPI spec associated with it, in JSON or YAML format.
If you brought your own spec, use it in the following steps. Otherwise, you can
use the sample Vitals spec for testing.
In the Service Hub, open a service, then pick a version.
Find the the Version Spec section and click Upload Spec.
Select a spec file to upload.
The spec must be in YAML or JSON format. To test this functionality, you
can use vitalsSpec.yaml as a sample spec.
This OpenAPI spec will be shown under the version name when this service is
published to the Dev Portal.
Publish a service
In the Service Hub, return to your service’s overview page.
In the top right corner, click on the Service actions dropdown and select
Publish to Portal.
By default, this publishes all of the service’s version specs to a private
Dev Portal site.
View the published content on Dev Portal
In this section, you can take one of two paths: keep the Dev Portal private
and require a login, or switch it to public, making it visible to anyone with
If you choose to make the Dev Portal public, application registration
will not be available.
Note: The Dev Portal is a separate site that requires its own credentials.
You can’t use your Konnect credentials to log in here.
Customize your Dev Portal
You can customize the Dev Portal to make it your own.
Let’s change up a couple of things:
Return to Konnect. From the left side menu, open
Dev Portal, then Appearance.
Try out a couple of customization options - whatever you like.
- Choose a preset theme and adjust it to your needs
- Set some home page text
- Upload header, logo, or favicon images
- Play around with the colours and fonts of your site
You could also add a custom domain,
if you have one you want to use.
Click Save to apply the changes.
Switch back to the Dev Portal to see your changes live.
Summary and next steps
In this topic, you:
- Uploaded documentation to describe your service
- Published the service to the Dev Portal
- Logged into the Dev Portal to check out the service documentation live
- Customized the Dev Portal
Next, register an application against the service.