How to setup Google Places Address Validation

 

Quick Steps:

  1. Sign up for a Google Places API Key
  2. Enter key into Merchant Facility and select Google Places as the Address Helper

1. Login to the Google API Console

Navigate to the Google API Console.  This is located at: https://code.google.com/apis/console

You will be asked to login.  If you do not already have an account then sign up for a free account.

2. Create or using an existing project

Create or using an existing project

3. Locate Places API and Start

Type "Places" in the browse APIs selection.

Once you have located the "Places API", press the "OFF" button to activate the API

4. Agree to Terms and Conditions

Agree to Terms and Conditions

Read, understand and agree to the Terms and Conditions

5. Create Credentials

Click on the "Credentials" link under the APIs & Auth menu option.

Then click on the "Create New Key" button

6. Create a new Server Key

7. Assign Salesforce Server IP addresss

Assign Salesforce Server IP addresss

See the current Salesforce IP server IP Addresses in the following IP addresses to whitelist article (Please make sure you use the addresses in this article under the required for access section as these addresses can vary from the ones shown above screenshot as Salesforce updates IP ranges)

Copy test values in and press Create button

8. Copy your API Key

Copy your API Key

Copy this API key as it needs to be entered into the Merchant Facility in Salesforce

9. Update Salesforce with your Google API Key

Navigate to the "Merchant Facility" Tab in Salesforce.  Press GO button and and for Merchant Facility that you wish to have google Places/Auto complete enabled update the following:

  1. Set the Address Helper to Google Places
  2. Update the Address Password/Token to be your Google Places API code.

Press Save