Overview

This documentation covers the installation, configuration, and operational guidance for both Monzo Technology products. Choose a guide to get started:

Shared infrastructure: Both products support Docker Compose and Kubernetes, share PostgreSQL + Redis as data layer, and can be deployed together with unified SSO and audit logging.
Zenflow OA

Installation & Deployment Guide

Zenflow OA is an integrated Enterprise Office Automation platform for HR & organization management, attendance, payroll, performance, training, administration, assets, projects, and workflow automation.

1  Architecture Overview

[Web (React/TS)] → [API (Strapi)]
│
├─ DB:       PostgreSQL / MySQL
├─ Cache:    Redis
├─ Storage:  S3 / MinIO / OSS
├─ Workflow: BPMN 2.0 Engine
└─ AuthZ:    RBAC + ABAC + Audit

2  Requirements

  • Linux x86_64 / ARM64
  • Docker + Compose / Kubernetes
  • PostgreSQL 14+
  • Optional: Redis / MinIO / Nginx

3  Quick Start (Docker Compose)

git clone https://github.com/monzotechnology/zenflow-oa.git
cd zenflow-oa
cp .env.example .env
docker compose up -d

Create admin account:

curl -X POST http://localhost:1337/admin/auth/local/register \
  -H 'Content-Type: application/json' \
  -d '{"email":"admin@example.com","password":"ChangeMe!123"}'

Access the portal → https://zenflow.example.com

4  Reverse Proxy (Nginx)

server {
  listen 443 ssl http2;
  server_name zenflow.example.com;

  ssl_certificate     /etc/letsencrypt/live/zenflow/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/zenflow/privkey.pem;

  location / {
    proxy_pass http://web:8088;
  }
  location /api/ {
    proxy_pass http://api:1337/;
  }
}

5  Key Modules

  • Organization & HR — employee profiles, contracts, onboarding flows
  • Attendance & Leave — multi-method clock-in, leave tracking, appeals
  • Payroll & Benefits — auto calculation, batch disbursement, cost analysis
  • Performance & Training — goal setting, 360° feedback, analytics
  • Administration & Projects — assets, budgets, tasks, collaboration
  • Workflow & System — visual BPMN, conditions, notifications, audits

6  Integrations

  • SSO — OIDC / SAML / LDAP (Azure AD, Google Workspace)
  • Mail & IM — SMTP / Teams / Slack / Lark / Feishu
  • Finance & ERP — REST / GraphQL / Webhooks
  • Storage — S3 / MinIO / OSS

7  Monitoring & Backup

# Database backup
docker compose exec db pg_dump -U zenflow zenflow > backup.sql

# File backup
tar czf config_$(date +%F).tar.gz config/

Prometheus health endpoint: /api/health

8  Security & Compliance

  • Role- and attribute-based access control (RBAC + ABAC)
  • Full audit logging for login, workflow, and salary changes
  • Data localization and field-level masking (PII / salary)
  • Configurable retention policies and export restrictions

9  Common Issues

ProblemSolution
Stuck workflowVerify BPMN definition & queue status
Export encodingEnsure UTF-8 & fonts installed
Missing attachmentsCheck object storage bucket policy

10  Vault CX + Zenflow OA Integration

  • Unified SSO (IdP / SCIM) for shared users and roles
  • OA organizational data used as Vault CX ABAC attributes
  • Unified audit logging to Grafana / Loki
  • Shared deployment cycle and version governance

11  Release Flow

  • Feature branch → PR → CI/CD test → build image
  • Tag vX.Y.Z → push to registry
  • Run DB migration if needed
  • Update changelog and Helm chart

12  FAQ

  • Can it run offline? Yes, both products support air-gapped Docker images.
  • Can OA and Vault CX share auth? Yes, via a central IdP (Keycloak / Azure AD).
  • Is multilingual supported? Yes — EN / ZH / JA.
  • RPO/RTO targets? RPO ≤ 15 min, RTO ≤ 30 min.
Vault CX

Installation & Deployment Guide

Vault CX is a self-hosted AI Operations & Knowledge Platform that unifies AI monitoring, model governance, and knowledge automation in a single, secure environment.

1  Architecture Overview

[Web (Next.js)] → [API (FastAPI)]
│
├─ Models:    Ollama / OpenAI / Anthropic / Local
├─ Vector DB: FAISS / Milvus / Chroma
├─ DB:        PostgreSQL (primary) + Redis (cache/queue)
├─ Storage:   S3 / MinIO / OSS
├─ Telemetry: Prometheus + Grafana
└─ Logs/Traces: Loki / ELK / OTLP
  • Security: JWT + RBAC/ABAC, org-domain-project isolation, full audit trail.
  • Governance: prompt versioning, SLO dashboards, feature flags, tool success-rate monitoring.
  • Widgets: embeddable chat widgets via script or iframe with domain whitelist control.

2  Requirements

  • Linux x86_64 / ARM64 (Ubuntu 22.04+ / RHEL 9+)
  • Docker 24+ / Compose v2 or Kubernetes 1.26+
  • PostgreSQL 14+, Redis 6+
  • Optional: MinIO / Prometheus / Grafana / Loki
  • Ports: 80 / 443 / 8080 / 3000 / 5432 / 6379

3  Quick Start (Docker Compose)

git clone https://github.com/monzotechnology/vaultcx.git
cd vaultcx
cp .env.example .env
docker compose up -d

Initialize admin:

docker compose exec api vxcctl admin create \
  --email admin@example.com --password "ChangeMe!123"

Then visit → https://vaultcx.example.com

4  Reverse Proxy + TLS (Nginx)

server {
  listen 443 ssl http2;
  server_name vaultcx.example.com;

  ssl_certificate     /etc/letsencrypt/live/vaultcx/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/vaultcx/privkey.pem;

  location / {
    proxy_pass http://web:3000;
  }
  location /api/ {
    proxy_pass http://api:8080/;
  }
}

5  Configuration Highlights

  • Domains & Prompts — define YAML prompt files under /config/prompts.
  • Feature Flags & Rate Limits — controlled in /config/app.yaml.
  • Access Control — role-based (super-admin, editor, viewer) + ABAC for fine-grained policies.

6  Embed Widget

Add this script tag to any webpage to embed the Vault CX chat widget:

<script async
  src="https://vaultcx.example.com/embed/v1.js"
  data-wid="wid_xxxx"
  data-lang="en"
  data-theme="auto"
  data-position="bottom-right"></script>

7  Monitoring & SLO

  • Exposes Prometheus metrics at /metrics
  • Grafana dashboard → vaultcx-slo.json
  • Key indicators: QPS, Latency P95, Tool Success Rate, Token Usage

8  Backup & Upgrade

# Backup database
docker compose exec db pg_dump -U vaultcx vaultcx > backup.sql

# Pull latest image and apply migrations
docker compose pull && docker compose up -d
docker compose exec api vxcctl migrate db

9  Troubleshooting

IssueCause / Fix
401 UnauthorizedCheck JWT_SECRET and CORS origin whitelist
Vector load failEnsure VECTOR_PATH is mounted and writable
Widget not loadingConfirm domain is in allowed list
Tool failure rate ↑Re-authenticate API keys or permissions
Zenflow OA

Release Notes

Latest stable: v3.2.1  ·  Released Jun 12, 2026

v3.2.1 Jun 12, 2026
New Fix
  • New AI-assisted performance review summary with GPT integration
  • New Bulk payroll recalculation with preview diff before commit
  • New Department budget vs. actual real-time dashboard
  • Fix Overtime calculation rounding error on DST boundaries
  • Fix Avatar upload failing on certain MIME types
v3.2.0 May 8, 2026
  • New Smart attendance scheduling with conflict detection
  • New Geo-fence v2 — polygon zones and multi-office support
  • New Workflow visual debugger with execution trace playback
  • Fix Leave balance sync delay on cross-timezone teams
v3.1.5 Apr 3, 2026
  • New Multi-currency payroll — USD / CNY / AED / SGD
  • New 360° feedback redesign with anonymous submission mode
  • Fix Training completion certificate not generating for some users
  • Fix SSO token expiry not triggering re-auth on SAML providers
v3.1.4 Mar 6, 2026
  • New Asset QR code bulk print export
  • Fix Leave appeal form not saving attachments > 5 MB
  • Fix Contract expiry reminder email not firing for contractors
  • Fix Payroll slip PDF layout broken on Arabic locale
v3.1.3 Feb 5, 2026
  • New Automated training path assignment by job role
  • New Mobile app v2 — offline punch-in and push notifications
  • Fix Org chart failing to render when reporting chain > 8 levels
  • Fix Excel export truncating long text fields
v3.1.2 Jan 10, 2026
  • Fix Payroll rounding producing 0.01 discrepancy in batch totals
  • Fix Export encoding corruption on Windows clients (UTF-8 BOM)
  • Security Dependency upgrade — axios XSS patch (CVE-2025-9142)
v3.1.0 Dec 4, 2025
  • New BPMN 2.0 engine upgrade — parallel gateways and timer events
  • New Audit trail dashboard with filterable export
  • New HR Analytics module — turnover prediction (beta)
  • New Webhook push for external ERP synchronization
v3.0.5 Nov 7, 2025
  • Security RBAC privilege escalation patch (CVE-2025-4812)
  • Fix Session token not invalidated after password reset
Vault CX

Release Notes

Latest stable: v2.5.0  ·  Released Jun 18, 2026

v2.5.0 Jun 18, 2026
  • New GPT-4o and Claude 3.5 Sonnet support with streaming responses
  • New Knowledge graph visualization — entity relationship explorer
  • New Multi-agent orchestration framework (sequential + parallel modes)
  • New Tool marketplace — 30+ pre-built integrations (Jira, Salesforce, Zendesk)
  • Fix RAG retrieval quality degradation on large corpora (> 1M chunks)
v2.4.3 May 14, 2026
  • New Prompt playground with A/B testing and version comparison
  • New SLO alerting — PagerDuty / Slack / webhook triggers
  • New Tenant-level model cost tracking and budget limits
  • Fix Widget scroll position reset on message append
v2.4.2 Apr 11, 2026
  • New Chat widget v2 — rich cards, file attachments, reaction buttons
  • New Conversation export in JSON / CSV / PDF formats
  • Fix Milvus collection not auto-creating on first vector insert
v2.4.1 Mar 13, 2026
  • New SCIM 2.0 user provisioning from Azure AD
  • Fix JWT refresh loop when Redis session store disconnects
  • Fix CORS preflight failing on subpath reverse proxy configurations
  • Fix Vector search returning duplicate chunks from same document
v2.4.0 Feb 10, 2026
  • New Prompt versioning with rollback and side-by-side diff view
  • New Per-domain feature flags with gradual percentage rollout
  • New Grafana SLO dashboard bundled (vaultcx-slo.json v2)
v2.3.8 Jan 8, 2026
  • Fix Milvus gRPC connection timeout under high concurrency
  • Fix Missing CORS headers on /metrics endpoint
  • Fix Admin invite email not sending via SMTP relay
v2.3.5 Dec 2, 2025
  • New Loki log integration — structured request/response traces
  • New ELK stack support via OTLP exporter
v2.3.2 Nov 12, 2025
  • Security ABAC policy evaluation hardening — deny-by-default on missing context
  • Security Dependency audit — upgraded 14 packages with known CVEs