Install Guide
-
Purchase AI in a Box from the shop
Download the server zip file, and the globally scoped app xml file.
-
Send and extract the zip file to your server
This part is hard to automate because it’s different for each system. Here’s a general idea of what you need to do.
You can send the file to your server using
scp
,rsync
, ormagic-wormhole
. Assuming you downloaded the zip file to your local machine, you can run the following command to send it to your server.Send with scp
Send with rsync
Send with magic-wormhole
-
Run the install script
This will do the following
- Ask for you to accept the license
- Check if docker is installed and if not, ask to install it.
- Ask you to give a username and password
- Create a file at
./app/.env
- Start the docker containers
If you have trouble getting Docker, you can manually install as described on the Get Docker page.
-
Install the Update Set in ServiceNow
Go to the Retrieved Update Set module and import the xml file you downloaded.
Open the imported update set. Click Preview Update Set and then Commit Update Set.
Once installed, navigate to the AI in a Box Settings and fill out the settings.
- Credential: This is the basic auth record. (using the username and password you set earlier)
- Mid Server: Named mid server you want to use.
- Endpoint: Endpoint that the application server will run on. This needs to be accessible by the mid server selected. It will end in
:8080
as that’s the port the application server runs on. - Model: This is the model you want to use. You can click the + to load the list of models.
A few useful links here;
- ServiceNow PDI - This is a free instance you can use to test this out.
- Mid Server Installation - This is how you install a mid server.