Insight · How-to

How to Set Up a Sparx EA Repository from Scratch: Step-by-Step Guide

What this covers

  • The seven sequential steps to set up a production Sparx EA repository, in order.
  • How to choose a database, install Pro Cloud Server, and create the repository.
  • The two decisions that are hardest to reverse — naming conventions and package structure.
  • Why a single-domain pilot de-risks the rollout before you populate the whole repository.

Setting up a Sparx EA repository from scratch is seven sequential steps. Each one has consequences for long-term repository health, and decisions made at setup time are difficult and disruptive to reverse later. The most consequential are naming conventions and package structure, in steps 6 and 7 — get those right up front. This guide walks each step with the decision criteria you need.

1

Choose your database

The repository is a relational database. Match it to your existing DBA capability, not to a wish list.

2

Install Pro Cloud Server

PCS is the middleware that enables multi-user access. For team use it is required, not optional.

3

Create the repository

Stand up the empty Sparx EA schema, apply the initial structure, and baseline the clean starting point.

4

Configure MDG extensions

Activate the element types your team will model — ArchiMate first, others as scope expands.

5

Set up user security

Define role-based access before any architect starts modeling — ideally via your existing directory.

6

Establish naming and structure

The most consequential governance decisions. Hard to change once content is loaded.

7

Run a domain pilot

Build out one domain fully and validate your decisions before rolling out to the whole team.

Step 1: Choose your database

For team use (multi-user, server-hosted), you choose from three platforms.

SQL Server (Microsoft). Best for organizations with existing SQL Server infrastructure and Windows environments. Mature enterprise support, Azure SQL compatibility for cloud hosting, Windows Authentication integration. Adds license cost if not already present; needs DBA familiarity.

MySQL. Best for Linux-hosted environments and lower-cost setups. Open source, widely deployed, good performance at EA repository sizes. Less native Windows integration than SQL Server.

PostgreSQL. Best for cloud-native environments (AWS RDS, Azure Database for PostgreSQL). Open source, strong JSON/JSONB support, excellent performance, broad cloud support. Less common in traditional Windows enterprises.

Decision criterion: match your existing DBA capabilities and infrastructure. The repository is a standard relational database — it needs no special features. If your team already runs SQL Server, use SQL Server; if you are on AWS and know PostgreSQL, use that. Do not introduce a new database platform for the EA repository alone.

Cloud vs on-premises: cloud-hosted databases (Azure SQL, Amazon RDS, Google Cloud SQL) are recommended for new installations — managed backup, high availability, and scaling without DBA overhead. On-premises suits data-sovereignty or air-gap requirements.

Step 2: Install Pro Cloud Server

Pro Cloud Server (PCS) is Sparx Systems’ middleware layer for multi-user access. Without it, Sparx EA can only open a repository from a local file or direct database connection — neither is appropriate for a team.

What PCS provides:

  • Managed database connections — architects connect through PCS, not directly to the database
  • Floating license management — the license pool is managed through PCS
  • Authentication and security — user access managed through PCS, with optional Active Directory integration
  • Remote access — teams can reach the repository over HTTPS
  • The integration endpoint for BI and AI connectivity to the repository

Installation, at a high level: install PCS on a server (Windows Server recommended; Linux supported), point it at your chosen database, create the initial repository through PCS, configure authentication, and test the connection from a Sparx EA client. For cloud-hosted repositories, run PCS on a VM in the same region as the database — Azure VM + Azure SQL, or AWS EC2 + RDS PostgreSQL, are common patterns.

Step 3: Create the initial repository

With PCS running and connected:

  1. Open Sparx EA and connect to PCS.
  2. Create a new project (the repository) in PCS — this creates the Sparx EA schema in the database.
  3. Apply the initial model structure; at this stage the repository is empty.
  4. Set up the initial package hierarchy (see Step 6).
  5. Take a baseline of the empty, correctly-structured repository — your clean starting point.

One repository vs multiple: most organizations run a single production repository. One repository enables cross-domain analysis and single-source-of-truth governance; multiple repositories require federation for enterprise-level analysis. Start with one unless data sovereignty or organizational independence compels separation.

Step 4: Configure MDG extensions

MDG Technology extensions determine which element, relationship, and diagram types are available. This is set at the repository level.

For a standard EA program:

  • ArchiMate 3.x (mandatory) — the full ArchiMate notation across all layers.
  • BPMN 2.0 — if process modeling is in scope.
  • TOGAF Content Metamodel — if you produce TOGAF deliverables.
  • SysML — only if systems engineering is in scope; do not activate it for a standard IT architecture program.
  • Custom organizational MDG — design and activate early. Retrofitting governance tagged values to an existing repository is painful.

Every extension adds to the toolbox and diagram-type list. Activate only what your program needs; add more as scope expands.

Step 5: Set up user security

With PCS managing access, configure role-based security before any modeling begins.

Repository Administrator — full access: manage packages, change MDG configuration, reset locks, manage users. One or two people only.

Domain Architect (read/write) — read/write to their assigned domain package; read-only elsewhere. The standard architect role.

Read-Only Stakeholder — read access for project managers, analysts, or executives who view but do not modify.

Automated Account — for scripts and integrations: read-only access, separate credentials from human users.

Active Directory integration: if you use AD, configure PCS to authenticate against it, so repository access is managed through existing identity management with no separate passwords. Beyond PCS roles, Sparx EA’s model security allows package-level locking for sensitive content.

Step 6: Establish naming conventions and package structure

This is the most important governance decision in the setup. Decisions here are very hard to change after content is loaded — renaming conventions mid-flight produces inconsistency; restructuring package hierarchies breaks relationships and diagram references.

Top-level packages should mirror your EA framework. For a TOGAF/ArchiMate-aligned program, a typical structure:

[Repository Root]
├── Architecture Vision
│   ├── Principles
│   └── Requirements
├── Business Architecture
│   ├── Business Capabilities
│   ├── Business Processes
│   └── Business Information
├── Application Architecture
│   ├── Application Portfolio
│   └── Integration Architecture
├── Technology Architecture
│   ├── Technology Standards
│   └── Infrastructure
├── Decision Register
└── Working / In Progress

Adapt to your framework and domain model. Do not over-engineer — three levels is usually sufficient; deep hierarchies become hard to navigate.

Naming conventions:

  • Applications — canonical names matching procurement and contracts. “Salesforce CRM,” not “SFDC.” Prefer “Vendor Product” for commercial software, “Business Function” for custom apps.
  • Capabilities — noun + qualifier (“Customer Onboarding”). Never verb-form.
  • Processes — verb + noun (“Process Insurance Claim”). Name them as activities.
  • Generally — Title Case, no abbreviations unless universally understood, consistent vocabulary (don’t alternate Application / System / Solution).

Document the conventions in a Principles package so they are a first-class architecture artifact, not a separate document that gets lost.

Step 7: Run a domain pilot before full rollout

Do not populate the entire repository simultaneously. A domain pilot — building out one domain fully before extending — de-risks the rollout and validates governance decisions before they apply broadly.

Choose a pilot domain that has an engaged, available architect; well-understood content; representativeness of your broader scope; and enough importance to demonstrate value. Application Portfolio is often a good choice — tangible, executive-relevant, and it tests the key MDG tagged values without complex relationship modeling.

Validate at the end: run MDG validation against the pilot package and resolve all violations; demonstrate the content to a stakeholder audience to test whether structure and naming communicate; and review the modeling experience with the pilot architect. The pilot will reveal gaps in MDG design, naming decisions that need adjustment, and structure issues. Fix them before rolling out — the cost of fixing governance decisions in a one-domain pilot is a fraction of fixing them across a fully-populated repository.

What Sparx Services does in Configure the Solution

The Configure the Solution engagement covers all seven steps: database advisory, PCS installation (cloud or on-premises), repository creation, MDG selection and activation, user-security design (including AD integration), naming-convention and package-structure design, domain-pilot execution, and team onboarding. We typically complete it in 4–8 weeks depending on environment complexity, leaving the team with a production-ready repository and governance foundations in place.

Frequently asked questions

Can we start with a file-based repository and migrate to a database later?

Yes. Sparx EA supports migrating a .qea file-based repository to a database via “Transfer Project to Server,” moving all elements, relationships, diagrams, and packages. Do some post-migration verification (relationships resolved, diagrams render correctly). Plan the migration before the repository grows very large, as migrating large repositories takes longer.

Does Pro Cloud Server need a dedicated server?

Yes — a dedicated server or cloud VM, not an architect’s workstation, since the repository would otherwise be unavailable when that machine is off. A modest VM (2 vCPU, 4 GB RAM) suffices for most teams; larger teams or high query volumes benefit from more resources.

How long does setup take from scratch?

With guidance, a production-ready setup typically takes 4–8 weeks. The technical install (database + PCS) can be done in a day or two; the time investment is in governance design — naming, structure, MDG configuration, and the domain pilot. Those decisions cannot be rushed without risking technical debt.

Can we use Azure Active Directory for authentication?

Yes. PCS supports Azure AD integration via LDAP or SAML. Users authenticate with corporate credentials; no separate Sparx EA password management is required. This is the recommended configuration for organizations on Microsoft 365 and Azure.

What is the recommended backup strategy?

Use your database platform’s native tools — daily full backup plus transaction-log or continuous backup. Additionally, take Sparx EA baselines before major governance events; these are internal model snapshots, separate from database backups. Both layers matter: database backup for disaster recovery, baselines for model version history.

Is there a size limit on a repository?

No hard element-count limit — repositories with tens of thousands of elements and thousands of diagrams are common in large programs. Performance scales with database resources and PCS configuration; very large repositories may need database indexing and query optimization.

Set up your repository with Sparx Services

Configure the Solution covers every step in this guide — from database selection through pilot completion and onboarding — leaving you a production-ready repository with the governance foundation that makes every subsequent EA investment worthwhile. It is the groundwork that an AI Augmented Architecture practice depends on, and it starts where your architects work day to day.

Stand up a repository that's built to last.

Talk to a practitioner about setting up your Sparx EA repository — database through domain pilot, with governance designed in from day one.

Book a call →