Hosted SaaS Getting Started
Synced from repo docs
This page is synced from docs/guides/hosted-saas-getting-started.md via docs/public-docs.json. Edit the owning repo source instead of this generated copy. GitHub source: https://github.com/byteor-systems/byteor-cloud/blob/master/docs/guides/hosted-saas-getting-started.md
This guide is the shortest path from a fresh ByteOr Cloud workspace to a usable hosted SaaS demo environment.
What you get
After following this guide you should have:
- a local Postgres-backed control plane
- the API and worker running
- the UI running separately
- one organization, project, and environment you can use for agent enrollment and deployments
Prerequisites
- Docker and Docker Compose
- Rust toolchain matching
rust-toolchain.toml - Node.js for the UI workspace
Start the backend
Use the local helper when you want API and worker processes on the host:
This starts Postgres in Docker, applies migrations and demo seed data, then runs the API and worker.
Use Compose when you want the whole control plane containerized:
Add the UI profile if you also want the frontend container:
Start the UI
Run the UI separately during normal development:
Default local endpoints
- UI:
http://localhost:3000 - API:
http://localhost:8080 - Worker health surface:
http://localhost:9090/healthz - Metrics:
http://localhost:8080/metrics
First operator flow
Use the local environment to validate the core SaaS loop in this order:
- Sign in through the browser flow.
- Create or select an organization and project.
- Create an environment for the project.
- Create or open a pipeline draft.
- Select an explicit execution target in the editor.
Use
SingleRingfor ordered linear execution andLaneGraphwhen the draft needs branching, fanout, merge, or richer boundary routing. - Author the draft through the shared planning model. The editor can reproject that plan as a linear SingleRing canvas or a LaneGraph-style topology canvas without changing the underlying draft document shape.
- Save the draft and compile it into a canonical version. Preview and version creation both validate and lower the synchronized plan through the compiler-backed WASM path.
- Create a config bundle for that version.
- Register an agent for the environment.
- Create a deployment and verify the agent targets it.
- Confirm heartbeats, snapshots, and artifacts appear in the control plane.
- Launch a replay from an incident artifact.
Hosted environment naming
The intended hosted naming layout is:
cloud.byteor.comfor production UIapi.byteor.com/v1for production APIcloud.staging.byteor.comandapi.staging.byteor.com/v1for stagingcloud.dev.byteor.comandapi.dev.byteor.com/v1for development
OIDC callbacks should stay on the cloud.* origin rather than the API origin.
What to verify before a demo
/readyzreturns success on API and worker/metricsexposes auth, request, unauthorized, forbidden, and rate-limited counters- the seeded or demo org can reach compile, config, deploy, and replay flows without direct database edits
- agent enrollment returns a per-agent runtime API key and steady-state heartbeats work with that key
Related guides
- Agent Install Guide
- Approval Workflow Guide
- Incident And Replay Operator Guide
- Support And On-Call Runbook (private repo doc)
- Quick Start: First Deployment