Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 950 Bytes

01_connect_your_account.md

File metadata and controls

25 lines (17 loc) · 950 Bytes

Connect your CARTO account

As a first step you need to connect your CARTO account.

Edit src/config/initialStateSlice.js file and add your own credentials.

    ...
    credentials: {
      username: '<your_username>',
      apiKey: '<your_api_key>',
      serverUrlTemplate: 'https://{user}.carto.com',
    },
    ...
  },

The API KEY could be set to default_public if you're dealing with public datasets and you don't need to use dataservices (geocoding, routing or isochrones).

If you're dealing with private data and/or data services you need to provide a valid API KEY.

OAuth Apps are available for more complex use cases, we'll cover this later on Permissions and user management.

Once you've connected your account, jump to the next guide Create a page with a layer and widgets.