# Demo videos

All demo videos with English and Vietnamese versions and a link to the article behind each one.

Company: AstraCMS Docs
API version: Không áp dụng
Requested language: en
Content language: en
Source: https://zerohost-b69e460a-fdedfaced775e42578cf55c1346b15d0.zhst.app/astra-cms/en/videos

Each video is a short, scripted demo of code that actually runs in the repository. Watch in order, or jump to the one that answers your question.

- **Teaser.** [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-0-teaser-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-0-teaser-vi.mp4)
- **Video 1: What is Astra & running it locally** (2:32). Kernel + DocType engine + plugin host, then the whole k3d cluster with `make k3d-up`, data seeded through the REST API, and a Desk login. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-1-quickstart-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-1-quickstart-vi.mp4) · [Read the article](/astra-cms/en/quickstart)
- **Video 2: DocType: from one YAML file to API, UI and indexes** (2:38). One YAML file generates the form, REST API, validation and an online expression index; every DocType shares one JSONB table, no ALTER TABLE. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-2-doctype-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-2-doctype-vi.mp4) · [Read the article](/astra-cms/en/doctype)
- **Video 3: Business rules: hooks & validation** (2:53). A 73,000 ₫ shipping fee computed by a hook, all validation errors returned at once, Links checked inside the tenant; the Desk and the API hit the same rules. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-3-hooks-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-3-hooks-vi.mp4) · [Read the article](/astra-cms/en/hooks)
- **Video 4: Document lifecycle: Submit, Cancel, Amend** (3:10). Submit creates the waybill and the journal entry in one transaction; submitted documents are immutable; cancel posts a reversing entry; amend creates a new revision. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-4-lifecycle-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-4-lifecycle-vi.mp4) · [Read the article](/astra-cms/en/lifecycle)
- **Video 5: Operations: the parcel state machine** (3:00). Filtering on a projected field, the scan timeline, no skipped states, an error then a success on the same form, and no cancelling a delivered order. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-5-ops-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-5-ops-vi.mp4) · [Read the article](/astra-cms/en/ops)
- **Video 6: Customer care sees operations** (2:30). Tickets jump to High with a +24h SLA based on keywords; the CARE replica card reads a copy kept by the CDC worker. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-6-care-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-6-care-vi.mp4) · [Read the article](/astra-cms/en/care)
- **Video 7: Multi-tenancy** (2:28). Two companies on one server: same URL, different data; Links never cross tenants, 403/400 when the tenant is unclear, RLS returns 0 rows. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-7-tenants-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-7-tenants-vi.mp4) · [Read the article](/astra-cms/en/tenants)
- **Video 8: Fail-closed security** (2:02). Connect as a superuser and the kernel refuses to start, before Flyway runs any migration; the application role is NOSUPERUSER NOBYPASSRLS. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-8-failclosed-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-8-failclosed-vi.mp4) · [Read the article](/astra-cms/en/failclosed)
- **Video 9: For developers: writing an Astra app** (2:22). An app is plain Java + YAML on astra-spi; dev-mode live reload adds a new column in 0.73 s; 44 integration tests against real PostgreSQL, Seata and Redis. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-9-developer-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-9-developer-vi.mp4) · [Read the article](/astra-cms/en/developer)
- **Video 10: Running on Kubernetes** (2:06). Two kernel pods write in parallel with no duplicate and no gap in the numbering; a rolling restart under load, and what is still missing (no drain yet). [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-10-k8s-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-10-k8s-vi.mp4) · [Read the article](/astra-cms/en/k8s)
- **Video 11: Keycloak: one identity, roles per tenant, permissions per DocType** (2:18). PKCE login with the Astra theme, roles as Keycloak groups, permissions declared on the DocType; the maker of a payment voucher cannot approve it (403). [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-11-keycloak-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-11-keycloak-vi.mp4) · [Read the article](/astra-cms/en/keycloak)
- **Video 12: Append-only ledger** (2:32). Double-entry postings ride the document's transaction, cancel reverses, a trigger blocks UPDATE even for the table owner, monthly partitions. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-12-ledger-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-12-ledger-vi.mp4) · [Read the article](/astra-cms/en/ledger)
- **Video 13: Tenant overlays** (2:24). Hanoi adds VAT fields and an island zone with one YAML file, live immediately; the Express app does not change a line. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-13-overlay-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-13-overlay-vi.mp4) · [Read the article](/astra-cms/en/overlay)
- **Video 14: Tier 2 Wasm: each tenant's own shipping formula** (2:20). A Tết promotion written in Rust (421 bytes) switches the fee from 73,000 to 51,000; an infinite loop is stopped at 50 ms. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-14-wasm-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-14-wasm-vi.mp4) · [Read the article](/astra-cms/en/wasm)
- **Video 15: MCP: AI agents use Astra with the user's permissions** (2:24). Real Claude calls tools over MCP: PII is masked, the customer care agent cannot create orders, and the accountant's COD question is answered from the ledger. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-15-mcp-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-15-mcp-vi.mp4) · [Read the article](/astra-cms/en/mcp)
- **Video 16: Rust CDC + Sync-Aware LSN** (2:36). A Rust worker reads the WAL, writes return X-Tx-LSN, and a read from a replica that has not caught up gets 202 Sync Pending instead of stale data. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-16-cdc-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-16-cdc-vi.mp4) · [Read the article](/astra-cms/en/cdc)
- **Video 17: Seata: one submit, three resources** (2:26). The AT branch charges the BMS credit limit, the TCC branch holds a slot in Redis, the kernel commits last; one branch refusing rolls everything back. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-17-seata-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-17-seata-vi.mp4) · [Read the article](/astra-cms/en/seata)
- **Video 18: the rest of use-case-01** (1:36). What videos 1 to 17 and 19 to 21 already run for real (including HRM, STMS, SAML and SCIM) and what is still in development: multi-schema, Tier 1, streaming CDC, autonomous agents, audit hash-chain, field encryption. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-18-roadmap-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-18-roadmap-vi.mp4) · [Read the article](/astra-cms/en/roadmap)
- **Video 19: HRM: attendance and payroll** (2:40). Following Frappe HRMS concepts: attendance sets working days, Payroll Entry computes salary slips in parallel, a courier bonus in Wasm, one accrual journal entry for the period, cancel reverses; the AI agent only sees masked names. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-19-hrm-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-19-hrm-vi.mp4) · [Read the article](/astra-cms/en/hrm)
- **Video 20: STMS: vehicle dispatch with Timefold + AI copilot** (2:58). Timefold plans routes by capacity and time window and re-plans on a breakdown, an urgent order or a traffic jam; the copilot takes Vietnamese commands and calls real tools. The copilot's LLM is simulated from the demo script, labelled on every frame. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-20-stms-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-20-stms-vi.mp4) · [Read the article](/astra-cms/en/stms)
- **Video 21: SAML SSO and SCIM** (2:32). Login through a signed SAML IdP, IdP groups become tenant roles; SCIM 2.0 creates, regroups, deactivates and deletes users per tenant, and another tenant's token is blocked. [▶ English](https://media.zerohostcms.com/astra-cms/astra-video-21-sso-en.mp4) · [▶ Tiếng Việt](https://media.zerohostcms.com/astra-cms/astra-video-21-sso-vi.mp4) · [Read the article](/astra-cms/en/sso)

