In order to utilize the Google Maps routing functionality within the Manifest, it is vital that you register a Google Maps API key.
- Login to your Google account from https://console.cloud.google.com/.
- if you do not have a Google account, register for one via https://accounts.google.com/signup.
- You will also require a billing account to be attached to the Google account - this can be setup via https://console.cloud.google.com/project/_/billing/enable.
- Click into APIs & Services ► Library via the menu on the left of the page.
- If you do not have an existing project, please create one.
- Under Maps, click View All.
- Select Maps JavaScript API.
- Click Enable.
- Click the back arrow.
- Select Geocoding API.
- Click Enable.
- Repeat steps 6-8, enabling both the Distance Matrix API and Directions API.
- Click into APIs & Services ► Credentials using the menu on the left of the page.
- Click Create Credentials ► API key.
- Copy the API key to your clipboard by clicking the copy button.
- Launch Prima and login to the Administration application.
- Navigate to System Keys ► Manifest ► Google Map API key.
- Paste the API key from your clipboard into the field.
- Click Save and Close.
To verify that the API key is functional: navigate to a company location with valid coordinates (longitude/latitude) set, click into the Map tab and ensure that the Google Map is loaded correctly.