Skip to content

Build apps

You can build an app on Facet — by hand or with an AI coding agent. Register the app, sign users in, then call Facet over the REST API or the TypeScript SDK. The pages here cover each step, and every one carries code you can copy and run.

For agents: read /llms.txt first, then fetch any page as raw markdown at /apps/<page>.md (byte-for-byte, front-matter kept). Minimal build sequence: register an app (POST /Api/app/App) → sign in (/OAuth/authorize → /OAuth/token, or an app-owned fct_ key) → call /Api/<domain>/<Doctype> with Authorization. Start at How apps work.