Manage Developer Portals
Learn how to create and manage Developer Portals for your API documentation.
You can use NGINX Controller Developer Portals (also called ‘Dev Portals’) to create and manage beautiful, easy-to-use API reference documentation to support your Published APIs .
In NGINX Controller, each Dev Portal sits within an Environment. An Environment can contain multiple Dev Portals. You can use the same Dev Portal names across different Environments, which means you can create “test”, “dev”, and “production” versions of your Dev Portal across the corresponding Environments.
Each Dev Portal is associated with a Gateway, which defines the URI at which users can access the Dev Portal – for example,
developer.acme.com. A Gateway for a Developer Portal can be placed on a dedicated Instance, or share an Instance with other Gateway resources.
You must complete the steps below before you can create a Developer Portal.
Create a Gateway for the Dev Portal.Tip:
You can create multiple Dev Portal Gateways on the same Instance. If you do so, be sure to use a unique hostname and port for each. For example:
- Gateway 1’s ingress URI is
- Gateway 2’s ingress URI is
https://test-developer.acme.com. These resources might both have IP addresses and ports that are accessible only from within your private network.
- Gateway 3’s ingress URI is
https://developer.acme.com. This resource would have a public IP address and be accessible via the internet.
If you create multiple Dev Portal Gateways on the same Instance using the same hostname and port, the Dev Portal configuration will fail.
- Gateway 1’s ingress URI is
You must create an App Component when creating a Published API. You’ll assign routes from the API Definition to this Component.
Both the Published API and the associated App Component must be successfully created before you can create a Dev Portal.
You also have the option to associate Dev Portal(s) in the Deployment page when you Add a Published API. If you already have a Published API and you want to create a new Dev Portal to host it, complete the tasks described in this guide.
To create a Dev Portal, take the steps below:
Open the NGINX Controller user interface and log in.
Select the NGINX Controller menu icon, then select Services.
On the Services menu, select APIs.
On the APIs page, select Create Dev Portal from the Quick Actions menu.Tip:
If you want to connect one or more Dev Portals to an existing Published API, you should select the Edit Published API option. The API Documentation will be published to the selected Dev Portal(s). Refer to the Define the Published API Deployment section for more information and instructions.
On the Create Dev Portal Configuration page:
- Provide a resource name for the Dev Portal.
- (Optional) Provide a display name, description, and tags.
- Select the desired Environment, or select Create to create a new resource.
- Select a Gateway, or select Create to create a new resource.
- Select the Published API(s) that you want to host in the Dev Portal.
- Select Next to move to the Themes page.
On the Create Dev Portal Themes page:
Select Brand to define the following elements:
- Brand Name,
- Logo, and
Set the Colors for theme elements. Then, select Next.
Set the Fonts for the theme. Then, select Next.
Review the API Spec, then select Submit.
You should now be able to access the Dev Portal via the hostname and port that you assigned to the Dev Portal Gateway.
To view, edit, or delete a Dev Portal, take the steps below:
- Open the NGINX Controller user interface and log in.
- Select the NGINX Controller menu icon, then select Services.
- On the Services menu, select APIs.
- On the APIs menu, select Dev Portals.
To edit a Dev Portal:
Select the Edit icon for the Dev Portal.
Edit the Dev Portal as desired.
- Select Configure to update the Dev Portal configurations, including the Environment, Gateway, and Published API.
- Select Brand to customize the Brand Name and to upload a Logo and Favicon.
- Select Color to customize the Dev Portal theme colors.
- Select Fonts to customize the Dev Portal theme fonts.
Select Submit to save your changes.
To delete a Dev Portal, select the Delete icon. Then, select Delete in the confirmation prompt window.
If the Gateway that the Dev Portal is associated with is in an error state, publishing your Dev Portal will fail. You won’t necessarily see an error in the Dev Portals section of the user interface when this happens, but configuration errors in these resources will impact Dev Portal functionality.
- App Component configuration errors are displayed only in the App Component section of the user interface.
- Published API configuration errors are displayed in the Published APIs section of the user interface, as well as in the Dev Portal.
- Dev Portal configuration errors are not displayed in the NGINX Controller user interface.
If your Dev Portal failed to publish, check the status of the Gateway first; resolve any issues with the Gateway, then try publishing the Dev Portal again. If the issue persists, check the other resources for configuration errors.
This documentation applies to the following versions of NGINX Controller Documentation: 3.7, 3.8, 3.9, 3.10, 3.12, 3.13, 3.14, 3.15, 3.16.1, 3.17 and 3.18.