A Hydrogen application runs the SDK and engine in its agentic build with its own components and cart; AMS queries products from Shopify. The Shopify connector exposes a store’s catalog to the agent and its entities to the page, in any deployment model.

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 connect and forty doctor run a real search and say so.
  • The store’s domain and a Storefront API token. forty connect shopify reads PUBLIC_STORE_DOMAIN / PUBLIC_STOREFRONT_API_TOKEN (or Next.js Commerce’s SHOPIFY_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: productGrid and collectionList, 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. Set PUBLIC_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>.

Managed package

A component package renders the blocks; the SDK’s cart hooks operate the Shopify cart directly.