This documentation is available to agents as Markdown at https://docs.synthesized.io/tdk/latest/user_guide/010_get_started/quickstart.md. For the complete documentation index, see llms.txt.

5-Minute Quick Start

Run a local demo of the Synthesized Platform with Docker Compose, mask a sample PostgreSQL database with a ready-made workflow, and check the result.

  • Time

    About 5–10 minutes once you have the package

  • Level

    Beginner

  • You need

    The demo package and a license key (step 1), Docker with Compose v2 or later (or Podman), 8 GB of memory for Docker, ports 80, 5432 and 5433 free

  • You get

    The web UI, a sample database, an output database and demo workflows

Demo only. This setup uses demo credentials and secrets generated on first start. For production, see Docker Compose or Kubernetes (Helm).

1. Get the demo package

The governor-compose.zip package contains the Docker Compose scripts and the demo database dumps.

Contact Synthesized to get it. Then unzip it and go to its folder:

unzip governor-compose.zip && cd governor-compose

Add your license key, from Synthesized, in the terminal you’ll start the platform from:

export SYNTHESIZED_KEY=<your license key>

docker-compose.yml passes it to the backend service. ./start.sh doesn’t store the key, so to keep it for later starts, add the line SYNTHESIZED_KEY=<your license key> to the .env file once ./start.sh has created it.

Without a license key, the platform still starts, in free mode. Oracle, SQL Server, Db2, Snowflake, SAP (SAP HANA, S/4HANA and OData V2) and CSV data sources are blocked, and PostgreSQL, MySQL and MariaDB data sources are limited to 20 tables and 100,000 rows per table. The placeholder [your synthesized key] in docker-compose.yml counts as no key.

Check that Docker and Docker Compose v2 or later are installed:

docker --version
docker compose version

Each command prints its version, for example:

Docker version 29.7.2, build a7dcaa6
Docker Compose version v5.3.1

If you use Podman, follow Run the demo with Podman instead of step 2.

2. Start the platform

./start.sh

On the first run, ./start.sh creates a .env file with six generated secrets: JWT_SECRET, CREDENTIALS_ENCRYPTION_KEY, SPRING_DATASOURCE_PASSWORD, VERSITY_ROOT_SECRET_KEY, AGENT_SECRET_KEY and ASSISTANT_DB_PASSWORD. On every start, it reuses them, sets the Governor database’s password and starts the services. To run docker compose up yourself, create them first with ./generate-secrets.sh or add them manually.

Wait for all services to start; this takes about 1–2 minutes.

To also start local S3-compatible storage (the Versity gateway), for CSV or XML workflows, run this instead:

COMPOSE_PROFILES=versity ./start.sh

The gateway is off unless you start it this way. Inside the Compose network, workflows reach it at http://versity:7070; from your machine, it’s at http://localhost:10000. Its access key is versityadmin, and its secret key is the VERSITY_ROOT_SECRET_KEY value in .env.

3. Log in

Open http://localhost:80 and log in with test@synthesized.io / Qq12345_.

The port can be changed in docker-compose.yml.

4. Check the demo data sources

The demo comes with an input and an output database already connected.

  1. Click Data sources in the left sidebar. You should see both:

    Data Sources page listing the demo input and output data sources
  2. Open each one to see its connection details:

    Connection details of the demo input data source
    Connection details of the demo output data source
  3. Click Test connection to check it connects.

When you connect your own databases later, you fill in the same form. See Connect a data source.

5. Run the masking workflow

  1. In the left sidebar, open Public project. The demo workflows are listed there.

  2. Open Masking workflow and click Run.

  3. Wait for the run to finish. While it runs you can see each stage and how long it takes. When it is done, the workflow’s Last run status in the project list shows COMPLETED. If it shows FAILED, see Troubleshooting.

The workflow reads the sample PostgreSQL database, masks the sensitive columns (names, emails and addresses), and writes the result to the output database. Data types and relationships between tables are kept.

6. Check the masked data

Connect to the output database with any PostgreSQL client, for example psql or DBeaver. Use the details of the output data source from step 4:

From your machine Inside the Docker Compose network

Host and port

localhost:5433

transformed_db:5432

Output database

output_source

output_source

Input database, to compare

input_source

input_source

User and password

apiuser / apipassword

This database server is the demo’s sample data, not the platform’s own database, which listens on port 5432 and has its own apiuser with a generated password.

Open the customer table and compare it with the input database:

In the output What happened

Masked

Names and emails

Replaced with realistic values in the same format.

Masked

Addresses

Replaced with realistic addresses.

Kept

Primary keys

Usually kept, so rows can still be matched.

Kept

Rows, data types and foreign keys

The same number of rows and types; joins still work.

For example:

SELECT first_name, last_name, email
FROM customer
LIMIT 5;

With psql from your machine:

psql -h localhost -p 5433 -U apiuser -d output_source

The password is apipassword.

What you just did

  • Started the platform with Docker Compose

  • Ran a masking workflow

  • Masked names, emails and addresses in a PostgreSQL database

  • Checked the result

Next steps

Run the demo with Podman

Use Podman with Podman Compose instead of Docker. Make these changes before you start the services.

  1. Rootless Podman: allow port 80 for unprivileged use:

    echo "net.ipv4.ip_unprivileged_port_start=80" | sudo tee -a /etc/sysctl.conf
    sudo sysctl -p

    With SELinux (for example RHEL), also label the port. Port 80 is normally already labelled http_port_t, so modify the label with -m (-a fails when the port is already defined):

    sudo semanage port -m -t http_port_t -p tcp 80
  2. SELinux only: in docker-compose.override.yml, add the Z relabelling option to every volume mount of db and transformed_db. A mount that already has an option, such as :ro, takes it after a comma:

    volumes:
      - "./initdb/create_governor_db.sql:/docker-entrypoint-initdb.d/1.sql:Z"
      - "./initdb/create_governor_schema.sql:/docker-entrypoint-initdb.d/2.sql:Z"
      - "./scripts/sql:/opt/governor/sql:ro,Z"

    If you use local S3 storage, do the same for the versity_data and versity_meta mounts in docker-compose.yml. Do the same for every folder you mount from your machine in Keep demo data between restarts, for example - "/path/on/your/machine/governor-logs:/app/logs:Z". Without the label, the container can’t write to the folder, even after the chown.

  3. If you didn’t allow port 80 above: change the UI port mapping to an unprivileged port:

    ports:
    - "8080:8080"
  4. Create .env with ./generate-secrets.sh, then pull the images and start the services:

    podman-compose pull
    podman-compose up

    To also start the Versity gateway, run podman-compose --profile versity up instead.

  5. Open http://localhost:8080 (or http://localhost:80 if you kept port 80) and log in with test@synthesized.io / Qq12345_.

Keep demo data between restarts

The demo keeps its data inside the database containers. To stop the demo and keep the data, run:

docker compose stop

Start it again with ./start.sh. docker compose down removes the containers, and the demo data with them.

To keep data even when the containers are removed, mount folders from your machine. Use a separate folder for each.

Governor database

The platform stores its configuration and state in PostgreSQL. In docker-compose.override.yml, add a line with an absolute path on your machine to the volumes list of the db service:

  db:
    volumes:
      - "/path/on/your/machine/governor-db:/var/lib/postgresql"

The folder keeps the data from the first start with it mounted. A demo that already has data starts again from the demo’s initial data.

Demo input and output databases

The sample input data and the masked output from step 6 are in the transformed_db service. Without a mount, the next start loads the sample data again, and the masked output is gone until you run the workflow again. To keep both, add a line with an absolute path on your machine to the volumes list of transformed_db in docker-compose.override.yml:

  transformed_db:
    volumes:
      - "/path/on/your/machine/governor-demo-db:/var/lib/postgresql/data"

As with the Governor database, the folder starts from the demo’s initial data.

Log files

The platform writes its log and the workflow run logs to /app/logs in the backend container.

  1. In docker-compose.yml, add a volumes list to the backend service:

      backend:
        volumes:
          - "/path/on/your/machine/governor-logs:/app/logs"
  2. On Linux, before you start the demo, create the folder and give the container user ownership of it. Otherwise Docker creates it owned by root, and the platform can’t write its logs there:

    mkdir -p /path/on/your/machine/governor-logs
    sudo chown -R 1001:0 /path/on/your/machine/governor-logs

Update or remove the demo

Update: when you get a new governor-compose.zip:

  1. Stop the demo with docker compose stop.

  2. Move the old governor-compose folder aside and unzip the new package under the same folder name. Docker Compose names the demo after its folder, so the same name keeps your data.

  3. Copy .env from the old folder into the new one, and the versity_data and versity_meta folders if you use local S3 storage.

  4. If you changed docker-compose.yml or docker-compose.override.yml, for example a port or a mounted folder, make the same changes in the new folder. Without the database folder mount, the demo starts from its initial data.

  5. Run ./start.sh. If it warns that .env sets an older GOVERNOR_IMAGE_TAG, remove that line from .env and run ./start.sh again.

Don’t copy the new package’s files into the old folder.

Remove: stop and remove the containers and their data volumes:

docker compose down -v

Folders you mounted from your machine stay; delete them yourself.

Troubleshooting

Problem What to do

Port 80 is already in use

Stop the service using it, or change the host port in docker-compose.yml, for example - "8080:8080", and open http://localhost:8080.

Permission denied when Docker runs (Linux)

Add your user to the docker group (sudo usermod -a -G docker $USER), log out and back in, and run ./start.sh again. Members of this group get root-level access to the machine; see Docker’s post-installation steps.

If you started the demo with sudo ./start.sh before, its .env belongs to root. Run sudo chown $USER .env once, or keep using sudo for every command in this guide.

Services don’t start

Check Docker is running (docker ps), that ports 80, 5432 and 5433 are free, and that Docker has at least 8 GB of memory (Docker Desktop settings). Then check docker compose ps and docker compose logs.

A data source is "not supported in the free version"

The platform is running without a license key. Add the line SYNTHESIZED_KEY=<your license key> to .env (step 1), then recreate the backend container: docker compose up -d backend.

The UI doesn’t open

Check all containers are running (docker compose ps), read the backend logs (docker compose logs backend), and check your firewall allows port 80 (or 8080 if you remapped it).

You can’t connect to the demo databases

From your machine use localhost:5433; from inside the containers use transformed_db:5432.

The workflow fails

Check the data source connections, read the workflow logs in the UI, and check the input database has data. See common issues and the FAQ.