Add an App in ArcGIS Online or Portal for ArcGIS

To collect information from either ArcGIS Online or Portal for ArcGIS, you need an App Secret and an App ID to complete the access credentials. The process is the same for ArcGIS Online and for Portal for ArcGIS, so only the instructions for Portal for ArcGIS are given below.

To add and register an application in Portal for ArcGIS:

  1. Open the Portal for ArcGIS page and select MY CONTENT.

  2. Click Add Item, and then select An application.

  3. In the dialog box that opens, select the Application radio button.

    The Application dialog box appears.

  4. In the Title box, enter a title for the application, for example, Analytics Access.

  5. To add a search tag to help you find this application, in the Tags box, type in a word that is in the title of your app. for example, Analytics.

  6. Click Add Item.

    The application's details page opens.

  7. Do one of the following:

    • If the blue text in the App Registration area says REGISTERED INFO, the app has registered automatically. You can click the text to open the dialog and see the registered information.

    • If the blue text in the App Registration area says REGISTER, you need to register the application manually. Click REGISTER.

      1. From the App Type drop-down list, select Multiple.

      2. In the Redirect URI box, type or paste the following URI:

        urn:ietf:wg:oauth2.0:oob

        and

        http://[yourhostname]/analyticsreports/OAuth2Helper.html

      3. Click Add, and then Register.

        The dialog box closes and the application is registered. Registration creates the application's ID and secret.

  8. To see the information, in the App Registration area, click REGISTERED INFO.

    The App Registration information lists the App ID and App Secret.

    In order to collect data from your organization's account, the App must contain the redirect URI, which you will find on the Setup page under Configuration in Analytics.

  9. Click the blue Show Secret text to see the full App Secret text.