- Visit https://cloud.google.com/maps-platform/
- If you’re not logged in your Google account click on SIGN IN on the top right and log in, please.
- After you’re logged in click GET STARTED button.
- It will ask you to select services that you want to use:
.
Please select Maps. Routes and Places are optional and are needed only if you want to use Google for address searches (we recommend that) and route planning (not available yet). Click CONTINUE.
. - Now click on Select or create project and click + Create a new project.
. - Enter the project name, e.g. “MyCarTracks API” and click NEXT.
. - Now you will be asked to enable billing for your new project. Click CREATE BILLING ACCOUNT.
. - Accept the terms
.
- Enter your Business details and enter a payment method.
- Now the setup will inform you about enabling API’s, press NEXT
. - After the platform is enabled you will get your API KEY. Now click the link API Console
Because we need to add restrictions. (If you clicked DONE you will see a warning on top that you should secure your API key, click on SECURE CREDENTIALS).
. - See picture below. Under Application restrictions select HTTP referrers (web sites) and enter https://*.mycartracks.com into the input and click Save.
. - Now you will see your restricted API KEY under API keys. Click on the copy icon near the API Key or just select and copy it (Ctrl + C or CMD + C).
. - Now log in to your mycartracks.com account if you’re not already.
- Click on your name on the top right and select Settings.
- Use the tab Google Maps. Here enter the API KEY that you copied
. - Select the options where you want to use Google Maps and click Save.