ArcGIS Experience Builder install

Install

The developer edition of ArcGIS Experience Builder supports ArcGIS Online and ArcGIS Enterprise 10.6 and later. There are two services for extending Experience Builder, the server and the client. You will need to have both services running to have your updates load in Experience Builder. To install the developer edition of Experience Builder, complete the following steps for the server install and client install. If you need to install Experience Builder without an internet connection, complete the offline install steps.

Server install

Create Client ID using ArcGIS Online or ArcGIS Enterprise

Use these steps if you're using ArcGIS Online or ArcGIS Enterprise.

  1. Experience Builder uses Node.js. Check the recommended Node version for the version of Experience Builder you are using, then download and install that version of Node.js for your operating system.

  2. Download the developer edition of Experience Builder and unzip it on your local drive.

  3. Log in to your ArcGIS Online or ArcGIS Enterprise portal and go to My Content tab of the content page, click New Item, and select Application.

  4. Select Other application option and click Next.

  5. In the New item dialog box, enter the following parameters:

    • Title - Enter something that makes sense to you, such as Experience Builder credentials.

    • Tags - Optionally enter something such as Experience Builder.

    • Select a folder and optionally fill Categories and Summary if necessary

    • Click Save to add

      Application
  6. Click the Manage button at the Credentails section. Credentials

  7. On the Redirect URI section, click Add to enter https://localhost:3001/. Copy the App ID at Credentail section.

    Registered Info
  8. Open a command prompt or terminal window, cd to the /server directory of the Experience Builder installation, type npm ci, and hit enter to install the necessary modules.

  9. Type npm start to start the service.

  10. Open Experience Builder at the following URL https://localhost:3001/ in your browser.

  11. Specify the URL to your ArcGIS Online or ArcGIS Enterprise organization, and add your App ID for the Client ID > Sign in.

  12. Install the client.

Client install

To develop with Experience Builder, a service must be installed to launch webpack to help with bundling and loading your custom widgets and themes used in your local Experience Builder.

  1. Open a command prompt or terminal window, cd to the /client directory of the Experience Builder installation, type npm ci, and hit enter to install the necessary modules.

  2. Type npm start to start the service.

You can have multiple versions of the developer edition of Experience Builder on the same machine. Please check that your machine meets the System requirements.

Offline install

  1. In a disconnected environment you will not have access to the ArcGIS API JavaScript (JSAPI) CDN. In this scenario, you will be required to download the JSAPI and install it locally.

  2. Experience Builder uses Node.js. Check the recommended Node version for the version of Experience Builder you are using, then download and install that version of Node.js for your operating system.

  3. Download the developer edition of Experience Builder and unzip it on your local drive.

  4. Download the npm-cache zip for the developer edition of Experience Builder and unzip it on your local drive.

  5. Open your user folder (e.g., Windows OS c:\Users\exbuser) in a command prompt or terminal (e.g., macOS /Users/installExB) and type npm config get cache.

  6. Copy the folder path of the npm-cache and open that directory in Windows Explorer or Finder.

  7. Copy and paste the npm-cache directory (from step 3) into this directory.

  8. Open a command prompt or terminal window, cd to the /client directory of the Experience Builder installation, type npm install --offline, and hit enter.

  9. Open another command prompt or terminal window, cd to the /server directory of the Experience Builder installation, type npm install --offline, and hit enter.

  10. Open the client directory for your Experience Builder at the following path <install folder>/client/dist.

  11. There are four places you will need to update the variable arcgisJsApiUrl with your local JSAPI host URL. For example, replace var arcgisJsApiUrl = 'https://js.arcgis.com/4.30/' with var arcgisJsApiUrl = 'https://exb.esri.com/4.30/' in each of the files below:

    • <install folder>/client/dist/index.html
    • <install folder>/client/dist/experience/index.html
    • <install folder>/client/dist/template/index.html
    • <install folder>/client/dist/builder/index.html
  12. Open a command prompt or terminal window, cd to the /client directory of the Experience Builder installation, and type npm start to start the client service.

  13. Open a command prompt or terminal window, cd to the /server directory of the Experience Builder installation, and type npm start to start the server service.

  14. Log in to your ArcGIS Online or ArcGIS Enterprise portal and go to My Content tab of the content page, click New Item, and select Application.

  15. Select Other application option and click Next.

  16. In the New item dialog box, enter the following parameters:

    • Title - Enter something that makes sense to you, such as Experience Builder credentials.
    • Tags - Optionally enter something such as Experience Builder.
    • Select a folder and optionally fill Categories and Summary if necessary
    • Click Save to add
    Application
  17. Click the Settings tab. Scroll down to the App Registration section and click Update.

  18. On the Register Info dialog box as shown below, enter in https://localhost:3001/ for the Redirect URI, and click Add > Update. Copy the App ID.

  19. Open Experience Builder at the following URL https://localhost:3001/ in your browser.

  20. Specify the URL to your ArcGIS Online or ArcGIS Enterprise organization and add your App ID for the Client ID > Sign in.

Install as a Windows Service

  1. Download and install the latest Node.js LTS version for your operating system.
  2. Open Windows command prompt as administrator.
  3. Change the directory (cd) to the /server directory of Experience Builder.
  4. Run the command npm ci to install the dependencies.
  5. Run the command npm run install-windows-service.
  6. Open the Windows Services app and start the Experience Builder service (default name: exb-server).
  7. To remove the Experience Builder service, run the command npm run uninstall-windows-service.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.