All Collections
GeoGrid Search
GeoGrid/GeoBooster widgets API setup
GeoGrid/GeoBooster widgets API setup

How to obtain an API key for your widgets

S
Written by Sebastian Donnelly
Updated over a week ago

A GeoGrid/GeoBooster widget is an embeddable widget that you can insert into your website’s page to let your potential clients check their business’s ranking on Google Maps and apply to your services as a SEO professional to improve their position.

To create a widget, you go to the GeoGrid section of your Local Viking account and choose the corresponding menu. The same applies to the GeoBooster widget.

Click `Create` to see the info you need to add - the API key is a part of it. To obtain the 'Autocomplete API key', you need to do the following:

First, you're going to need a project created. Go to the Google Console and create a new project.

Next thing - you need a billing. Click on the top left and go to Billing.

Link a billing account if you have none.

Connecting your credit card to a billing account doesn't mean you'll get charged - the free limits Google provides are quite enough.

Having set that up, you're going to land on the Billing Overview page. To make sure you don't go past Google's limits, don't click 'Activate' on the top right until you have used your free 90-days trial.

Your next step is to scroll the right menu down to the 'APIs & Services' and click 'Library'.

We're looking to activate two APIs - Places API and Map Java Script API.

Get inside and click 'Enable' for each one of them.

If you've done everything correctly, you're going to go to 'Metrics' and see your two enabled APIs in the dropdown menu, as shown on the screenshot below.

Click 'Create API key' and there you have it. Copy and paste that to your GeoGrid widget.

Having done that, all that is left is some appearance to be set up. You can name your widget and give a little bit of description of its functionality to the potential users, edit fields placeholders as well as add some extra fields and require a GDPR or a ToS.

Preview your widget with a toggle on top of the 'Appearance settings' section.

The last but not least are the email settings. You can adjust the email subject and text, choose to get notified when a GeoGrid report is claimed through the widget, use webhooks to get that data sent wherever you wish, White Label the email if you have that set up in your account, and redirect a user after form submission to some specific page.

Done? Hit 'Create widget', then reach out to it to grab the code snippet, insert that into your website and you are all set!

Did this answer your question?