Get started

  1. Install and set up the API
  2. Get an API key (access services)
  3. Start the Display a map (2D) tutorial

1. Install and set up

There are multiple options for bringing the ArcGIS API for JavaScript into your app. The most common way is to use the AMD modules via ArcGIS CDN. For more options, see Install and set up.

  
<link rel="stylesheet" href="https://js.arcgis.com/4.18/esri/css/main.css">
<script src="https://js.arcgis.com/4.18/"></script>

2. Get an API key

API keys are required to access ArcGIS services, such as basemaps, geocoding, routing, and others. Visit your dashboard and copy your default API key, or set custom scopes and referrers for your specific needs. Include your API key in the tutorials and samples when required in the instructions.

  1. Log in to your dashboard.
  2. Copy your default API key, or generate a new one.

3. Tutorials