Requirements
- A published store. Products must be on the Shop channel. Development,
unpublished and password-protected stores (and
mock.shop) aren’t in Shopify’s global catalog and return no results —forty connectandforty doctorrun a real search and say so. - The store’s domain and a Storefront API token.
forty connect shopifyreadsPUBLIC_STORE_DOMAIN/PUBLIC_STOREFRONT_API_TOKEN(or Next.js Commerce’sSHOPIFY_STORE_DOMAIN/SHOPIFY_STOREFRONT_ACCESS_TOKEN) from.env, or takes--domain/--storefront-access-token; the platform finds the shop id and market. - Two required blocks:
productGridandcollectionList, by these names.
Hydrogen
Uses the self-hosted integration with Hydrogen’s consent API and the store’s own product components and cart; runs on Oxygen, any host, or managed. SetPUBLIC_CHECKOUT_DOMAIN — without it the consent API
never loads and visitor messages are dropped.
Next.js
A Server Component page reads the preview token and renders a client component containing<Spacefront>; the agentic build rewrites / to it. Wrap store
components that read the URL (variant pickers, galleries) in <Suspense>.
