Quickstart
Recommended path: local smoke
Section titled “Recommended path: local smoke”The fastest way to verify the full cloud loop is a local Docker Compose setup with no authentication. Use this before deploying to a VPS.
1. Start cloud runtime and Postgres
Section titled “1. Start cloud runtime and Postgres”docker compose -f docker-compose.cloud.yml up -dDefaults on this profile:
ENGRAM_CLOUD_INSECURE_NO_AUTH=1(no auth required for smoke)ENGRAM_CLOUD_ALLOWED_PROJECTS=smoke-project- Cloud endpoint at
http://127.0.0.1:18080
2. Configure the CLI cloud endpoint
Section titled “2. Configure the CLI cloud endpoint”engram cloud config --server http://127.0.0.1:180803. Enroll a project
Section titled “3. Enroll a project”engram cloud enroll smoke-project4. Sync explicitly
Section titled “4. Sync explicitly”engram sync --cloud --project smoke-projectengram sync --cloud --status --project smoke-project5. Verify the dashboard
Section titled “5. Verify the dashboard”Open http://127.0.0.1:18080/dashboard in your browser.
In smoke mode, /dashboard/login redirects to /dashboard/ directly — no token needed.
Upgrade path for existing local projects
Section titled “Upgrade path for existing local projects”If you already have local memories you want to enroll in cloud:
engram cloud upgrade doctor --project my-project # read-only checkengram cloud upgrade repair --project my-project --dry-runengram cloud upgrade repair --project my-project --applyengram cloud upgrade bootstrap --project my-project # resumable enroll + push + verifyengram cloud upgrade status --project my-projectrollback is available before bootstrap_verified is reached.
Move to authenticated mode
Section titled “Move to authenticated mode”Once smoke works, switch to a production config by adding authentication tokens.
engram cloud config --server https://your-cloud-hostexport ENGRAM_CLOUD_TOKEN=replace-with-long-random-bearer-tokenengram cloud enroll my-projectengram sync --cloud --project my-projectSee Self-Hosting for full environment variable requirements and the official container image.
Common failure codes
Section titled “Common failure codes”| Code | Meaning |
|---|---|
blocked_unenrolled | Project is not enrolled — run engram cloud enroll |
auth_required | Server expects a token — set ENGRAM_CLOUD_TOKEN |
cloud_config_error | No server URL configured — run engram cloud config --server |
policy_forbidden | Project not in server’s ENGRAM_CLOUD_ALLOWED_PROJECTS |
paused | Project sync paused via dashboard admin toggle |
transport_failed | Network error reaching the cloud runtime |