Skip to content

How to get your Mapbox tokens

Eduardo Gómez edited this page Aug 15, 2019 · 2 revisions

How to get your public token

First of all, you need to create a Mapbox account (if you haven't yet), then go to the Tokens page: https://account.mapbox.com/access-tokens/

Then you have to copy your default public token and save it into the plugin settings.

To save it just open Sketch and go to Plugins/Map Generator/Enter your Mapbox tokens and username... or just press shift+cmd+u and save it where it says Enter your public token:.


How to generate a secret token

Go to your account and create a new token. For this you must follow these steps:

  1. Click the button + Create a token
  2. Enter a name for the token
  3. Make sure to check the secret scope STYLES:LIST

It should look like this:

  1. Click the button Create token

As the Mapbox website says, you must save your new token somewhere else before leaving that page, otherwise you won't see it again. I recommend you to paste it right away into the plugin settings.

To save it just open Sketch and go to Plugins/Map Generator/Enter your Mapbox tokens and username... or just press shift+cmd+u and save it where it says Enter your secret token:.

Clone this wiki locally