Create an API key
An Application programming interface key (API key) is a permanent access token that defines the scope and permission for granting a public-facing application access to ready-to-use services.
In this tutorial, you create, configure, and scope an API key that can be used to access ArcGIS location services.
The developer dashboard is the tool you use to create and manage API keys.
Go to the API key page in your developer dashboard.
On the left, click +New API Key and set the:
An API key to use for tutorials
Click Create API key
API keys can be scoped to access different services, service capabilities, and private content. Before using an API key, you need to set the proper scopes.
In the Overview page of the API key, locate Location services at the bottom.
In the Location services pane, click Configure services.
Add scopes by checking the following service cards:
- Geocoding (not stored)
- Service areas
Click the Configure service(s) button.
- In the Overview page, click the copy icon so you can use the API key in your application.
You now have an API key that is scoped to access the location services in the tutorials.