Google API🔗
Some sources are not integrated directly but are searched via Google Custom Search. A Google API key is required to be able to search in those. The cost is $5 per 1000 queries and the first 100 queries per day are free.
Setting up Google Custom Search🔗
Enable the Custom Search API🔗
-
Log in to Google Cloud Console using a Google account.
-
Go to the Custom Search API by searching for it.
-
If you don't have an active project in the Google Cloud Console yet, you may need to create one and give it a name (e.g. "Textkernel")
-
Enable the Custom Search API on the page that follows. Afterwards, you will be redirected to the API Details page for the Custom Search API.
Create credentials🔗
-
On the API Details page for the Custom Search API, click "Credentials" in the menu on the left hand side. Do not click the "Create credentials" button in the top right corner.
-
On the "Credentials" page, select "Create credentials" and choose "API key".
-
A pop-up follows that shows the API key that you need to pass to Textkernel. Copy it so that you can send it to Textkernel later. Keep the pop-up open open.
Restrict the API key🔗
-
Now we need to add some restrictions. On the pop-up, click "Edit API key".
-
On the page that follows, restrict the API key so that it can only be used for the Custom Search API. You can do this by selecting it at the bottom of the page.
-
Your API key will never be visible to users or on the web, and we are still going to configure quotas next. It is therefore not necessary to further restrict the API key.
Configure quotas🔗
-
To configure quotas, go back to the API Details page. You can get there by searching for "Custom Search API" and afterwards selecting "Manage".
-
On the API Details page for the Custom Search API, select the "Quotas" tab.
-
By default, there is a limit of 10,000 queries per day. You can lower the limit here to keep your costs under control.
Add a billing account🔗
-
Follow the steps on this page to create a billing account and link it to your project.
-
Ensure that the billing account is associated with your project. You can verify this on the billing overview page.
Send your API key to Textkernel🔗
Please send the Google API key to your Textkernel consultant and we will set it up in Textkernel Source.