Configuring Google APIs
Important
In order to use the Google APIs, please contact your Akuiteo project manager.
Google APIs are used to make specifying the number of kilometers when creating expenses in expense reports on the new Web Portal and Akuiteo Mobile.
The following APIs are available:
- Place Autocomplete which is used to specify a departure address and an arrival address from a free input.
- Distance Matrix which allows you to quickly calculate the number of kilometers depending on the departure and arrival addresses specified beforehand.
Important
Place Autocomplete can be used without enabling Distance Matrix. However, Distance Matrix cannot be used alone and requires enabling Place Autocomplete.
Google APIs are configured in the Administration console, from the Third-party interfaces > Google API menu.
Specify the following information to configure the Place Autocomplete API :
| Field | Description |
|---|---|
| Enable Place Autocomplete API |
Check this box to enable the Google Place Autocomplete API. |
| Place Autocomplete API Key |
Specify the Place Autocomplete API Key. The API key is provided by Google from https://console.cloud.google.com/. |
Click on Save for each field specified or modified.
To test your connection to the Place Autocomplete API with the specified values, click on the Test button.
Specify the following information to configure the Distance Matrix API :
| Field | Description |
|---|---|
| Enable Distance Matrix API |
Check this box to enable the Distance Matrix API. |
| Distance Matrix API Key |
Specify the Distance Matrix API Key. The API key is provided by Google from https://console.cloud.google.com/. |
Click on Save for each field specified or modified.
To test your connection to the Distance Matrix API with the specified values, click on the Test button.