Skip to content

How to install Experience Builder developer edition

Developer edition of ArcGIS Experience Builder is a developer-focused tool for creating custom web applications, widgets, and themes. It is compatible with ArcGIS Online and ArcGIS Enterprise 10.6 and later. This page outlines the installation steps and available options for setting up the developer edition of Experience Builder.

How to install developer edition

Here are the general steps to install developer edition of Experience Builder.

1. Create a Client ID

The developer edition of Experience Builder requires a Client ID to connect to ArcGIS Online or ArcGIS Enterprise. This is a unique identifier that allows the developer edition of Experience Builder to authenticate with your ArcGIS account and access the necessary resources.

  1. Log in to your ArcGIS Online or ArcGIS Enterprise portal and go to the Content page.

  2. In the Content page, click New Item.

  3. In the New Item dialog box, select Application.

  4. Under the Application type selection, choose the Other application option and click Next.

  5. Enter the following parameters:

    • Title - Enter the application title, such as Experience Builder credentials.

    • Folder - Select a folder where the item will be stored within your Content.

    • Optionally fill Categories, Tags, and Summary if you prefer.

    • Click Save to create the application.

      Application
  6. In the Credentials section, click the Manage button. Credentials

  7. In the Redirect URLs section, click the + Add button and enter https://localhost:3001/.

  8. At the bottom of the page, click the Save button.

  9. Copy the Client ID to use it in the "Server Install" steps, see below. Registered Info

2. Install server service

The Server service is responsible for running the builder interface of developer edition of Experience Builder. The server service must be running in order to see your changes in the builder interface.

  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. Open a command prompt or terminal window.

  4. Within the terminal, browse to the /server directory of the Experience Builder files that you unzipped in step 2 using the cd command.

  5. Type npm ci and then the Enter key to install the necessary modules.

  6. Type npm start and then the Enter key to start the service.

  7. In a browser, open this URL: https://localhost:3001/. You should see the builder interface.

  8. Specify the URL to your ArcGIS Online or ArcGIS Enterprise organization, and paste in the Client ID that you created in the previous section.

  9. Install the client, see below.

3. Install client service

The Client service is responsible for running the webpack server, which is used to bundle and load your custom widgets and themes. The client service must be running in order to see your changes in the builder interface.

  1. Open a command prompt or terminal window.

  2. Within the terminal, browse to the /client directory of the Experience Builder files that you unzipped in the previous section using the cd command.

  3. Type npm ci and then the Enter key to install the necessary modules.

  4. Type npm start and then the Enter key 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.

Installation options

The developer edition of Experience Builder can be installed in different ways depending on your needs. Here are the options:

Install offline

If you are in a disconnected environment, you can perform an offline install of developer edition. This is useful if you are in an environment that does not have access to the internet or if you want to run Experience Builder on a server that does not have internet access.

  1. Install developer edition using the offline Node cache ZIP.

  2. Install the offline libraries, ArcGIS Maps SDK for JavaScript and Calcite, for offline use and update Experience Builder to reference them.

Install the offline Node cache

  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. Download the Node cache ZIP for the developer edition of Experience Builder and unzip it on your local drive.

  4. Open your user folder in a command prompt or terminal. Type npm config get cache and press the Enter key. A folder path will be displayed.

  5. Copy the folder path that you got in the previous step and open that directory in Windows Explorer or Finder.

  6. Copy the downloaded Node cache files (from step 3) into this directory.

  7. Open a command prompt or terminal window.

  8. Within the terminal, browse to the /client directory of the Experience Builder files that you unzipped at the beginning of this section using the cd command.

  9. Type npm install --offline and then the Enter key to install the necessary modules.

  10. Open another command prompt or terminal window.

  11. Within the terminal, browse to the /server directory of the Experience Builder files that you unzipped at the beginning of this section using the cd command.

  12. Type npm install --offline and then the Enter key to install the necessary modules.

Install the offline libraries

In a disconnected environment you will not have access to the CDN libraries that are necessary for Experience Builder to run:

  1. ArcGIS Maps SDK for JavaScript CDN
  2. Calcite Components CDN

Because of this, you will need to download these libraries, host them locally, and point developer edition of Experience Builder to use those locally hosted versions.

  1. Check the recommended ArcGIS Maps SDK for JavaScript version for the version of Experience Builder you are using, then download and install that version of the ArcGIS Maps SDK for JavaScript locally. Note the URL of the hosted files to use later.

  2. In the Experience Builder files, browse to client/node_modules/@esri/calcite-components/dist/calcite and copy these files to your web server. Note the URL of the hosted files to use later.

  3. In the Experience Builder files, browse to client/dist.

  4. There are four places you will need to update the variables arcgisJsApiUrl and calciteComponentsUrl with the local URLs you got in the steps above. For example:

    • Replace "arcgisJsApiUrl": "https://js.arcgis.com/4.33/" with "arcgisJsApiUrl": "https://YOUR_JS_API_URL/4.33/"
    • Replace "calciteComponentsUrl": "https://js.arcgis.com/calcite-components/3.0.3/" with "calciteComponentsUrl": "https://YOUR_CALCITE_URL/"

    ... 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

Run developer edition offline

Now that you've installed the offline Node cache and updated Experience Builder to point to locally accessible versions of the libraries, you can run developer edition offline.

  1. Experience Builder requires a connection to ArcGIS Enterprise portal. Create a Client ID using the steps in the previous section.
  2. Within the terminal window opened to the /client folder from the previous section, type npm start to start the client service.
  3. Within a separate terminal window opened to the /server folder from the previous section, type npm start to start the server service.
  4. In a browser, open this URL: https://localhost:3001/. You should see the builder interface.
  5. Specify the URL to your ArcGIS Enterprise organization, and paste in the Client ID that you created at the beginning of this section.

Install as a Windows Service

You can install developer edition of Experience Builder as a Windows service. This allows you to run the server service in the background and automatically start it when your computer starts. This is useful if you want to run developer edition of Experience Builder on a server or in a production environment.

  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.