Welcome to our Support Center

< All Topics

How to generate Google Maps API Key?

Google Maps is service which provides interactive maps of all the locations worldwide. You can find any business, real estate, hotels, travel spots, etc. on Google Maps with ease and navigate the world.

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

  1. Go to the Google Cloud Platform Console (https://console.cloud.google.com/).
  2. If you don’t have a project yet, create a new project by clicking on the project dropdown menu at the top of the page and selecting “New Project.” Enter a name for your project and click “Create.”
  3. Once you have a project, make sure it is selected in the project dropdown menu at the top of the page.
  4. In the Cloud Platform Console, click on the menu icon in the top-left corner, then select “APIs & Services” and “Library” from the navigation menu.
  5. In the Library, search for “Maps JavaScript API” and select it from the results.
  6. Click on the “Enable” button to enable the Maps JavaScript API for your project.
  7. After enabling the API, click on the back arrow in the top-left corner to return to the “APIs & Services” dashboard.
  8. Click on the menu icon again, select “APIs & Services,” and this time choose “Credentials.”
  9. In the Credentials section, click on the “Create Credentials” button and select “API key” from the dropdown menu.
  10. Your API key will be created. You can click on the copy icon to copy the API key to your clipboard.

Note: It’s important to secure your API key and restrict its usage to prevent unauthorized access. You can set restrictions for your API key in the Credentials section, such as restricting it to specific IP addresses, websites, or usage quotas.

Once you have generated the API key, you can use it in your WordPress website to access Google Maps services and features.