Skip to content

Mapbox

Mapbox is a location platform providing map tiles and styles, routing (Directions) and geocoding. Connecting a Mapbox token lets ALIGN use those services on your behalf, in several places across the Map Builder.

A connected Mapbox token unlocks, wherever you choose to use it:

Each of these is opt-in per widget/map: connecting the key makes Mapbox available, you still pick it in the relevant widget’s parameters.

Mapbox uses access tokens. There are two kinds:

  • A public token (starts with pk.) — used client-side to render maps, compute Directions and geocode. This is the one the widgets above need.
  • A secret token (starts with sk.) — only for account-level Mapbox APIs; optional for ALIGN.
  1. Sign in at the Mapbox access tokens page.
  2. Copy your default public token (pk.…), or create a new one scoped to what you need.
  3. For a token used on published maps, add URL restrictions in Mapbox so it only works from your domains.
  4. In ALIGN, go to Dashboard → Integrations and paste the token for Mapbox. You can store the public token, and the secret token as well if you have a use for it.

The Mapbox token is stored on your ALIGN account and resolved at runtime. It never enters the map document: a map you save, publish or share carries no credential. Where a widget offers a keyless alternative (OSRM for Directions, Nominatim for Reverse geocode), it keeps working without any key.