Google Maps API setup for the offline mobile app
Key Takeaway
The Google Maps API key comes from Google, not Salesforce. An admin enters it in Setup under "Custom Settings", in the "System Setting" custom setting, in the "Value" field of the Google Maps provider setting.
The Agentforce Consumer Goods offline mobile app has Google Maps built in, so field reps can see store locations, distance, and driving directions on their mobile devices. An admin gets a Google Maps API key from Google and stores it in a custom setting in the Salesforce org, so the app can call Google Maps.
Google Maps in the offline mobile app
Google Maps is integrated with the Agentforce Consumer Goods offline mobile app. Field reps make API calls to Google Maps from their mobile devices to see store location details, such as distance and driving directions.
The offline mobile app uses two Google Maps APIs: the Maps JavaScript API and the Directions API.
Google Maps appears in rep workflows such as the Tour Cockpit. The Next Visit Guidance card shows the location of the upcoming visit on the map. When a rep taps "Navigate To Map", the app shows the visit navigation on Google Maps.