Google Map is a well-known map service with a lot of functionalities and API data. For getting an API key and enable them in your site, your site should be live in the server not in your local server. Because you will register to Google Cloud Platform with your live site address.
To get a Google API key, billing info is required. Google Map provides you free 28,000 map loads and searches per month. If you want to use more, you should choose some pricing plan.
Go to the Google Maps API Key Setup Link, click the button Get Started, and choose the Map option over there:
Click the Continue button and enter your project name:
As it is mentioned, you need to provide billing info via the credit card data:
In the next steps, you must fill more information like account type and credit card information:
After filling in all the required information, please start your free trial:
You’re all set! Find the API Keycode as displayed in the image below. Copy the code and click on Done.
Now, you need to paste it in the Google map API key input field:
However, you are not in the finish since you need to enable Google API services as well:
Go to your Google Cloud Platform dashboard via this link.
Then go to APIs & Services > Library, you need to enable three API keys for this purpose shown below:
Search for the Places API and enable it:
Search for the Geocoding API and enable it:
As a result, you will see the Google mapping service in your inventory pages like below: