Beautiful Maps - Mapbox
  • Introduction
    • 👋Welcome
    • Key use cases
    • Key features
    • Demo apps
  • Getting Started
    • Registering for a Mapbox account
    • Install the plugin
    • Adding the access token
    • Adding a map to your app
  • Loading a Map
    • Selecting a default location
    • Setting zoom levels
    • Setting a map style
    • Adding controls to a map
  • Loading Markers
    • Structuring your database for markers
    • Adding multiple markers
    • Adding a single marker
    • Adding popups to markers
    • Using custom icons
    • Changing marker on hover
    • Removing markers from a map
    • Trigger an action when marker is clicked
  • Geolocation
    • Show the user's current location
  • Drawing Mode
    • Drawing shapes on a map
    • Saving drawings
    • Loading drawings
  • Route Navigation
    • Adding navigation
Powered by GitBook
On this page
  • Creating an access token
  • Token security
  1. Getting Started

Registering for a Mapbox account

PreviousDemo appsNextInstall the plugin

Last updated 4 months ago

In order to use the Beautiful Maps - Mapbox plugin, you'll first need to register for an account on the Mapbox website (link ).

Mapbox is a paid service, but they have a very generous free tier. You can see full details of their pricing at .

Creating an access token

Once you've registered for an account, you'll need to generate an access token. Navigate to the and click on the 'Create a token' button and give your token a name.

Token security

It is highly recommended that you restrict your access token to the URL of your Bubble app. You can do this by adding the URL of your Bubble app to the URL field in the 'Token Restrictions' section:

Your Mapbox access token will be visible in your browser's developer tools. If you do not restrict usage to a certain URL, anyone can use your token.

You'll need to add this access token once you've installed the plugin (see the 'Adding the access token page').

here
this link
'Access tokens' section of your dashboard