The watsonx.ai service is required to support intelligent features across IBM®
API Connect, including API Agent and other
capabilities.
For software or 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.
-
Log in to API
Manager.
- On the Settings page, select the AI
tab.
- If you are configuring for the first time, click Add. If you
previously configured, click Edit to modify the existing
configuration.
- In the Add watsonx.ai configuration dialog box, enter the details
and then click Done:
Note: You can enable watsonx.ai from the IBM Cloud and
Software tabs.
- In the Name field, enter the configuration
name.
- From the URL list, select the URL.
- 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.
- In the Environment field, enter your project ID or deployment
space ID that is associated with your watsonx.ai service.
- Optional: To verify the connection, click
Test.
- To use your watsonx.ai credentials as the default one for API Agent, select
Set as default.