Quick Start Guide
In the API Control Plane, you can expose an existing HTTP backend through a gateway by creating a REST API proxy. When you start from scratch, you provide a backend URL, and the console generates the initial API details for you. You can then review the API definition, deploy the API to a gateway, test it, and publish it to the API Portal and AI Hub.
This guide uses the sample Reading List API backend.
Prerequisites
-
Sign in to the API Control Plane Console.
-
Create an organization:
- Enter a Display name.
- Enter a Handle.
- Click Create.
If you already have an organization, open it and continue.
-
Open the
defaultproject if your organization has one, or create a project:- In the left navigation menu, click Projects, then click Create Project.
- Enter a Name and a Project ID. Description is optional.
- Click Create.
The project home page opens. Continue from there to create the API.
Create the REST API
-
On the project home page, click Create API.

-
Select REST API, then click Continue.
-
Select Start from scratch.
-
Under Backend endpoint, enter your backend URL in Endpoint URL. To use the sample Reading List API, click Try with Sample URL.
The sample URL is:
https://apis.bijira.dev/samples/reading-list-api-service/v1.0/books -
Click Continue.
-
On Configure and create, review Basic information and Backend endpoint. The console fills Name with
Untitled API, and derives Identifier and Context from the name.For this sample, set Name to
Reading List API. The identifier becomesreading-list-api, and the context includes your project identifier, for example/default/reading-list-api/v1.0.0.Field Value Name Reading List APIIdentifier reading-list-apiVersion 1.0.0Context /default/reading-list-api/v1.0.0Description Optional. The console leaves it empty. Endpoint https://apis.bijira.dev/samples/reading-list-api-service/v1.0/books
-
Click Create.
The REST API is added to the project. Its overview lists the generated operations, such as GET /*, POST /*, PATCH /*, and DELETE /*, and the backend endpoint.
To view or edit the API definition, open the API and in the left navigation menu click Develop, then Definition. You can view the OpenAPI definition as YAML or JSON, or click Edit to change the operations.
Deploy the API
Deploying places a build of the API on a gateway so requests can reach the backend through that gateway. Create a self-hosted gateway, start it with the setup commands the console shows, and then deploy the API to that gateway.
-
In the left navigation menu, click API Gateways, then click Add API Gateway.
-
Under Hosting, select Self-hosted API gateway.
-
Enter the gateway details.
Field Description Gateway Type API Gateway. Name A name for the gateway. The handle is derived from this name and cannot be changed later. Description Optional. Environment The environment this gateway belongs to. API Gateway Version The gateway version to run. Use the latest version. URL The address where the gateway receives requests from clients, for example https://localhost:8443. Change it to match your infrastructure.
-
Click Add API Gateway.
The console gives you a registration token and the setup commands to run the gateway on your infrastructure. Run those commands on the machine that hosts the gateway. The gateway stays inactive until it connects to the control plane. Wait until its status is Active before you deploy.
You can also use a cloud gateway instead of a self-hosted gateway. For more on gateways, see Manage Gateways.
-
Open the API, and in the left navigation menu click Deploy.
-
In Build Area, click Build and deploy. An API that has no build yet shows only this button. After the first build, the button is named Deploy.
If the button is unavailable, no gateway in the environment is Active. Check that the gateway is running and connected to the control plane.

-
In the deploy dialog, which is named for the environment, such as Deploy to development:
- Under Gateways, select the self-hosted gateway you created. The gateway must be Active.
- Confirm the Endpoint URL of the backend.
- Click Deploy.
After the deployment succeeds, the API overview lists the gateway under Deployed gateways. For more on deployment, see Deploy an API.
Test the API
After the API is deployed, use the API Console to send a request through the gateway.
-
In the left navigation menu, click Test. Console view is selected.
-
Under Gateway, select the gateway you deployed the API to. The invoke URL of that gateway appears beside the gateway.
-
In the endpoint list, select an operation, such as GET /*.
-
Click Send. The Response panel shows the status, such as
200 OK, and the Body tab shows the response from the backend.
noteThrough proxy is selected by default. If the console can't reach your gateway, for example a self-hosted gateway on your own network, select Direct. See API Console for the difference.
For more on the console, see API Console.
Publish the API
Publishing makes the API available in the API Portal and AI Hub, where consumers can discover it and read its documentation.
-
Create a portal if the organization does not have one.
- In the left navigation menu, click Portals, then click Add Portal.
- Enter a Name. Description is optional.
- If the form shows Login environment, select an environment. Portal users sign in through the authentication server of this environment. The field appears only when your organization has more than one environment. If you don't see it, continue with the next step.
- Allow self sign-up is turned on by default.
- Click Add Portal.

For more on portals, see Manage Portals.
-
Open the API, and in the left navigation menu click Publish.
The page lists the portals in the organization and the publishing status of the API in each portal.
-
On the card for the portal you want, publish the API in one of two ways:
- To publish with the default settings, click Publish.
- To review the details first, click the arrow next to Publish, select Configure & Publish, and click Configure & Publish. The publish page of the API opens, with the API Details, Specification, Subscription Plans, Documentation, and Landing Page tabs. Review the tabs, and click Publish.

The status of the API in that portal changes to Published. To open the portal listing, click View in Portal. For more on publishing, see Publish an API.
Next Steps
- Security - Control who can invoke the API
- Attach and Manage Policies - Add capabilities such as rate limiting or header changes to the API
- Which Credentials You Need - Generate keys in the API Portal & AI Hub and invoke the API
Was this page helpful?