Google Search API Credentials

Use Google Search API Account Credentials to establish a secure and authenticated connection from HCL UnO Agentic AI Buildersolutions to the Google Custom Search JSON API. This allows your agents to perform programmatic searches using Google's powerful search capabilities, either across the entire web or within specific websites you define.

Before you begin

Ensure the following prerequisites are met:

  • You must have a Google Cloud project with the Custom Search API enabled.
  • A Custom Search Engine (CSE) must be created and configured, with a valid CSE ID available.
Table 1. Mandatory fields
Option Description
Credential Name

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

Google API Key

Your Google API Key, obtained from the Google Cloud Console. This key authenticates your application's requests to Google APIs.

Google CSE ID The unique ID of your Google Custom Search Engine (CSE). This ID specifies which search engine configuration (and thus which sites to search) your API requests will use. You can create and configure CSEs at programmablesearchengine.google.com.
Table 2. Optional fields
Options Description
K The number of search results to retrieve per query. This allows you to control how many results are returned by the API.
Siterestrict A checkbox that, when selected, ensures that the search results are strictly limited to the sites defined within your configured Google CSE. When unchecked, the search may include results beyond those sites, depending on your CSE configuration.