A component package is published to AMS, which versions it and serves the page from the live release. AMS serves the agentic webpage on the space’s own site, <space>.40rty.app, or a custom domain (forty domain add <host>). It hosts one of two sources.

Your application

The self-hosted integration, hosted by AMS. forty deploy builds the agentic build from a temporary copy of your repository and serves it, every path, from the space’s site. Your repository and existing pipeline are not modified; forty hosting self moves the space back to your own hosting. Supported for Hydrogen and Next.js.

Component package

No React app to build on? Write only the blocks (and optionally the shell) as a small React package. forty create <dir> starts one; each forty publish is a versioned release that AMS hosts and serves.
src/index.ts
A package depends on React and @40rty/ams-sdk, optionally @40rty/ams-ui. Its stylesheet and assets are published with it.

Comparison