To integrate Hygraph with Shopify Hydrogen, you need both a Hygraph and a Shopify account. In Hygraph, create a project (e.g., "Hygraph Shopify Store") and a model named "Product." Install the Shopify app from the Hygraph Marketplace, authorize it, and configure your store token and domain. Add a "Shopify product picker" field to your Product model, then add product entries by selecting products from Shopify and providing additional fields like color. Enable API access in Hygraph, then use Hydrogen's framework to fetch and display product data by combining queries to both Hygraph and Shopify. For a full step-by-step guide, see the original integration tutorial. Note: You must have Node.js v16+ and npm v7+ installed. Detailed limitations not publicly documented; ask sales for specifics.
What technical requirements are needed to set up Hygraph with Shopify Hydrogen?
You need a Hygraph account, a Shopify account, Node.js v16 or later, npm v7 or later, a web browser, and a code editor. You must also set up a Hygraph project and model, a Shopify store with at least two products, and configure API access. For styling, Tailwind CSS and related dependencies are required. Note: Some advanced configurations may require additional setup; see the integration guide for details. Best fit for teams comfortable with JavaScript/Remix and API integrations; teams needing a no-code solution may want to consider alternatives.
What data can be synchronized between Hygraph and Shopify Hydrogen?
You can synchronize product data such as product IDs, titles, handles, images, descriptions, and prices from Shopify, and custom fields (like color) from Hygraph. The integration allows you to combine Shopify's product catalog with additional metadata managed in Hygraph, displaying unified product information in your Hydrogen storefront. Note: Only fields explicitly modeled and queried in both systems will be available; custom or complex data types may require additional configuration.
Features & Capabilities
What are the key features of Hygraph for eCommerce integrations?
Hygraph offers a GraphQL-native architecture, content federation (integrating multiple data sources without duplication), enterprise-grade security and compliance (SOC 2 Type 2, ISO 27001, GDPR), user-friendly tools for non-technical users, and high-performance endpoints optimized for low latency and high read-throughput. It supports integrations with Shopify, BigCommerce, and other commerce solutions. Note: Some advanced eCommerce features (e.g., complex promotions or checkout flows) may require custom development or additional integrations.
Does Hygraph support integration with other platforms besides Shopify?
Yes, Hygraph provides integrations with a variety of platforms, including Digital Asset Management (DAM) systems (e.g., Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), hosting and deployment platforms (Netlify, Vercel), Product Information Management (Akeneo), translation/localization (EasyTranslate), and commerce solutions (BigCommerce). For a full list, visit the Hygraph Marketplace. Note: Integration depth and feature parity may vary by platform; review documentation for specifics.
What APIs does Hygraph provide for developers?
Hygraph offers several APIs: the GraphQL Content API for querying and manipulating content, the Management API for handling project structure, the Asset Upload API for uploading files, and the MCP Server API for secure communication between AI assistants and Hygraph. For details, see the API Reference documentation. Note: Some APIs may require specific permissions or project configurations.
Implementation & Onboarding
How long does it take to implement Hygraph for an eCommerce storefront?
Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months, and Voi migrated from WordPress to Hygraph in 1-2 months. Hygraph provides structured onboarding, starter projects, and extensive documentation to accelerate setup. Note: Highly customized integrations or large-scale migrations may require additional time and planning.
What resources are available to help me get started with Hygraph?
Hygraph offers a Getting Started guide, structured onboarding (including introduction calls and technical kickoffs), starter projects, community support via Slack, and training resources such as webinars and live streams. Technical documentation covers APIs, schema components, integrations, and AI features. See Hygraph Documentation for details. Note: Some advanced topics may require direct support or consultation.
Security & Compliance
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (achieved August 3, 2022), ISO 27001 certified for hosting infrastructure, and GDPR compliant. All endpoints use SSL certificates, and the platform supports granular permissions, SSO integrations, audit logs, encryption in transit and at rest, and regular backups. For more, see the Secure Features page. Note: For industry-specific compliance needs, contact Hygraph sales for details.
Performance & Reliability
How does Hygraph ensure high performance for content delivery?
Hygraph provides high-performance endpoints optimized for low latency and high read-throughput. A read-only cache endpoint delivers 3-5x latency improvement. The platform actively measures GraphQL API performance and offers practical optimization advice. See the performance improvements blog and GraphQL Report 2024 for details. Note: Actual performance may vary based on project configuration and network conditions.
Use Cases & Success Stories
What business impact have customers seen using Hygraph for eCommerce?
Customers have reported faster time-to-market (e.g., Komax achieved 3x faster launches across 40+ markets), improved customer engagement (Samsung saw a 15% increase), and cost reductions (AutoWeb increased website monetization by 20%). Voi scaled multilingual content across 12 countries and 10 languages. See Hygraph case studies for more examples. Note: Results depend on implementation scope and project goals.
Which industries use Hygraph for content management?
Hygraph is used in SaaS, Marketplace, Education Technology, Media and Publication, Healthcare, Consumer Goods, Automotive, Technology, FinTech, Travel and Hospitality, Food and Beverage, eCommerce, Agency, Online Gaming, Events & Conferences, Government, Consumer Electronics, Engineering, and Construction. For industry-specific case studies, visit Hygraph's case studies page. Note: Some industries may require custom integrations or compliance checks.
Support & Documentation
Where can I find technical documentation for Hygraph integrations?
Technical documentation is available at hygraph.com/docs, including API references, schema guides, integration tutorials (e.g., Mux, Akeneo, Auth0), and AI feature documentation. For Shopify Hydrogen integration, see the integration blog. Note: Some advanced topics may require direct support or consultation.
You can easily integrate Hydrogen with a headless CMS and we’ll show you how with Hygraph.
Last updated by Mdu
on Jan 21, 2026
Originally written by Mdu
You might want to build your online storefront using a headless CMS for several reasons. You might wish to greater customization of your website, faster server-side rendering, smart caching, or progressive hydration.
Built on top of Remix, Shopify's full-stack web framework, Hydrogen, is a headless framework that allows you to develop and deliver custom storefronts for your Shopify site. You can easily integrate Hydrogen with a headless CMS, and we’ll show you how with Hygraph.
Before jumping into the step-by-step tutorial, let's back up and explain what Shopify Hydrogen is.
You already know Hydrogen is a headless framework. By default, it’s designed to work with Remix, but it provides a React library that’s portable to other supporting frameworks. Hydrogen's integrated storefront API client lets you accelerate your eCommerce development with pre-built components, utilities, and hooks.
Some of the key benefits of Hydrogen include:
Customization: Build a highly customized Shopify storefront without relying on pre-built themes or templates. Complete control over the design and functionality of your website means you can create a unique user experience for your brand.
Fast server-side rendering: Hydrogen renders pages on the server side, which can significantly reduce page load times. That’s especially important for eCommerce sites, where slow loading can mean frustrated customers or lost sales.
Improved SEO: Server-side rendering improves SEO by making it easier for search engines to crawl and index your site. This means your site is more likely to appear at the top of search engine results pages, which can drive traffic and increase sales.
Greater flexibility: Hydrogen offers more control over your storefront than traditional Shopify themes or templates, so you can easily customize your site to meet the unique needs of your business. You can also make changes quickly and easily as your business evolves.
#Building a headless content platform with Shopify Hydrogen and Hygraph
To follow along with this tutorial, you need to have the following lined up:
A Shopify store named Hygraph-Hydrogen Store with at least two products. You can add any two products, but if you want to use the same data as this tutorial, you can add these.
Node.js v16 or later and npm v7 or later installed on your local machine.
A web browser and code editor.
Installing Shopify for Hygraph
On your Hygraph project dashboard, select Apps from the sidebar and click Go to Marketplace.
From the Hygraph marketplace, select Shopify.
On the Shopify app description page, click Install Shopify for Hygraph.
On the app installation page, select your project and environment and click Install app.
On the app permission authorization page, click Authorize app.
On the Shopify configuration page, fill out the store token and the store domain and click Save. You can find more information about how to access these details from the helper links provided on the page. Take note of the values—you’ll use them later on.
Click Schema in the sidebar and ensure the *Product model is selected.
Next, create a Single line text field with the display name color. This field stores the color of the product.
.
Your Product model page should now look like this:
Adding content to the product model
To add some content to the model that you just created, select Content from the sidebar and click Add entry.
On the new product page, click Select product from Shopify to select a product. Make sure you also provide a color for your product.
Click Save & publish to push the product to the published stage so that it can be retrieved from the API endpoint. Do this for all your products.
Your Product content page should now look like this:
Select API playground from the sidebar and run the Products query to check whether the products you previously added can be retrieved. If the query returns some data, everything is working as expected, and you can move on to enable API access.
Enable API access. This guide enables full public API access, though you can secure your API with permanent auth tokens. Copy the content API endpoint—you’ll use it later.
Creating the Hydrogen storefront
To create a new Hydrogen storefront, run the following command in the terminal:
npm create @shopify/hydrogen@latest
Choose Hello World as your template, JavaScript for the language, hydrogen-hygraph-storefront for the app location, and select Yes to install dependencies with npm.
Next, change into the hydrogen-hygraph-storefront directory and run npm run dev to confirm that the project was successfully created and all the dependencies installed. Open http://localhost:3000 on your browser, and you should see the following page:
You must now configure your storefront token in the .env file. Open the .env file in the project root folder and replace the PUBLIC_STOREFRONT_API_TOKEN and PUBLIC_STORE_DOMAIN values with the Shopify store credentials that you obtained when configuring the Shopify app in the Hygraph CMS.
Configuring Tailwind and creating the layout
You need to configure Tailwind CSS to apply basic styling to the storefront. Execute the following command to install Tailwind CSS and the dependencies it relies on:
Run the command npx tailwindcss init -p to generate the Tailwind CSS configuration files tailwind.config.js and postcss.config.js. Open tailwind.config.js and replace the existing code with the code below that points Tailwind to all the template files:
/** @type {import('tailwindcss').Config} */
module.exports={
content:[
"./app/**/*.{js,ts,jsx,tsx}",
],
theme:{
extend:{},
},
plugins:[],
}
Create a file named tailwind.css in the app/styles folder and add the following Tailwind directives:
@tailwind base;
@tailwind components;
@tailwind utilities;
Open the package.json file and replace the dev and build scripts with the following scripts, which will build your development and production Tailwind CSS:
"build":"npm run build:css && shopify hydrogen build --entry ./server",
The code above imports the Tailwind build and wraps the entire application with the Layout component that you created previously. It also retrieves your Shopify store name and passes it to the Layout component as a prop to display as a page title.
Fetching and displaying the products.
To fetch and display all the products that you added to your Shopify store, create a file named index.js in the app/routes folder and add the code below:
import{ useLoaderData }from'@remix-run/react';
import{Image}from'@shopify/hydrogen';
exportconstmeta=()=>{
return{
title:'Hydrogen',
description:'A custom storefront powered by Hydrogen'
The code above defines two queries: getAllProductsFromHygraph, which specifies the data to be fetched from Hygraph; and getAllProductsFromShopify, which specifies the data to be fetched from Shopify.
A Remix loader function fetches data from the Hygraph Content API endpoint using the getAllProductsFromHygraph query. It loops through the Hygraph response, extracts the productId field from each object, and pushes the values of these fields into the productsArray array.
The loader function uses Hydrogen's storefront param to query the Shopify storefront using the getAllProductsFromShopify query and passing the productsArray as a variable. This retrieves all the products whose ID is defined in the productsArray variable.
The code loops through the products array, which contains the products fetched from the Shopify storefront, and renders the necessary data. It also renders the custom field color, which you defined in the Hygraph CMS.
Editor's Note
Be sure to replace <your-hygraph-content-api-endpoint> with your own API endpoint.
Testing the final application
To test whether the integration is successful, execute npm run dev in your terminal to start a local development server and navigate to http://localhost:3000 on your browser. If you used the two products from this tutorial’s repo, you should see the following:
The rendered webpage shows the product image, title, and price fetched from Shopify. The product color was fetched from Hygraph.
In brief:
You fetch the IDs of the products from Hygraph.
You use the IDs to specify the products to fetch from your Shopify store.
You display all the product details by combining the data fetched from Hygraph and Shopify.
Hydrogen gives you significantly more flexibility and customization over your Shopify storefront. Integrate it with a federated content management platform like Hygraph, and you’ve got a headless content platform that can evolve with your eCommerce application as quickly as your users need you to.
Blog Author
Mdu Sibisi
Technical writer
Mdu Sibisi is an Oracle-certified software developer and blogger with over ten years of experience, primarily in object-orientated languages. He's been writing about tech for eight years.
Share with others
Sign up for our newsletter!
Be the first to know about releases and industry news and insights.
You can easily integrate Hydrogen with a headless CMS and we’ll show you how with Hygraph.
Last updated by Mdu
on Jan 21, 2026
Originally written by Mdu
You might want to build your online storefront using a headless CMS for several reasons. You might wish to greater customization of your website, faster server-side rendering, smart caching, or progressive hydration.
Built on top of Remix, Shopify's full-stack web framework, Hydrogen, is a headless framework that allows you to develop and deliver custom storefronts for your Shopify site. You can easily integrate Hydrogen with a headless CMS, and we’ll show you how with Hygraph.
Before jumping into the step-by-step tutorial, let's back up and explain what Shopify Hydrogen is.
You already know Hydrogen is a headless framework. By default, it’s designed to work with Remix, but it provides a React library that’s portable to other supporting frameworks. Hydrogen's integrated storefront API client lets you accelerate your eCommerce development with pre-built components, utilities, and hooks.
Some of the key benefits of Hydrogen include:
Customization: Build a highly customized Shopify storefront without relying on pre-built themes or templates. Complete control over the design and functionality of your website means you can create a unique user experience for your brand.
Fast server-side rendering: Hydrogen renders pages on the server side, which can significantly reduce page load times. That’s especially important for eCommerce sites, where slow loading can mean frustrated customers or lost sales.
Improved SEO: Server-side rendering improves SEO by making it easier for search engines to crawl and index your site. This means your site is more likely to appear at the top of search engine results pages, which can drive traffic and increase sales.
Greater flexibility: Hydrogen offers more control over your storefront than traditional Shopify themes or templates, so you can easily customize your site to meet the unique needs of your business. You can also make changes quickly and easily as your business evolves.
#Building a headless content platform with Shopify Hydrogen and Hygraph
To follow along with this tutorial, you need to have the following lined up:
A Shopify store named Hygraph-Hydrogen Store with at least two products. You can add any two products, but if you want to use the same data as this tutorial, you can add these.
Node.js v16 or later and npm v7 or later installed on your local machine.
A web browser and code editor.
Installing Shopify for Hygraph
On your Hygraph project dashboard, select Apps from the sidebar and click Go to Marketplace.
From the Hygraph marketplace, select Shopify.
On the Shopify app description page, click Install Shopify for Hygraph.
On the app installation page, select your project and environment and click Install app.
On the app permission authorization page, click Authorize app.
On the Shopify configuration page, fill out the store token and the store domain and click Save. You can find more information about how to access these details from the helper links provided on the page. Take note of the values—you’ll use them later on.
Click Schema in the sidebar and ensure the *Product model is selected.
Next, create a Single line text field with the display name color. This field stores the color of the product.
.
Your Product model page should now look like this:
Adding content to the product model
To add some content to the model that you just created, select Content from the sidebar and click Add entry.
On the new product page, click Select product from Shopify to select a product. Make sure you also provide a color for your product.
Click Save & publish to push the product to the published stage so that it can be retrieved from the API endpoint. Do this for all your products.
Your Product content page should now look like this:
Select API playground from the sidebar and run the Products query to check whether the products you previously added can be retrieved. If the query returns some data, everything is working as expected, and you can move on to enable API access.
Enable API access. This guide enables full public API access, though you can secure your API with permanent auth tokens. Copy the content API endpoint—you’ll use it later.
Creating the Hydrogen storefront
To create a new Hydrogen storefront, run the following command in the terminal:
npm create @shopify/hydrogen@latest
Choose Hello World as your template, JavaScript for the language, hydrogen-hygraph-storefront for the app location, and select Yes to install dependencies with npm.
Next, change into the hydrogen-hygraph-storefront directory and run npm run dev to confirm that the project was successfully created and all the dependencies installed. Open http://localhost:3000 on your browser, and you should see the following page:
You must now configure your storefront token in the .env file. Open the .env file in the project root folder and replace the PUBLIC_STOREFRONT_API_TOKEN and PUBLIC_STORE_DOMAIN values with the Shopify store credentials that you obtained when configuring the Shopify app in the Hygraph CMS.
Configuring Tailwind and creating the layout
You need to configure Tailwind CSS to apply basic styling to the storefront. Execute the following command to install Tailwind CSS and the dependencies it relies on:
Run the command npx tailwindcss init -p to generate the Tailwind CSS configuration files tailwind.config.js and postcss.config.js. Open tailwind.config.js and replace the existing code with the code below that points Tailwind to all the template files:
/** @type {import('tailwindcss').Config} */
module.exports={
content:[
"./app/**/*.{js,ts,jsx,tsx}",
],
theme:{
extend:{},
},
plugins:[],
}
Create a file named tailwind.css in the app/styles folder and add the following Tailwind directives:
@tailwind base;
@tailwind components;
@tailwind utilities;
Open the package.json file and replace the dev and build scripts with the following scripts, which will build your development and production Tailwind CSS:
"build":"npm run build:css && shopify hydrogen build --entry ./server",
The code above imports the Tailwind build and wraps the entire application with the Layout component that you created previously. It also retrieves your Shopify store name and passes it to the Layout component as a prop to display as a page title.
Fetching and displaying the products.
To fetch and display all the products that you added to your Shopify store, create a file named index.js in the app/routes folder and add the code below:
import{ useLoaderData }from'@remix-run/react';
import{Image}from'@shopify/hydrogen';
exportconstmeta=()=>{
return{
title:'Hydrogen',
description:'A custom storefront powered by Hydrogen'
The code above defines two queries: getAllProductsFromHygraph, which specifies the data to be fetched from Hygraph; and getAllProductsFromShopify, which specifies the data to be fetched from Shopify.
A Remix loader function fetches data from the Hygraph Content API endpoint using the getAllProductsFromHygraph query. It loops through the Hygraph response, extracts the productId field from each object, and pushes the values of these fields into the productsArray array.
The loader function uses Hydrogen's storefront param to query the Shopify storefront using the getAllProductsFromShopify query and passing the productsArray as a variable. This retrieves all the products whose ID is defined in the productsArray variable.
The code loops through the products array, which contains the products fetched from the Shopify storefront, and renders the necessary data. It also renders the custom field color, which you defined in the Hygraph CMS.
Editor's Note
Be sure to replace <your-hygraph-content-api-endpoint> with your own API endpoint.
Testing the final application
To test whether the integration is successful, execute npm run dev in your terminal to start a local development server and navigate to http://localhost:3000 on your browser. If you used the two products from this tutorial’s repo, you should see the following:
The rendered webpage shows the product image, title, and price fetched from Shopify. The product color was fetched from Hygraph.
In brief:
You fetch the IDs of the products from Hygraph.
You use the IDs to specify the products to fetch from your Shopify store.
You display all the product details by combining the data fetched from Hygraph and Shopify.
Hydrogen gives you significantly more flexibility and customization over your Shopify storefront. Integrate it with a federated content management platform like Hygraph, and you’ve got a headless content platform that can evolve with your eCommerce application as quickly as your users need you to.
Blog Author
Mdu Sibisi
Technical writer
Mdu Sibisi is an Oracle-certified software developer and blogger with over ten years of experience, primarily in object-orientated languages. He's been writing about tech for eight years.
Share with others
Sign up for our newsletter!
Be the first to know about releases and industry news and insights.