IntegrationsShopify Headless
Shopify Headless Getting Started
Use PSYKHE with a headless Shopify storefront without the theme app extension blocks.
Use this path when Shopify is still your commerce backend, but the storefront is Hydrogen, Next.js, or another custom frontend.
What Changes In Headless Mode
You still use Shopify as the commerce system, but you do not use the theme app extension blocks as the storefront layer.
Instead, you usually combine:
- Shopify-side catalog ownership
- PSYKHE APIs for tracking and recommendations
@psykhe-ai/uior custom host UI in your headless frontend
Recommended Integration Sequence
- Confirm how catalog sync will work.
- Implement shopper tracking in the headless frontend.
- Render recommendation, browse, or search surfaces in the frontend.
- Validate route behavior, identity, and query synchronization.
Catalog Sync Options
Recommended:
- keep Shopify as the source of truth
- use the Shopify app or a Shopify-managed sync path where available
Fallback:
- use the generic ingestion flow documented in Custom Integration
Frontend Integration Options
For the storefront itself, you have two good choices:
- use
@psykhe-ai/uiand keep the web-component contract - call the APIs directly and render your own host UI
The first option is faster. The second option gives you full frontend ownership.
APIs You Usually Need
- Tracking API for shopper behavior
- Recommendation and browse APIs for search, PLP, and recommendation surfaces
- Ingestion API if you are not using a Shopify-managed sync path