# Getting a Mapbox API access token

{% hint style="info" %}
For information on the **Mapbox** component, see [**this article**](https://learn.squirrel365.io/components-functions-and-connections/overview/dataviz/mapbox)
{% endhint %}

For the Mapbox component to work it needs to connect to your mapbox account. This is done by providing an **Access Token** in the **MAP SETTINGS** section of the property panel.

To find this token you will need an account with Mapbox - you can follow [**this link**](https://www.mapbox.com/) to set one up.

### Locating the key

1. Log in to your Mapbox account
2. The default public token is displayed on the account overview page and can be copied from here.&#x20;
3. To view all tokens click on the tokens option under the the Admin section of the console menu.&#x20;

### Required scopes

In order for the Mapbox component to work in Squirrel the token used must have the **STYLES:READ** scope.

For more information on managing tokens in Mapbox, check out [this Mapbox article](https://docs.mapbox.com/help/getting-started/access-tokens/#how-access-tokens-work) .
