{"id":2644,"date":"2018-10-30T06:59:07","date_gmt":"2018-10-30T06:59:07","guid":{"rendered":"https:\/\/www.negup.com\/blog\/?p=2644"},"modified":"2026-03-20T06:12:27","modified_gmt":"2026-03-20T06:12:27","slug":"do-i-need-a-google-maps-api-key","status":"publish","type":"post","link":"https:\/\/www.negup.com\/blog\/do-i-need-a-google-maps-api-key\/","title":{"rendered":"Do I need a Google Maps API key?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p data-aura-rendered-by=\"12:257;a\">By default\u00a0the website builder uses open source maps on the pages of your website. If you prefer to use Google maps, you need an API key to load your maps on your website. An\u00a0API key is a code that is\u00a0used by Google to track how often the map on your website is viewed.<\/p>\n<p><b>You will need a Google Account\u00a0in order to get the API key. <a href=\"https:\/\/accounts.google.com\/ServiceLogin?sacu=1&amp;rip=1#identifier\" target=\"_blank\" rel=\"noopener\">Sign in<\/a>\u00a0if you already have an account\u00a0or <a href=\"https:\/\/accounts.google.com\/SignUp\" target=\"_blank\" rel=\"noopener\">Sign up<\/a>\u00a0to get you started. Beginning on June 11, 2018, Google requires you to\u00a0enable billing with a credit card to have a valid API key.\u200b<\/b>\u00a0<b>For more information on using Google maps on your website please see <a href=\"https:\/\/cloud.google.com\/maps-platform\/user-guide\/\" target=\"_blank\" rel=\"noopener\">Google&#8217;s User Guide<\/a>.<\/b><\/p>\n<div class=\"slds-rich-text-editor__output uiOutputRichText forceOutputRichText\" dir=\"ltr\" data-aura-rendered-by=\"11:257;a\" data-aura-class=\"uiOutputRichText forceOutputRichText\">\n<p data-aura-rendered-by=\"12:257;a\"><strong>Once you have an API Key you will need to save the API Key in the Settings of your Website Builder.<\/strong><\/p>\n<ol data-aura-rendered-by=\"12:257;a\">\n<li>Click <b>Advanced<\/b>\u00a0<strong>Settings.<\/strong><\/li>\n<li>Click <strong>Google Maps.<\/strong><\/li>\n<li>Paste the <strong>Google Maps API Key<\/strong> in the provided field.<\/li>\n<li>Click <strong>Save.<\/strong><\/li>\n<li>Click <strong>Publish Changes.<\/strong><\/li>\n<\/ol>\n<p><strong data-aura-rendered-by=\"12:257;a\"><img decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006KWM\" alt=\"User-added image\" width=\"700\" \/><\/strong><\/p>\n<p data-aura-rendered-by=\"12:257;a\">You should see your map on the Home, Contact Us\u00a0and Attractions pages. If your API key is invalid or has stopped working, the Google maps will not load on your published website. If your leave the <strong>Google Maps API Key<\/strong>\u00a0field blank, your website will use the default open source maps.<\/p>\n<p data-aura-rendered-by=\"12:257;a\"><strong>Details on how to get a Google API key<\/strong><\/p>\n<p><b data-aura-rendered-by=\"12:257;a\">Note:\u00a0<\/b>The following are instructions are provided only as a guide to obtaining an API from Google and we are unable to guarantee the accuracy of these instructions due to constant changes on the side of Google. Should you experience difficulties in obtaining an API Key it is recommended you use\u00a0<b data-aura-rendered-by=\"12:257;a\"><a href=\"https:\/\/cloud.google.com\/maps-platform\/user-guide\/\" target=\"_blank\" rel=\"noopener\">Google&#8217;s User Guide<\/a>\u00a0<\/b>for further assistance.<br data-aura-rendered-by=\"12:257;a\" \/><br data-aura-rendered-by=\"12:257;a\" \/><b data-aura-rendered-by=\"12:257;a\">Get the API key from Google<\/b><\/p>\n<ol data-aura-rendered-by=\"12:257;a\">\n<li>Go to\u00a0<a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key#get-an-api-key\" target=\"_blank\" rel=\"noopener\">https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key#get-an-api-key<\/a>.<\/li>\n<li>Click\u00a0<b>GET A KEY.<\/b><br \/>\n<img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aRs\" alt=\"User-added image\" width=\"500\" height=\"217\" \/><\/li>\n<li>Select <b>Maps<\/b> and click <b>Continue<\/b> from the next screen<br \/>\n<img decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aRx\" alt=\"User-added image\" width=\"500\" height=\"301\" \/><\/li>\n<li>In the Enable Google Maps Platform window, enter a project name (optional) then select <b>Yes<\/b>.<\/li>\n<li>Click\u00a0<b>NEXT<\/b><b>.<\/b><br \/>\n<img decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aS2\" alt=\"User-added image\" width=\"500\" height=\"471\" \/><\/li>\n<li>Select <b>Create Billing Account<\/b> from the next screen<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aS7\" alt=\"User-added image\" width=\"500\" height=\"178\" \/><\/li>\n<li>Select the appropriate country, and then select <b>Yes<\/b> for the Terms of Service<\/li>\n<li>Click <b>Agree and Continue<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aSC\" alt=\"User-added image\" width=\"500\" height=\"483\" \/><\/li>\n<li>Check all details are correct, and enter a payment method before selecting <b>Start My Free Trial<\/b><\/li>\n<li>From the new page, select <b>Create<\/b> and on the Enable Google Maps Platform pop up window, press <b>Next<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aSH\" alt=\"User-added image\" width=\"500\" height=\"221\" \/><\/li>\n<li>Google will now display your <b>API Key<\/b>.<br \/>\n<b>Note:<\/b> You must first secure your key before you save the newly created API key in your Website Builder.<\/li>\n<\/ol>\n<div data-aura-rendered-by=\"12:257;a\">\u200b<b>Key Security<\/b><br \/>\nThe key created is not restricted. Key restriction lets you specify which websites, IP address or apps can use this key to prevent unauthorised use and quote theft.<\/div>\n<ol data-aura-rendered-by=\"12:257;a\">\n<li>In the same window where your API key is displayed, click <b>API Console<\/b>. This will take you to the <b>Credentials<\/b> page.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aSM\" alt=\"User-added image\" width=\"500\" height=\"329\" \/><\/li>\n<li>Under <b>Key Restrictions<\/b>, select <b>HTTP referrers (websites)<\/b>.<\/li>\n<li>Enter your domain in the provided field.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.littlehotelier.com\/servlet\/rtaImage?eid=ka0D00000004Xrw&amp;feoid=00ND00000060OrG&amp;refid=0EMD00000006aSR\" alt=\"User-added image\" width=\"500\" height=\"223\" \/><\/li>\n<li>Click <b>Save<\/b>.<\/li>\n<\/ol>\n<div data-aura-rendered-by=\"12:257;a\">You can now proceed to <a href=\"https:\/\/help.littlehotelier.com\/s\/article\/Google-Maps-API-Key?language=en_US#saveAPI\" rel=\"noopener\" target=\"_blank\">save the API key in your Website Builder<\/a>. Click on the copy icon beside the API key to copy the key.<\/div>\n<\/div>\n<p><strong>Warning<\/strong>: You must have a Google account with <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/usage-and-billing\" target=\"_blank\" rel=\"noopener\">billing enabled<\/a> to generate a key for Google Maps API.<\/p>\n<p>Source: <a href=\"https:\/\/cloud.google.com\/maps-platform\/pricing\/sheet\/?utm_source=em-anncmt&amp;utm_medium=em&amp;utm_campaign=FY18-Q4-global-other-email-other-tbcemail&amp;utm_content=global%7Cen%7Chybr%7C%7C%7C%7C%7C%7C%7Cs:a\" target=\"_blank\" rel=\"noopener\">Google Cloud<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default\u00a0the website builder uses open source maps on the pages of your website. If you prefer to use Google maps, you need an API key to load your maps on your website. An\u00a0API key is a code that is\u00a0used by Google to track how often the map on your website is viewed. You will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2645,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[52],"tags":[],"class_list":["post-2644","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":7}},"jetpack_sharing_enabled":true,"amp_enabled":true,"jetpack_featured_media_url":"https:\/\/www.negup.com\/blog\/wp-content\/uploads\/2018\/10\/api1.jpg","_links":{"self":[{"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/posts\/2644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/comments?post=2644"}],"version-history":[{"count":2,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/posts\/2644\/revisions"}],"predecessor-version":[{"id":2648,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/posts\/2644\/revisions\/2648"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/media\/2645"}],"wp:attachment":[{"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/media?parent=2644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/categories?post=2644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.negup.com\/blog\/wp-json\/wp\/v2\/tags?post=2644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}