← All guides Getting started

Build your first model.

In about fifteen minutes you'll have a real architecture model: who uses an online bookshop, what it depends on, and what it's made of. You'll draw it as two C4 diagrams, a System Context and a Container view, then save and share it. You don't need to know C4 or UML first; each step says what the shapes mean.

What you'll build

You'll build a small online bookshop. It has customers and staff, depends on a payment provider, a warehouse system and an email service, and is built from a web shop, an API and a database. It's deliberately small: six things on the first diagram and nine on the second. That's enough to show why a model is more than a drawing. The Customer on the second diagram is the same element as on the first, not a copy.

Before you start

  • An EOModeller account. Free is enough for this guide, and new accounts start on a 14-day Pro trial. Create one if you haven't.
  • Ten to fifteen minutes.

Step 1 — Create the model

  1. On the dashboard, click + New Model.
  2. Name it Bookshop and click Create.
  3. The model's details (kind, status, classification and so on) appear on the right. You can leave them all for now. Click Open.
Why a model, not just a diagram? A model holds elements, and diagrams are views of them. Rename Customer once and every diagram that shows it updates. That's the difference from a drawing tool. (More on why.)

Step 2 — Give it a C4 package

The start panel offers a few ways to organise the model. Packages work like folders.

  1. Under Choose a structure, pick C4 architecture and click Use this.

This creates one package, Architecture, with the C4 profile switched on, so its toolbox offers C4 shapes (Person, Software System, Container and so on) and draws them in C4's style. You can rename, nest and rearrange packages at any time in the explorer on the left.

Step 3 — Draw the System Context

A System Context diagram answers one question: what is this system, who uses it, and what does it depend on? It's the diagram to show anyone who is new to the system.

  1. With Architecture selected, click Add a diagram and choose System Context. It opens straight away on an empty canvas.
  2. From the C4 group in the toolbox, drag out a Software System named Bookshop.
  3. Add two Person shapes, Customer and Shop staff.
  4. Add three more Software Systems: Payment provider, Warehouse system and Email service.
  5. Select Payment provider. In the property panel, find its «SoftwareSystem» stereotype and tick external; it turns grey. Do the same for the warehouse and email systems. Grey means not ours: these systems are outside what you're describing.
  6. Give each element a one-line Description, for example Takes card payments and refunds. C4 shows the description on the card, and it's what makes a diagram readable for someone who wasn't in the room.

Step 4 — Connect them

  1. In the toolbox, choose Uses, then drag from Customer to Bookshop.
  2. Name the line from the source's point of view: Finds and buys books using.
  3. Add the rest the same way:
    • Shop staff → Bookshop: Manages the catalogue using
    • Bookshop → Payment provider: Takes payments using
    • Bookshop → Warehouse system: Checks stock and sends orders to
    • Bookshop → Email service: Sends emails using
    • Email service → Customer: Sends emails to

That's a complete System Context. If you stop here, you have a useful model.

Step 5 — Zoom in with a Container diagram

A Container diagram zooms in one level and asks what is the Bookshop made of? Here, "containers" means the separately running things: apps, services and data stores. It doesn't mean Docker.

  1. Select the Architecture package and add a Container diagram.
  2. Drag a System Boundary onto the canvas and name it Bookshop, the same as the system it opens up.
  3. Inside the boundary, add two Container shapes, Web shop and Shop API, and a Database, Shop database. Set technology on each in its stereotype: SvelteKit, Go, PostgreSQL.
  4. Drag Customer, Shop staff and the three external systems from the explorer on the left onto this diagram. You're placing the existing elements, not making new ones.
  5. Connect them with Uses and set a technology on each line: Customer → Web shop (HTTPS), Web shop → Shop API (JSON/HTTPS), Shop API → Shop database (SQL), and Shop API → each external system.
Check your work. EOModeller knows the C4 zoom rules. Open the Validation tab on the right: if a Container has ended up on the System Context diagram, or outside every boundary on the Container diagram, it says so. These are guidance, not errors.

Step 6 — Save and share it

  1. Click the model node at the top of the explorer and open the Baselines tab. Save a baseline called First draft, so this version is fixed even as the model keeps changing. (More on baselines.)
  2. Export the System Context as PNG or SVG for a slide or a wiki page, or invite a colleague to your workspace to look at the live model.

Faster: let your AI assistant draw the first version

On Pro, or during your trial, you can connect Claude or another MCP client and describe the system in words. For example: "In Bookshop, draw a C4 System Context for an online bookshop used by customers and staff, depending on a payment provider, a warehouse system and an email service." The diagram appears live, laid out, and the whole change can be reverted in one click. Connect your AI assistant →

Where next

  • Add a Component diagram for the Shop API, or a Deployment diagram showing where the containers run.
  • Add a Class diagram for the shop's domain: Book, Order, Customer.
  • Read The shape of an architectural artefact on how a sketch like this grows into a reference model.

Troubleshooting

The toolbox has no C4 shapes
The diagram's package doesn't have the C4 profile. Create the diagram inside the Architecture package from Step 2, or add the C4 profile to your own package.
I made a second "Customer" by mistake
Select it and use Remove from Diagram, then drag the original from the explorer. Remove from Diagram keeps the element in the model; Delete from Model removes it everywhere.
A line won't connect
Make sure Uses is the selected tool and start the drag on the source shape.