Getting started
Audience: everyone, on their first day with ONEOFFICEAUTOMATION. Administrators and builders will follow every step; business users and operators can skip the install part if someone has already set One CommandCenter up.
What you will have at the end: ONEOFFICEAUTOMATION running on one computer, your own administrator password, a tour of the menu, and a first agent that you built in OneAgentStudio, checked in to One CommandCenter, ran on a runner and looked at in Agent Activity.
Contents
- Before you start
- Install on one computer
- Start ONEOFFICEAUTOMATION
- Signing in for the first time
- Finding your way: the screen and the menu
- Your first agent, end to end
- The evaluation and your licence
- If it goes wrong
- Where to go next
- Appendix: run from a source checkout
- Related guides
1. Before you start
You need:
-
A Windows 10 or 11 computer, or Windows Server, where you may install programs. Agents that drive the desktop need a Windows runner; One CommandCenter itself also runs on Linux (see Installation on Linux and in containers).
-
One of the install packages from your ONEOFFICEAUTOMATION releases page:
Package Contains Choose it when ooa-setup-<version>.zipThe product with its own Java, and a guided installer ( Install.cmd)Almost always. It installs, adds a Start menu entry and can set up a service. ooa-<version>.msiThe same, as an MSI for all users Your IT team deploys software with SCCM, Intune or Group Policy ooa-customer-<version>.zipThe product without an installer You want to try it without installing; you need Java 21 or later on the computer -
A free port, 8720 by default. The browser opens
http://localhost:8720. -
About 1 GB of free disk space, more for the data that builds up.
Tip. For a first look, one computer does everything: One CommandCenter, Studio and a runner. Later you move One CommandCenter to a server and add runners on other machines (07 Runner guide).
2. Install on one computer
With the setup package (recommended)
- Unzip
ooa-setup-<version>.zipinto a temporary folder. - Double-click Install.cmd.
- When asked what this computer is, choose One CommandCenter.
- Accept the suggested install folder or type another. Without administrator rights the product goes to your own
Programs folder (
%LOCALAPPDATA%\Programs\ONEOFFICEAUTOMATION); with-AllUsersit goes to Program Files. - Setup first checks the computer with
bin\ooa.bat check(Java, memory, free disk space, the port, the data folder, the vault key, the database and HTTPS). Each line says PASS, WARN or FAIL. A FAIL stops the install unless you add-SkipCheck. - When setup finishes, the Start menu has an ONEOFFICEAUTOMATION entry. Setup writes a log to
%TEMP%\ooa-install.log.
If you are asked about a database: the built-in database is fine for an evaluation. A licensed install runs on Microsoft SQL Server (PostgreSQL also works); your administrator sets that up later (06 Administrator's guide).
With the zip only
- Unzip
ooa-customer-<version>.zip. - Double-click START-OOA.cmd.
On a developer computer (source checkout)
Double-click platform\scripts\start-ooa.bat, or from PowerShell in the platform folder run
.\gradlew.bat :cli:run --args="server". See Appendix: run from a source checkout.
3. Start ONEOFFICEAUTOMATION
Start it from the Start menu (ONEOFFICEAUTOMATION), with START-OOA.cmd, or with bin\ooa.bat server.
What happens:
- A console window opens. It starts One CommandCenter, OneAgentStudio (at
/studio/) and a One Runner for this computer, all onhttp://localhost:8720. - The runner for this computer registers itself, so you need no registration key on this computer.
- Your browser opens One CommandCenter sign-in page.
After 30 to 60 seconds (longer the first time) the window shows:
ONEOFFICEAUTOMATION is running.
Open: http://localhost:8720
One CommandCenter: http://localhost:8720/
Private workspace: http://localhost:8720/studio/ (Automation > Private; this computer only)
OneRunner: this computer, connected
My Workspace: C:\Users\<you>\OOA Workspace
Database: ...
Studio answers only on this computer, even when One CommandCenter is opened to the network.
Keep the console window open while you work: closing it, or pressing Ctrl+C in it, stops everything (answer Y if Windows asks "Terminate batch job"). To copy text from the window, select it with the mouse and right-click; Ctrl+C there stops the server.
Options for ooa server (and START-OOA.cmd, which passes them on):
| Option | Meaning |
|---|---|
--port 8730 | Use another port (8720 by default), for example when another copy is still running |
--host 0.0.0.0 | Accept connections from other machines (turn on HTTPS first). The default, 127.0.0.1, is this computer only |
--data D:\OOA\cc | Keep One CommandCenter's data in another folder |
--workspace D:\Agents | Another folder for Studio's My Workspace |
--agent-workspace DIR | Another working folder for this computer's runner |
--no-agent | Do not start the runner for this computer |
--no-browser | Do not open the browser |
Your data (the database, the vault key file, repository files, backups) is kept in the data folder, by default
C:\Users\<you>\OOA Command Center. If an earlier version left a database in C:\Users\<you>\OOA Control Room,
that folder is used instead, so an upgrade never starts empty. Back this folder up.
| Folder | Contents |
|---|---|
C:\Users\<you>\OOA Command Center | One CommandCenter's database, vault key file, repository files and backups (back this up) |
C:\Users\<you>\OOA Workspace | Your private Studio workspace (My Workspace) |
C:\Users\<you>\OOA Agent Workspace | This computer's runner: its working files, and one log file per run in logs |
Tip.
ooa serverlistens on 127.0.0.1 only, so nobody else on the network can reach it. That is what you want for a first try. To let other machines in, turn on HTTPS first and use--host 0.0.0.0(06 Administrator's guide).
4. Signing in for the first time
- On the very first start, the console window prints a one-time password for the user
admin. Copy it. - On the One CommandCenter sign-in page enter User name
adminand the one-time password, then press Sign in. - The Choose a new password page appears. Enter the one-time password as Current password, then a New password twice. It must have at least 12 characters, with letters and digits (an administrator can make the rule stricter later). Press Change password.
- You land on Build > Agents. An administrator also sees Setup > Install and set up, the install guide: four phases (Server, People and runners, Developers and AI, First run), each step checked live, with what to do next. See 06 Administrator's guide.
Monitor > Overview > Status shows how things stand: two strips of figures. Runs · last 24 hours has Running now, Waiting to start, Succeeded, Failed, Success rate and Average run time; Platform has Runners online, Agents (Public), Active schedules, Work items waiting, Hours saved (30 days) and Tasks waiting for you. A figure turns red only when something is wrong (for example failed runs, or no runner online). Click a figure to open the page behind it. Below are Runs in the last 7 days, Recent failures, Most used agents (7 days), Runners and Recent runs, and, once you have worked a little, Pick up where you left off.
People who were given an account
If an administrator created your account, they give you a temporary password. Sign in with it and choose your own password, as in step 3. If your company uses single sign-on, the sign-in page shows an extra button such as Sign in with your organisation account: use that instead, with your normal company sign-in. If the sign-in page says that your Windows (directory) user name and password work, sign in with those; you need no separate password.
The sign-in page can also show:
- the name of this One CommandCenter, such as Production or Test, in its own colour, so you know which one you are signing in to (it is shown in the top bar too);
- a notice from your company, for example terms of use. When it has a tick box I have read and accept this, tick it before you sign in;
- "Signed out after n minutes without activity": your administrator signs people out after a time without use. Sign in again.
When your password must be changed soon, a warning at the top of the console offers Change it now.
If your account needs two-step sign-in, a dialog Set up two-step sign-in (required) appears after the password:
- In an authenticator app (Microsoft Authenticator, Google Authenticator or another time-based app) add an account with the key shown, or tap open it in the app on a phone.
- Type the 6-digit code from the app and press Turn on.
- Write down the ten Recovery codes shown once, and press I have saved them.
From then on, the sign-in page asks for the Code from your authenticator app (or a recovery code) after your password.