--- title: "Configure the Google Geocoding Service" slug: "s3suite94-configure-the-google-geocoding-service" updated: 2026-10-27T18:41:54Z published: 2026-10-27T18:41:54Z canonical: "docs.onespan.com/s3suite94-configure-the-google-geocoding-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure the Google Geocoding Service Unlike mobile apps, a web-based app can only send the latitude and longitude of the user's location, not the country code. To enable your web app to use an Adaptive Rule whose condition contains a Countries list, you need to configure the Google Geocoding API. Once that configuration is done, the Nok Nok Authentication Server can get the country code from the latitude and longitude. You can perform this optional step post-installation. To configure the Nok Nok Authentication Server to use the Google Geocoding API: 1. [Set up a Google Cloud Project](https://developers.google.com/maps/documentation/geocoding/cloud-setup) to enable the Geocoding API. 2. [Create and restrict your API key](https://developers.google.com/maps/documentation/geocoding/get-api-key) for the Google Maps Platform. Give the Nok Nok Authentication Server access to your Google Geocoding API Account by adding the IP/host of the server to the list of Application restrictions. 3. Encrypt the API key using NNL_HOME/install/nnl-encrypt-password.sh. For more information, see [Step 4: Encrypt Credentials](/dpoa/docs/s3suite94-step-4-encrypt-credentials-used-by-the-server) in the Linux installation instructions. 1. Use nnl-mgmt.sh to assign values to the tenant-specific property nnl.geo.coder.google.api.key: ```plaintext ./nnl-mgmt.sh properties set -tenantid -name nnl.geo.coder.google.api.key -value ```