Watsonx.ai settings

The watsonx.ai service is required to support intelligent features across IBM® API Connect, including API Agent and other capabilities.

Before you begin

For software/on-premises installations, first enable API Agent on the management CR before you configure watsonx.ai settings. For more information about enabling API Agent, see Enabling API Agent settings.

About this task

Add your watsonx.ai credentials to enable the API Agent. Within API Agent, watsonx.ai provides access to a language model and is essential for enabling the agent to perform tasks such as tool selection, planning, and summarization, as well as powering tools that generate APIs and support design and development workflows.

Procedure

  1. Log in to API Manager.
  2. On the Settings page, select the AI tab and then click Add.
  3. In the Add watsonx.ai configuration dialog box, enter the details and then click Done:
    1. From the URL list, select the URL.
    2. In the Authentication field, enter an IBM Cloud API key or bearer token that has the correct permissions to use the foundation models that are provided by watsonx.ai.
    3. In the Environment field, enter your project ID or deployment space ID that is associated with your watsonx.ai service.
  4. Optional: To verify the connection, click Test.
  5. To use your watsonx.ai credentials as the default one for API Agent, select Set as default.