Plugins
Default Plugins
Google Search Plugin

Google Search Plugin

The Google Search Plugin enables the Model to perform queries with Google. To set it up, you need to provide an API key to allow the Plugin to connect with a Google account.

1. Create your engine

Go to the Programmable Search Engine console website (opens in a new tab) by Google and start creating your first search engine (the link provided should already redirect you to the creation flow).

We recommend setting the following parameters:

  1. For the name, use "Quartzite", so that you can easily refer back to it in the future.
  2. Toggle "Search the entire web"
  3. Finally, click "Create" to complete this first step.

Programmable Search - Create a Search Engineassets/google-search/

You will be presented with the following screen (below). Click "Customize" to view the details.

Programmable Search - Congratulations

Next, copy the ID of your newly created Search Engine, and store it until we are ready to add it to Quartzite (you can simply leave the browser tab open while we move to the next step).

Programmable Search - Customize Search Engine

2. Add the Engine ID to Quartzite

Navigate to https://app.quartzite.ai/plugins (opens in a new tab), then find the Google Search Plugin and click on "Settings".

Quartzite AI - Plugins settings page

Next, past the recently created Search Engine ID into the Search Engine ID field.

Quartzite AI - Add Search Engine ID

Please note: you won't be able to save the updates yet, but don't worry, cause we are going to get and add the API key next. Just make sure not to close the browser tab with Quartzite.

3. Get your Google Search API key

Now we need to get the API key, which is a secret code required to authorize your requests. To do so, go to this link: https://developers.google.com/custom-search/v1/introduction (opens in a new tab).

You should see the page below. Click on Get a Key.

Programmable Search Console - Get API key

You will be asked to which Google Cloud project the API key should be assigned. Also in this case, we recommend creating a new Project called "Quartzite" to easily identify the purpose of the project in the future.

Programmable Search Console - Select or create a Project

Then, click "Next" and the Key will be created. Click now on "Show Key" to view your key. Important: Google won't show you the key again, so make sure to copy it to the Clipboard. Now, return to Quartzite (you should still have the page open from earlier), add the API Key, and then click Save.

Quartzite - add API key to Plugin settings

That's it! You are now ready to use the Google Search Plugin.