Google Search Connection

See the Connector Marketplace topic. Please request your administrator to start a trial or subscribe to the Premium Google Search connector.

Google Search is Google’s web search engine for finding information on the internet.

This topic describes how to authenticate to Google Search and configure any necessary connection properties in the Google Search connection connector.

Prerequisites

Enabling the Custom Search API and Getting the API Key

To authenticate requests to the Custom Search API, follow the steps below:

  1. Log into the Google API console and select a project.

  2. In the side bar under APIs & Services, click Library and then select the Custom Search API. Click Enable.

  3. In the side bar, click APIs & Services -> Credentials.

  4. Click Create Credentials -> API Key.

  5. Select the API Key to restrict the key to your platform.


Creating a Custom Search Engine

Follow the steps below to create a custom search engine and obtain the Custom Search Id value:

  1. Sign into the Google Custom Search Engine site.

  2. Click New Search Engine and add a site to focus the search on.

  3. Click Edit Seach Engine, select your search engine in the menu, and then click Setup.

  4. In the Details section, click Search Engine Id to retrieve the search engine Id used as the CustomSearchId in the connection.

  5. In the Sites to Search section, you can additionally select the Search the Entire Web but Emphasize Included Sites option in the menu.


Connection Configuration

Each connection property available in the Google Search connector is explained below.


Connection Name

The name of the connection to be created should be provided. This is the name that will display on the list of available connections.


API Key

Your key for the Custom Search API.

This API must be enabled in the Google API Console.

Note: You need to set the CustomSearchId to connect.


Custom Search ID

The Id of the Custom Search engine.

You can obtain an Id by logging into your Google account and creating a Custom Search engine.

An APIKey is also required to connect.


Enable SSL

Option to enable SSL. This field sets whether the connector will attempt to negotiate TLS/SSL connections to the server. By default, the connector checks the server’s certificate against the system’s trusted certificate store.

Upload Keystore File

If SSL is enabled, a keystore file has to be uploaded using this option.


Add Configuration: Additional properties can be added using this option as key-value pairs.


After entering all the details, click on the TEST button.

If the connection service identification and authentication details are provided correctly, a success message stating “connection available” is generated.

Click on the CREATE button to save the changes.

If the details are incorrect or the server is down, you will get a message “Connection unavailable”.

Top