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
No edit summary
Line 33: Line 33:




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


Enable the Google Maps JavaScript API for your project.
[[File:Enable-apis.png|400px]]


Create an API key for your project.


Restrict the API key if desired for added security.
All set!!
 
Now, use the 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.

Revision as of 12:47, 14 February 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 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 API key wherever needed.


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