How to generate a Google Map API key: Difference between revisions

From Aspire Digital Solutions Software
Jump to navigation Jump to search
No edit summary
m (Protected "How to generate a Google Map API key" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(6 intermediate revisions by the same user not shown)
Line 11: Line 11:
'''A.''' Creating a new project:
'''A.''' Creating a new project:


[[File:Create-new-project.png|800px]]
'''1.''' Click on Create Project (above screenshot).


'''2.''' Enter details and click on Create.


[[File:Create-new-project.png|600px]]


Enable the Google Maps JavaScript API for your project.


Create an API key for your project.
'''3.''' Select project if prompted.


Restrict the API key if desired for added security.
[[File:Select-project.png|400px]]
 
 
'''4.''' Select Billing Account if prompted.
 
[[File:Select-billing-account.png|400px]]
 
 
'''5.''' Copy the API key and keep it safe. Click on "Go to Google Maps Platform."
 
[[File:Copy-api-key.png|400px]]
 
 
'''6.''' Enable Geocoding and Places API (if not enabled).
 
[[File:Enable-apis.png|400px]]
 
 
All set!!
 
Now, use the copied API key wherever needed.


Use the API key in your Google Maps application.


For more detailed instructions and guidance, you can refer to the Google Maps Platform documentation.
For more detailed instructions and guidance, you can refer to the Google Maps Platform documentation.

Latest revision as of 10:56, 28 July 2023

To generate a Google Maps API key, follow these steps:

Go to the Google Cloud Console (console.cloud.google.com).

Create a new project or select an existing one.

Google-cloud-console.png


A. Creating a new project:

1. Click on Create Project (above screenshot).

2. Enter details and click on Create.

Create-new-project.png


3. Select project if prompted.

Select-project.png


4. Select Billing Account if prompted.

Select-billing-account.png


5. Copy the API key and keep it safe. Click on "Go to Google Maps Platform."

Copy-api-key.png


6. Enable Geocoding and Places API (if not enabled).

Enable-apis.png


All set!!

Now, use the copied API key wherever needed.


For more detailed instructions and guidance, you can refer to the Google Maps Platform documentation.