Geocoding is enabled by activating the standard geocode Data Integration Rules, which Maps and Location Settings links to. You activate each address rule you care about, let the first run process existing records, and from then on new and edited records geocode automatically on save.
- Open Data Integration Rules
In Setup, use the Quick Find box to open Data Integration Rules. The four standard geocode rules for Account billing, Account shipping, Contact mailing, and Lead addresses are listed there, alongside the Maps and Location Settings configuration.
- Review the rule before activating
Select a geocode rule and review its field mapping and the overwrite behavior. To test safely first, you can update a few records manually with the bulk option deselected, confirm the coordinates populate as expected, then proceed.
- Activate the rule
Activate each address rule you need. On first activation the rule runs as a batch against the object's existing records. If the object holds more than 10 million records, the initial bulk run is skipped and you geocode those records another way.
- Confirm ongoing geocoding and check accuracy
After activation, records geocode automatically when added or edited. Because the service is asynchronous, allow a short delay, then query the Latitude, Longitude, and accuracy fields to confirm new records resolve at a usable confidence level.
Populates BillingLatitude, BillingLongitude, and BillingGeocodeAccuracy on the Account billing address.
Populates ShippingLatitude, ShippingLongitude, and ShippingGeocodeAccuracy on the Account shipping address.
Populates MailingLatitude, MailingLongitude, and MailingGeocodeAccuracy on the Contact mailing address.
Populates Latitude, Longitude, and GeocodeAccuracy on the Lead address.
- The geocode rules use an overwrite method, so reactivating a rule or editing an address can replace previously good coordinates.
- The initial bulk run does not execute on an object that already holds more than 10 million records.
- Coordinate and accuracy fields are read-only and hidden from standard layouts; query them through SOQL or the API to verify results.
- Activating geocoding does not grant a Salesforce Maps license or configure Field Service location rules; those are separate setups.