Deploy
Deploy a Rayfin project to a managed Fabric app with the rayfin up CLI workflow, then manage secrets, environments, and billing.
Deploying ships your Rayfin project to a Fabric app — a managed, Microsoft Fabric-hosted instance of your backend and frontend. Fabric provisions the database, authentication, static hosting, and API endpoints; one CLI command builds and ships all of it.
npx rayfin login
npx rayfin uprayfin up builds your static content, deploys it, pushes your rayfin.yml settings to
the remote service, and applies any pending database schema changes — all in one step. Run
it again for every change you want to ship, including schema-only changes.
Confirm the deployment is healthy:
npx rayfin up statusIn this section
- Fabric apps — what a managed Fabric app is, its prerequisites, and how to create one in the Fabric portal.
- Deploying with rayfin up — the full deploy workflow, useful
flags, and what gets written to
rayfin/.deployments.json. - Secrets — store and apply secret values your deployed app needs at runtime.
- Environments and configuration — every environment variable Rayfin tooling reads and writes, and where each one lives.
- Capacity and billing — how Fabric capacity billing works for a deployed app.
- Deployment troubleshooting — symptom-to-fix reference for the most common deploy failures.
Redirect URIs
Configure allowedRedirectUris in rayfin.yml for auth callbacks and the Fabric SSO handoff, and understand what rayfin up appends automatically.
Fabric apps
What a managed Fabric app is, its prerequisites and child services, and how to create and manage one from the Microsoft Fabric portal.