Skip to content

Getting Started

Thomas Klok Rohde edited this page Jul 10, 2026 · 4 revisions

Getting Started

This page takes you from a fresh checkout to a saved .archimate model.

The Archi Online workspace with the Archisurance example open

What you need

  • Node.js 22+ and npm to run the app locally.
  • A modern browser. Chromium-family browsers (Chrome, Edge) are recommended: they support the File System Access API, which lets Save write straight back to the file you opened. They also provide the best installed-app, file-handler, and share-target support for production builds. Other browsers work too — saving falls back to a normal file download.

Run the app

npm install
npm run dev

Open the URL Vite prints, usually http://localhost:5173.

To build and serve the production static site instead:

npm run build     # typecheck + build into dist/
npm run preview   # serve the built site locally

The build output in dist/ is a fully static site — you can host it on any static file server.

Install the app

When Archi Online is served from a production build, supported browsers can install it as a standalone app. After the first load, the service worker precaches the app shell, hashed build assets, workers, examples, icons, and manifest so the editor can launch offline. Your models still live in files or browser storage on the current machine; nothing is uploaded by installation.

On browsers and operating systems that expose the relevant PWA features, the installed app also provides:

  • New model and Open model file app shortcuts.
  • A .archimate file handler that opens model files into the editor.
  • A web share target for shared .archimate or XML model files.

The exact install UI and operating-system integration are browser-dependent.

Your first model

  1. Click New in the toolbar. A new model appears in the Models tree with the standard ArchiMate top-level folders (Strategy, Business, Application, Technology & Physical, Motivation, Implementation & Migration, Other, Relations, Views).
  2. Right-click the Views folder and choose New ArchiMate View, or use the welcome screen's shortcut. Double-click a view in the tree to open it as an editor tab.
  3. Drag elements from the Palette onto the canvas. The palette groups element types by ArchiMate layer, with notes, groups, and relationship tools at the top.
  4. Draw a relationship: pick a relationship tool, then drag from one element to another. The canvas gives live feedback — targets that the ArchiMate metamodel forbids are rejected. If you're not sure which relationship to use, pick the magic connector: draw the connection first and choose from the list of valid relationship types afterwards.
  5. Select any object and edit its name, documentation, key-value properties, and appearance in the Properties panel.
  6. Press Ctrl+S (or click Save) and choose where to store the .archimate file.

That file opens directly in desktop Archi — see Archi Compatibility.

Opening and saving files

  • Open… (Ctrl+O) loads an existing .archimate file, including models created with desktop Archi. It also accepts ArchiMate Open Exchange .xml files and imports them as new, unsaved models.
  • Save (Ctrl+S) writes back to the file you opened when the browser supports the File System Access API. Otherwise — or when browser policy blocks file handles — the app saves via a regular download. Saving always writes Archi's native .archimate format.
  • Save As… always lets you pick a new target.

The status area on the toolbar shows the model name, the file name (or unsaved), and a • marker when there are unsaved changes. Closing the tab with unsaved changes triggers a browser confirmation prompt.

Where your work lives

Two different kinds of storage are involved:

Data Where it lives
The model itself .archimate files you open and save
Autosave snapshot of the open model Browser IndexedDB
Window/panel layout Browser IndexedDB
App settings Browser IndexedDB
Script library Browser IndexedDB
Extensions and imported .archi-ext packages Browser IndexedDB
Private extension storage Browser IndexedDB

The app autosaves the open model shortly after every change and restores it the next time you open the app in the same browser profile. Autosave is a crash safety net, not a substitute for saving: browser data can be cleared by the browser or the user, and it never leaves the machine. Export anything you care about as a .archimate file.

Browser-local data (settings, scripts, extensions, layout) is never written into .archimate files.

Next steps

  • User Guide — every panel, tool, setting, and shortcut.
  • Scripting API — automate the model from the Scripting panel.
  • Extension Packages — try the bundled example extensions, including ELK automatic layout.

Clone this wiki locally