Publishing projects

Publish a project or selected AI assets to make them available in DataPower® Nano Gateway and Developer Portal.

About this task

In IBM API Studio, creating an MCP server or LLM provider configuration does not automatically make it accessible. To enable consumption, publish them to either DataPower Nano Gateway or to both DataPower Nano Gateway and Developer Portal based on your business requirement.

You can publish
  • An entire project, including MCP servers and LLM provider configurations.
  • A specific file within a project.
Note: Updating an API in the DataPower Nano Gateway does not sync the changes back to IBM API Studio. Manage API updates within IBM API Studio before redeploying them to the DataPower Nano Gateway.

Procedure

  1. From IBM API Studio home page, publish the project in one of the following ways:
    • Click the project that you want to publish.

      The project opens in the explorer.

    • Click the overflow menu for the project and select Publish project.

      The Publish project dialog opens. Go to Step 4 if you choose this option.

  2. If the project opens in the explorer, choose the project or a file inside a project.

    If the selected file has external references, the referenced file is also published along with the selected asset. When duplicate assets are referred, that is when a namespace:name:version number is duplicated in the publishing project, then any one asset gets published based on the order of creation in the deployment.

  3. Click Publish.

    The Publish project dialog box appears. IBM API Studio publishes the AI assets by default to DataPower Nano Gateway.

  4. Select Publish to Developer Portal to publish AI assets to Developer Portal in addition to DataPower Nano Gateway.
  5. Select the AI assets that you want to publish.
  6. Click Publish.

    IBM API Studio publishes the selected assets to DataPower Nano Gateway and Developer Portal and displays the published endpoints. Copy the endpoints and test the MCP server and LLM API endpoints to confirm that they work as expected.

What to do next

Access the published assets. For details, see Accessing published AI assets.