How to integrate your Google API key with SmartlyQ

Search for images for your content via Google Search with your own API key!

Introduction

In SmartlyQ you can use your own Programmable Search Engine and custom search JSON API key to utilize Google Search and find images for your content.

Follow our step-by-step guide below to implement this feature!

image

Step 1: Create Your Google Search engine ID

1. Log into SmartlyQ:

  • Go to the SmartlyQ app and log in to your account.

2. Navigate to Avatar> Account**:**

  • Look for the Account on the top left corner in the left side menu. Expand the "Avatar" dropdown (with your name) and select the "Account" option.

image

  • In the next screen select "Google API" from the left side menu and locate the "Google" section.

image

3. Create your first search engine!:

image

You'll be presented with the following window:

image

  1. Enter a name for your search engine, eg SmartlyQ

  2. Choose where the search engine will be allowed to search

    • Search within specific sites or pages
    • Search the entire web
  3. Under search settings select "Image search" and optionally "SafeSearch" (if you want to filter your results)

  4. Complete the recaptcha requirement

  5. Finally, press "Create"!

image

Press "Customize", and in the following screen "Overview", you can see your "Search engine ID".

image

Copy it, save it somewhere and paste it in SmartlyQ's "Search engine ID" field.

image

Step 2: Create Your Google search API Key

1. Navigate to the Custom Search JSON API: Introduction article and press the "Get a Key" button.

image

2. In the following window, form the dropdown menu, select "+Create a new project"

image

Give it an appropriate name, agree to the terms and press "NEXT".

image

3. You're all set! Press "SHOW KEY" to get your key and copy and paste it in SmartlyQ's "Search API key" field. Finally, press "Save changes". 

image

You can also view the video version of the above tutorial here:

Smartlyq

1 month ago

The comments are closed.