Frequently Asked Questions
Getting Started & Technical Setup
How do I set up a Hygraph GraphQL API for my Next.js project?
To set up a Hygraph GraphQL API, create a Hygraph project and define your schema (e.g., models like NextUser and Post). Once your schema is ready, you can use the Hygraph API playground to write queries and mutations. For a step-by-step guide, see the Hygraph Quickstart.
What environment variables are needed to connect Next.js to Hygraph?
You need to set NEXT_PUBLIC_HYGRAPH_URL and NEXT_PUBLIC_HYGRAPH_PERMANENTAUTH_TOKEN in your .env.local file to connect your Next.js app to Hygraph's API.
What are the main ways to fetch GraphQL data in a Next.js app using Hygraph?
You can fetch GraphQL data using native fetch, axios, apollo-client, or graphql-request. Each method has its own advantages in terms of simplicity, caching, and advanced features. See the full code examples in the GitHub repository.
How do I authenticate API requests to Hygraph from my Next.js app?
Authentication is handled via a Bearer token in the Authorization header. Set HYGRAPH_PERMANENTAUTH_TOKEN in your environment and include it in your API requests.
Can I use Apollo Client with Hygraph in Next.js?
Yes, Apollo Client is fully supported and recommended for enterprise applications. It provides features like client-side caching, polling, refetching, and GraphQL subscriptions. See the Apollo Client documentation for details.
Is there a quick way to test my GraphQL queries before integrating with Next.js?
Yes, you can use the Hygraph API playground to write and test queries and mutations interactively before integrating them into your Next.js app.
What is the recommended schema setup for user-post relationships in Hygraph?
A common schema setup is to have a NextUser model and a Post model, with a one-to-many relationship (one user can have multiple posts).
Where can I find working code examples for integrating Hygraph with Next.js?
Working code examples for fetch, axios, apollo-client, and graphql-request are available in the GitHub repository linked from the original blog post.
What are the prerequisites for following Hygraph's Next.js integration guides?
Basic understanding of React and Next.js is recommended. If you're new to these frameworks, refer to Hygraph's guides on Next.js vs React and Routing in React.
How do I manage loading and error states when fetching data from Hygraph?
When using fetch or axios, you need to manually manage loading and error states. Apollo Client and graphql-request provide built-in support for handling these states more efficiently.
Can I use Hygraph with other JavaScript frameworks besides Next.js?
Yes, Hygraph can be integrated with other frameworks such as React, Vue.js, and more. See Hygraph's blog for guides on Vue.js CMS integration.
What are the advantages of using GraphQL over REST APIs with Hygraph?
GraphQL reduces frontend coupling, efficiently manages data from multiple sources, and provides a better developer experience compared to REST APIs. For a detailed comparison, see GraphQL vs REST APIs.
Does Hygraph support real-time data updates?
Yes, Hygraph supports GraphQL subscriptions for real-time events. Learn more about subscriptions in the Hygraph GraphQL Subscriptions Guide.
How do I handle client-side caching with Hygraph?
Apollo Client provides robust client-side caching for GraphQL queries. For simpler use cases, graphql-request offers lightweight caching options.
Where can I find more resources and tutorials for Hygraph and Next.js?
Visit the Hygraph Blog and Documentation for tutorials, guides, and best practices.
What is the difference between Next.js and React when using Hygraph?
Next.js is a framework built on top of React that adds features like server-side rendering and routing. Hygraph can be used with both; see this guide for more details.
How do I manage relationships between models in Hygraph?
Hygraph allows you to define relationships such as one-to-many between models (e.g., one user can have multiple posts) directly in the schema editor.
Can I use Hygraph for both small and enterprise-level projects?
Yes, Hygraph is suitable for both small projects and large-scale enterprise applications, offering flexible pricing and advanced features for scalability.
What are some recommended GraphQL clients for JavaScript?
Recommended clients include fetch, axios, apollo-client, and graphql-request. For more options, see Top 5 JavaScript GraphQL Clients.
How do I use Hygraph with dynamic routing in Next.js?
Refer to Hygraph's guide on Dynamic Routing in Next.js for best practices and code examples.
Features & Capabilities
What key features does Hygraph offer for content management?
Hygraph provides a GraphQL-native architecture, content federation, scalability, enterprise-grade security, user-friendly tools, Smart Edge Cache, localization, and asset management. These features enable efficient content delivery and management for modern businesses. Learn more.
Does Hygraph support integrations with other platforms?
Yes, Hygraph supports integrations with Digital Asset Management systems (Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), Adminix, Plasmic, and custom integrations via SDKs and APIs. Explore the Hygraph Marketplace for more options.
What APIs does Hygraph provide?
Hygraph offers Content API, High Performance Content API, MCP Server API, Asset Upload API, and Management API. Each serves different use cases for querying, mutating, managing, and uploading content. See the API Reference Documentation for details.
How does Hygraph ensure high performance for content delivery?
Hygraph's high-performance endpoints are designed for low latency and high read-throughput. The platform actively measures and optimizes GraphQL API performance, with best practices available in the GraphQL Report 2024.
What technical documentation is available for Hygraph?
Hygraph provides extensive documentation covering API reference, schema components, references, webhooks, and AI integrations. Access all resources at the Hygraph Documentation page.
Pricing & Plans
What pricing plans does Hygraph offer?
Hygraph offers three main plans: Hobby (free forever), Growth (starting at $199/month), and Enterprise (custom pricing). Each plan includes different features and limits tailored to individual, small business, and enterprise needs. See pricing details.
What features are included in the Hobby plan?
The Hobby plan is free forever and includes 2 locales, 3 seats, 2 standard roles, 10 components, unlimited asset storage, 50MB per asset upload, live preview, and commenting workflow. Sign up here.
What does the Growth plan cost and include?
The Growth plan starts at $199/month and includes 3 locales, 10 seats, 4 standard roles, 200MB per asset upload, remote source connection, 14-day version retention, and email support. Get started.
What features are available in the Enterprise plan?
The Enterprise plan offers custom limits, scheduled publishing, dedicated infrastructure, global CDN, advanced security, SSO, multitenancy, instant backup recovery, custom workflows, and dedicated support. Try for 30 days or request a demo.
Security & Compliance
What security certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (since August 3, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure high standards for data security and privacy. Learn more.
How does Hygraph protect user data?
Hygraph encrypts data at rest and in transit, provides granular permissions, audit logs, SSO integrations, regular backups, and options for dedicated hosting in multiple regions. See security features.
Use Cases & Benefits
Who can benefit from using Hygraph?
Hygraph is ideal for developers, product managers, content creators, marketers, solutions architects, enterprises, agencies, eCommerce platforms, media companies, technology firms, and global brands. See case studies.
What industries use Hygraph?
Industries represented include SaaS, marketplace, education technology, media, healthcare, consumer goods, automotive, technology, fintech, travel, food & beverage, eCommerce, agency, gaming, events, government, consumer electronics, engineering, and construction. Explore case studies.
What business impact can Hygraph deliver?
Hygraph improves operational efficiency, accelerates speed-to-market, reduces costs, enhances scalability, and increases customer engagement. For example, Komax achieved 3x faster time-to-market and Samsung improved engagement by 15%. See more.
Can you share specific customer success stories?
Yes. Samsung built a scalable API-first app, Dr. Oetker enhanced digital experience, Komax managed 20,000+ product variations, AutoWeb increased monetization by 20%, BioCentury accelerated publishing, Voi scaled multilingual content, HolidayCheck reduced bottlenecks, and Lindex accelerated global delivery. Read case studies.
What pain points does Hygraph solve for customers?
Hygraph addresses developer dependency, legacy tech stacks, content inconsistency, workflow challenges, high operational costs, slow speed-to-market, scalability issues, schema evolution complexity, integration difficulties, performance bottlenecks, and localization challenges. See examples.
How does Hygraph differentiate itself from other CMS platforms?
Hygraph is the first GraphQL-native Headless CMS, offers content federation, enterprise-grade features, user-friendly tools, Smart Edge Cache, and proven ROI. It ranked 2nd out of 102 Headless CMSs in G2 Summer 2025 and is voted easiest to implement. See report.
What feedback have customers given about Hygraph's ease of use?
Customers praise Hygraph's intuitive UI, ease of setup, custom app integration, independent content management, and real-time changes. Some note it can be complex for less technical users. See feedback.
How long does it take to implement Hygraph?
Implementation time varies. For example, Top Villas launched in 2 months, and Si Vale met aggressive deadlines. Hygraph offers a structured onboarding process and extensive training resources. See case study.
What support resources are available for Hygraph users?
Hygraph provides webinars, live streams, how-to videos, documentation, and a community Slack channel for support and guidance. Access documentation or join Slack.
Who are some of Hygraph's notable customers?
Notable customers include Samsung, Dr. Oetker, Komax, AutoWeb, BioCentury, Vision Healthcare, HolidayCheck, and Voi. See customer stories.