{"id":40542,"date":"2020-09-15T17:58:35","date_gmt":"2020-09-15T22:58:35","guid":{"rendered":"https:\/\/webirix.com\/?p=40542"},"modified":"2020-09-15T17:58:36","modified_gmt":"2020-09-15T22:58:36","slug":"api-key-google","status":"publish","type":"post","link":"https:\/\/webirix.com\/en\/api-key-google\/","title":{"rendered":"What is a Google Maps API Key and how to configure it for your business?"},"content":{"rendered":"<h1 class=\"wp-block-heading\"><strong>API Key Google<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is an API Key?<\/strong><\/h2>\n\n\n\n<p>The API (Application Programming Interface (for its acronym in English) is a set of standards that allow 2 different systems to understand each other. An API allows the developer to use a system without having to know how that system is programmed.<\/p>\n\n\n\n<p>In the case of Google Maps, its API offers a series of functions that allow programmers to integrate Google services in their web development (or mobile applications) in a more or less simple way, without having to reprogram all the functionalities. from Google Maps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is an API Key for?<\/strong><\/h2>\n\n\n\n<p>The Google Maps API Key is included within the Google Maps Platform service and combines several individual APIs for the different services or functionalities it offers. From the APIs you can generate maps with custom styles, create routes based on traffic or consult Google Earth or Street View images, among other things.&nbsp;<\/p>\n\n\n\n<p>Since 2017 Google has made the use of a private key mandatory to use its API services, and subsequently implemented payments for certain types of requests.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How much does it cost to get a Google Maps API Key?<\/strong><\/h2>\n\n\n\n<p>The prices of Google Maps Platform are flexible and adapt to the needs of each company. In addition, the platform provides a credit of USD$200 each month to use on its products.<strong> In general, small businesses end up not exceeding this value given by the platform and end up using it for free.<\/strong><\/p>\n\n\n\n<p>Larger companies need a greater volume of specific solutions for their sector; in this way, they will pay only the relative amount that exceeds this value each month. That is, the cost depends on the volume of use and the needs of each business. To know the cost of each service, you can access the <a href=\"https:\/\/cloud.google.com\/maps-platform\/pricing\/sheet\/\">Pricing table<\/a> and estimate the value of the monthly bill.&nbsp;<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>How to get my API Key from Google?<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. Login or create a Gmail account<\/strong><\/h2>\n\n\n\n<p>First, to get a Google Maps API key, you will need to have a Gmail account. If you don&#039;t have one yet, you can create one for free by clicking on the following link: <a href=\"https:\/\/accounts.google.com\/SignUp\">Create Gmail account<\/a>.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. Access the API Console panel<\/strong><\/h2>\n\n\n\n<p>Then, having logged into your Gmail account, you must go to the dashboard <a href=\"https:\/\/console.developers.google.com\/apis\/dashboard\">Google API Console<\/a>. There you will find a screen similar to the image below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/hdgiC_b4HtSDL06juIUzkW6_axNC1Ey8YBpnyopm5j3izYaBQNtwB5UNbBpx3IY7PO8peAQ4lNWlA8K1QQWZICBa9xluFHsItHIBzPjp-2A8oTPtBnLpQ-bOplzbQ4HN8G_3l8v4\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3. Select a project or create a new one<\/strong><\/h2>\n\n\n\n<p>You can only get an API Key from Google Maps if you have a project on the platform. If you have already created one, two options will appear on the right side of the screen: &quot;SELECT&quot; and &quot;CREATE&quot;. In case you don&#039;t have any yet, only the &quot;CREATE&quot; option will appear, which you must click, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/5SJU4N5v_bf1DFiWVOrzEvbdcc3GPYnQUe-q3ABDugazLlDqpqzIDtsce4l6HpjGKtK511DrTWQpKdEl5SSSyz2os0RQptF_vHP9n9Tqis3d42JdyTDYBy6jmnR4PuVT3-KgTukV\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now, you must give your project a name. It is important that this name is related to the role you will perform so that it is easier to identify you from others. After entering the name, just click &quot;CREATE&quot;.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/z-hNRKxj9aurVQAnzxp25VtA1hgRZohrpvEjOkdMCiUEQGWP9z7OAFKdzwnDmx0HRONY0j-SXd_s2XSnxhLOly3XU3a4f4_PAm9m-3frErRzXjIR27yDNOJONHb0neUqTxKsCr5C\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4. Create your credentials<\/strong><\/h2>\n\n\n\n<p>Then you must go to the &quot;Credentials&quot; menu in the sidebar as shown in the image. To access the APIs it is required to have credentials. This is where you will create them. Simply click on the &quot;Create Credentials&quot; button and proceed to select the first option, named: &quot;API Key&quot;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/Wf0STgW2aYhLPTVumuMKhFml6xblhyWKPlWpW9xGGYbhmxQDj0MnxRbSQUCRAK08iccoN2Qcta78zyTHR7QuoZLOdTQLGXpJzSuSTHlHeLrJgOg0thYTyCASyh87MOo4Swqn5dyU\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once this step is done, a new window will open with your API key that you can copy to the clipboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/M7hKU05Wt7Ooe70OQP79zQDoBgNf4HgEmxex8mSjUj2TBqHqucKHqoz24biF42kVFbWv8n_Gj7N3ZGCv_pyvmHNc5IFVk0nkdtF4_x5QstMXbY-DuqfSgRh_4WPPeUWqBxoIHkXj\" alt=\"\"\/><\/figure>\n\n\n\n<p>By clicking &quot;RESTRICT KEY&quot;, you will have the option to change the name of your API key and apply the necessary restrictions according to your usage. If you do not want to apply any restrictions, simply click on &quot;CLOSE&quot;. Once this is done, you can now copy your API Key and enter it in your application or website.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/M0cyhK-Hfc-jtJTy3Ad0NQYyUy8dd-Wp_Qri9DatXXjvAxU6Qcq1UlZMBhTIztDeGhTp7JOoLdxfo_X6nyqZb-Ounntgntn-eyp_JF1XUraX8oJsAQmb_FY5B_nXvFcoXdjnJd2i\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5. Activate your Google Maps API Key<\/strong><\/h2>\n\n\n\n<p>Now that you have your credentials, the next step to obtain a Google Maps API key is to select the API you want to use. To do this, simply access the Library from the side menu where you will have a view like the one shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/oFg18JXIfDx5iP6B8XjRl4yoBPbVuvylBNnJQf9Lf9UyNbfCbns0rIJY-Skeh0Tdw3hR0iKzvaAujCqNcU8nHNaiD0rxrA-rH-uESSozDMDFETFFglrA4tnIXIHchwTN5i-YNiqV\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can browse the page or use the search box to search for the API you want. In this case we need the API inside the \u00abMaps\u00bb section called<strong> Maps Static API<\/strong>. Once you find it, click on it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/6PyayAriT9bfvm7N6ojNgBw_T0sEZQ9ROdw3XlpHmuwy42wJmf7ibv0GGHYX_vTGghVuCbwRCRvzBMyGo_So9QeS98gZAqJ-2GgPaTaZlUyjFf4wqOF6bnDWWFv2kdSN46It7kEr\" alt=\"\"\/><\/figure>\n\n\n\n<p>Selecting any API will take you to a page that contains general information about the API, as well as tutorials, terms of service, documentation and details on the amount you will be charged if you exceed the monthly credit limit of $ $200 dollars granted for all accounts. Click on &quot;ENABLE&quot;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/3slhSxIAMqXuVPQqUQgE_LFsraZ0Bcdx-c9S4nEgTkl7SPtqSru130hsm_n3HnLFtorE7JAwtPj6YBioHEwczdBPbILkCHiLClNZGQWqoslAQVhIc5CLWMbs4E3ZnFmtqc8uuA5E\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will be redirected to the API panel where you can track its usage metrics. Done Now you know how to get a Google Maps API Key!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/M0OzRaiM3nQJylhD0Urk9vhOb8fJVQQS7e0Ywjzv30YJ9YUBxsgSeodmIqDWYL6g6_N1N_4jBH_viKi5M7rgBLuex5CVSWhw2mCZWIz6fxmeTMa0v11okoqGjg4z4gfdevQlWIdv\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>6. Apply coupon and enter payment information<\/strong><\/p>\n\n\n\n<p>Finally, it is important that you validate this information so that your API Key remains active. Go to the icon with the gift box called &quot;Free Trial Status&quot; to proceed with activating your free trial.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/cKZtvC94VfonbrC_d3PCIr0TUn_Q-TLjVtmYa4pAYH_C25bL09Gga7wVP_1vCCGrK6oADKn3KwoC15r3SASyyVYyugR9vWSUJ2gB2gtwSMglz25Jvoz6AoNjHCuUJeUFzeXSN_Wv\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once the message that will appear at the top of the screen is open, click on &quot;ACTIVATE&quot; as shown in the image:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/YVvYLmFSY6Irxe9xlDiaLrmpg4vu8_O9EYmWjHXL1aDC5bDUWouuDWjqiPTlK_AVF0kKKlKu2fL3wxuxfU9YsDsKiIK4VH9dBWAczPGXNBf3FU5MG6vm4U6_N2QGPOpz86BydzF_\" alt=\"\"\/><\/figure>\n\n\n\n<p>A page will open where you can check the conditions of service and additional information as well as mark the country from where the project operates. Click on &quot;CONTINUE&quot; once this step is finished.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/F__dRD94k8bU4XsNl5dSopsTio5nYlurnwUHzi9jnTuw_40AYzkg6HpFTCSmB33NWSsrYrquFXcu3ZVYYJ0CePMCy_nSAT5kAjV239gWwtpaJq_Cduun7PP73-LjtDTNqQu65o_8\" alt=\"\"\/><\/figure>\n\n\n\n<p>In step two you must fill in the form with the requested fields regarding the user information and the payment method. Once the data has been emptied, click on &quot;START FREE TRIAL VERSION&quot; to finish the process.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/-zl50Imww9suA5TAHloea8CXp5T-x1uq9RO5YT9ktxjXFD3yCMPS3lfU_5WUc7EAadC5jc9l2F64VIjJg-pIpr0uncxZHRg0XDFEv3Ea-qI-BrLTn0CNXhGSwdCdopN4mfoUIRms\" alt=\"\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>How to add users to<\/strong><strong><br><\/strong><strong>a project on Google Cloud?<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. IAM &amp; Admin<\/strong><\/h2>\n\n\n\n<p>Up to this point, you must have an account on Google Cloud and have a project enabled, so this configuration will be easier for you. You must enter the <a href=\"https:\/\/cloud.google.com\/cloud-console?&amp;utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=latam-MX-all-es-dr-bkws-all-all-trial-b-dr-1009133-LUAC0009348&amp;utm_content=text-ad-none-none-DEV_c-CRE_346533890762-ADGP_BKWS+%7C+Multi+~+Developers+%7C+Console-KWID_43700043798690028-kwd-663366584330-userloc_1010079&amp;utm_term=KW_%2Bgoogle%20%2Bcloud%20%2Bplatform%20%2Bconsole-ST_%2BGoogle+%2BCloud+%2BPlatform+%2BConsole&amp;gclid=EAIaIQobChMI8_n8gJXf6wIVoP7jBx21nAF8EAAYASAAEgIkhPD_BwE&amp;gclsrc=aw.ds\">Console on Google Cloud Platform<\/a> and look in the sidebar for the option <strong>IAM &amp; Admin<\/strong>, place the cursor on it and click on <strong>YO SOY<\/strong> (Identity and access management).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/-mvXBiKYcEEWyeqKm9lsoa9UA0FKJLrSeAa76fn-o3G7FOuoaRsLxvSs_kJ8nLKB1GJYkaODnSL6xwcUV1sPGqGKTTwyRHQReKPgZfj6SVTmGq218PrG_aVWtLeSMNYMf1QJQYAr\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. Add a user<\/strong><\/h2>\n\n\n\n<p>Once we have entered IAM click on &quot;Add&quot; at the top.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/qxYXH5hM-yWnQsRXjD8h3JxA57vkdInrTpHqEIOZl72DmFTfqbk7UAlyZujy5YIF607_-H8X9KMbGZ4oqhmCHeY1p3NNT0oWlCHM5vVJfuD5HwV5VY3j-IEcp62uvUx_GG84wwzr\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now in the window that is displayed we are going to add our new user to the project in the section <strong>New Members<\/strong>. Enter the email of the new user, select a role for the project (in this case <strong>Owner<\/strong>, which has full access to all resources on Google Cloud Platform) as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/B-OoX_hlWTwO2dv55sV3DwwKbH84N70LUAd8ukh3cRAi_6dgizVFoMSa-Lbu2G_wpW3TEHIaomdqOiqRhPfOQ1DEVMxGZ-I1b7TEqERGZmRYOQNOBc9fqp6usSkzGIsKZ4xuDThf\" alt=\"\"\/><\/figure>\n\n\n\n<p>Finally, you can verify that the email is correct and that the role is the one requested, if so, you can finish the process by clicking on &quot;SAVE&quot;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/CdSg5CVcyYLD8Naz1Z8GTr523xhw1V10Wxo64pUVkOa2r8UVxCTscoFMRLu93ZmblZFh_GtUX76kCylLGHXHsl0Yw9wqQhbrzivqbZKAzZ9Kb-0Jg6x0Nh4Wxg86TNo070J4EMiI\" alt=\"\"\/><\/figure>","protected":false},"excerpt":{"rendered":"<p>The Google Maps API Key is included within the Google Maps Platform service and combines several individual APIs for the different services or functionalities it offers. From the APIs you can generate maps with custom styles, create routes based on traffic or consult Google Earth or Street View images, among other things. <\/p>","protected":false},"author":2760,"featured_media":40546,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2302],"tags":[2339,2337,2143,2338,2340],"class_list":["post-40542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-comercio-electronico","tag-api-key","tag-google","tag-google-analytics","tag-google-cloud-services","tag-google-maps"],"jetpack_featured_media_url":"https:\/\/webirix.com\/wp-content\/uploads\/2020\/09\/apikey_googlemaps-scaled.jpg","_links":{"self":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/users\/2760"}],"replies":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/comments?post=40542"}],"version-history":[{"count":3,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40542\/revisions"}],"predecessor-version":[{"id":40547,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40542\/revisions\/40547"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media\/40546"}],"wp:attachment":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media?parent=40542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/categories?post=40542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/tags?post=40542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}