Skip to content

Mapbox

Mapbox replaces the built-in address search (OpenStreetMap) with Mapbox suggestions while you type in the address field of the contact editor — generally more complete street and house-number coverage, in your language.

The app is free and uses your own Mapbox account: its monthly free tier covers a lot of searches, then Mapbox’s price list applies. See Official apps for how it is installed and where it runs.

  • While you type (3 characters or more), the app asks Mapbox’s Geocoding API for addresses and streets, in the language of your CRM session and restricted to the country picked on the address. The first 5 suggestions appear under the field; picking one fills street, number, city, province or state (whichever belongs on a postal address of that country), postal code and country.
  • When Mapbox is slow, down, or the app has no token yet, the CRM quietly falls back to the built-in OpenStreetMap search: suggestions keep coming either way.
  • The same suggestions serve the buyer address on checkout pages (when the checkout shows the address with autocomplete on): installed app first, then the built-in geocoder.
  • Permanent geocoding: Mapbox’s terms allow keeping results only with its permanent geocoding endpoint, priced apart from the free tier. Since the CRM stores the address you pick, the settings screen has a Permanent geocoding switch — read Mapbox’s terms and prices and decide; the app then calls Mapbox accordingly.
  • The token is stored encrypted and never shown again (only its last 4 characters); the app keeps nothing about contacts or addresses.
  1. On account.mapbox.com, create an access token (Tokens) with the default public scopes and no URL restrictions — requests come from the app’s server, not from a browser.
  2. In amabledata open Settings › Apps, install Mapbox (category Data quality) and approve the permission (contacts, read).
  3. Open the app’s Settings, paste the token and save: it is checked with Mapbox and stored encrypted.
  4. Decide on Permanent geocoding (see above) and save.

Removing the token (or pausing the app) returns the contact editor to the built-in search.

  • Scope: contacts:read.
  • Up to 5 suggestions per search; search starts at 3 typed characters.
  • Mapbox is given the query text only — never the contact it belongs to.
Symptom Cause Fix
“invalid_token” when saving The token is wrong, revoked or URL-restricted Create a token without URL restrictions and paste it again
“mapbox_unavailable” when saving Mapbox had a hiccup Retry in a minute
Suggestions look like the built-in ones The app has no token, was paused, or Mapbox answered too slowly (the CRM fell back) Check the app settings; the fallback is by design
An address Mapbox knows is missing Only address and street results are offered (no POIs, cities alone, …) Type a street address