Skip to content

Create an API Proxy for an Open AI API

Follow the steps below to create an AI API:


1. Access the API Platform Console

  1. Sign in to the API Platform Console and select your project.

2. Create an Open AI API

  1. Click +Create.
  2. Navigate to Create an API Proxy for Third-Party APIs (Egress) and click AI APIs.
  3. Select the OpenAI Provider.

    Create AI API Proxy page with OpenAI API card highlighted among available provider options

  4. Configure the AI API details, such as:

    • API Name
    • Identifier
    • Version
    • AI Provider
    • Target Endpoint

    Create AI API Proxy from Marketplace form showing OpenAI API name, identifier, version, base path, description, target, and access mode fields

  5. Click Create to finalize the AI API creation.

Once created, the overview page of the new API appears.


3. Configure Backend Settings

  1. In the left navigation menu, click Develop, then select Policy.

    Policy page showing API Proxy Contract routes and Service Contract with OpenAI endpoint

  2. Click endpoint Endpoint Configurations Policy page with Endpoint Configuration tooltip highlighted on the OpenAI Service Contract endpoint

  3. Configure Endpoint Configurations to handle backend security authentication and authorization.

    API Key Header API Key
    Authorization Bearer xxxxxxxxxxxxxxxxx

    Endpoint Configuration dialog showing OpenAI endpoint URL with empty API Key Header and API Key input fields

4. Deploy to development and Production Environments

  1. In the left navigation menu, click Deploy, Deploy to Development environment

    Deploy page showing Build Area, Development environment with Active deployment status, and Production not yet deployed

  2. Once it is deploy to development you can test it from Test Console.

  3. When you need to promote to production environment you have to provide endponit credentials for production setup.

    Deploy page with Development and Production both Active, and Configurations panel showing Authorization header and Bearer token API key fields


Next Steps

By following these steps, you can efficiently integrate Open AI services into your API Platform environment and manage them with ease.