How to access ArcGIS resources
The general steps to access secure ArcGIS resources are:
1. Get an ArcGIS account
If you do not have an ArcGIS account, you can get one in the following ways:
If association has an ArcGIS Online or Enterprise organization, your administrator can grant you an ArcGIS account.
Otherwise, you can create a free developer account to get started.
2. Choose a type of authentication
You need to implement a type of authentication in your app to get an access token and access secure ArcGIS resources. The type of authentication you implement will determine the access privileges and billing method of your app.
The following types of authentication can be used to get an access token:
API key authentication
User authentication
App credential authentication
Access tokens are always associated with an ArcGIS account. The associated ArcGIS account depends on the type of authentication used. The ArcGIS subscription of the associated account is charged when resources are accessed with the token. API key authentication and App credential authentication charge service usage to the app developer's ArcGIS account. User authentication charges service usage to the ArcGIS accounts of application users.
3. Get an access token
To get an access token, you need to implement a type of authentication in your application. Different types of authentication result in access tokens with different privileges. The diagrams below illustrate the different processes used to get an access token.
4. Make a request
Once you have an access token, you can include it in requests to ArcGIS REST APIs to access secure content and services.
To make a request to ArcGIS resources, you can use an HTTP request and include the access token as the token
parameter. The format to access most REST API endpoints is as follows:
Examples
Tutorials
Create and manage an API key
Create and configure an API key to access ArcGIS resources.
Register an OAuth 2.0 application
Register an application in the developer dashboard.
Implement user authentication
Authenticate ArcGIS users with OAuth 2.0