How to get an API key for Google Maps on LianaCMS

  • Updated

All those that use Google Maps interface on their websites and online stores need to deliver two API key that are created on Google's website to their Liana Technologies liaison.

Google Maps services are chargeable for those companies that utilize them more. For most users, however, it is still free of charge because Google doesn't charge usage fees that are under 200$ a month. Nonetheless, Google requires all users to add a credit card to their site. Read more about Google's pricing here. 

In order to get the API keys and to add a credit to Google's service, perform the following steps:

1. Head to https://cloud.google.com/maps-platform/ and sign into you Google account from the person icon in the top right corner. 

2. Click Get Started from the top right corner.

3. Check the boxes for all the selections: Maps, Routes and Places. Click Continue

googl_11.png

4. On the page that opens, click Create a new project a from the dropdown menu and give the project a nameIf the system requires you to accept the terms of service, check them and agree. Click Next. If the system notifies about an error at this stage, repeat from the beginning, but at stage 5 select your previously created project.

google-21.png

5. Click Create billing account on the window that opens.

google_maps_3.png

6. Give the account a name and click Continue

google-22.png

7. Select the country for the billing address from the dropdown menu and click Confirm

google-24.png

8. Enter your contact information and credit card details into the window that opens.

9. Once you have created the account, you get an API key. Copy the key code and continue according to the instructions to get the other key code with http restrictions.

google_maps_8.png

10. Head to https://console.cloud.google.com/ and choose the project you have created by clicking the dropdown menu from the top left corner and then clicking the project name on the window that opens. Then click Open

google-20.png

11. Click APIs & Services from the menu on the left and then Credentials from the menu that opens.

g_frames.png

12. Click Create credentials on the window that opens and choose API key under it.

google_maps_14.png

13. The system now creates another API key, for which http restrictions are created next. Click Restrict key.

google_maps_15.png

14. Click the HTTP referrers section at the bottom of the page that opens and enter your domain in the field in two different formats, address.com and *.address.com, so that subdomains will be taken into account as well.
If you have multiple domains in use, for example address.com and address.hk, add both variations of both: address.com, *.address.com, as well as address.hk and *.address.hk. Click Save.

google_33png.png

15. Now copy both of the API keys from the page that opens and also make a note which of the keys has None in the Restrictions field and which one has HTTP referrers

Send the information to Liana's technical support by email. 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.