API Key Credentials

Use API Key Credential to establish a secure and authenticated connection from HCL UnO Agentic AI Builder solutions to web services or APIs that rely solely on an API key for authentication. This allows your agents to make authenticated requests to external systems using a simple and widely supported authentication method.

Before you begin

  • Obtain a valid API key from the service or provider you intend to integrate with.
  • Confirm the correct HTTP header name (or query parameter) required by the API.
  • Check if a prefix (for example, Bearer, Token) is required before the API key in the header.
Table 1. Mandatory fields
Option Description
Credential Name

A unique, user-defined name for this specific API Key credential. This name will be used to identify the credential within the HCL UnO Agentic AI Builder.

Key

The actual API key string provided by the service you are integrating with. This key is highly sensitive and must be kept confidential.

Table 2. Optional fields
Options Description
Header Name The name of the HTTP header where the API key should be sent. Common header names include Authorization, X-API-Key, or api_key. If left blank, the system may default to sending it as a query parameter or use a default value defined in the integration.
Prefix An optional prefix to be added before the API key value in the header. For example, if the header value should be
Bearer
      YOUR_API_KEY
, the prefix would be Bearer.