Frequently Asked Questions

Product Information & GraphQL Federation

What is GraphQL Federation and how does it work with Hygraph?

GraphQL Federation is a technique that allows you to split a large GraphQL schema into multiple smaller schemas, called "subgraphs," each representing a different part of your API. With Hygraph, you can combine multiple GraphQL APIs into a single, unified schema, enabling teams to manage content for any channel. This approach increases flexibility, scalability, and separation of concerns, allowing different teams to develop and maintain their own subgraphs independently. Hygraph provides built-in tools to define federated schemas, configure services, and create gateways for routing queries and aggregating results. Learn more in the Hygraph GraphQL Federation tutorial.

How do I implement GraphQL Federation with Hygraph?

To implement GraphQL Federation with Hygraph, follow these steps:

  1. Define the federated schema by creating multiple smaller schemas for each service.
  2. Configure each service with custom content types, fields, and relationships.
  3. Create a gateway to route queries to the appropriate services and aggregate results. Hygraph provides a built-in gateway for this purpose.
For a practical example, you can combine an external GraphQL API (such as the Cocktail API) into your Hygraph project and query data with a single GraphQL query. See the remote sources documentation for more details.

What are the main benefits of using GraphQL Federation with Hygraph?

The main benefits include increased flexibility (making changes to APIs without affecting other parts), scalability (managing complex APIs by splitting them into manageable subgraphs), and better separation of concerns (allowing teams to focus on their areas of expertise). Federation also enables improved performance, reliability, and easier maintenance of distributed systems. Read more in the Hygraph Academy.

Features & Capabilities

What are the key capabilities of Hygraph?

Hygraph offers a GraphQL-native architecture, content federation (unifying data from multiple sources without duplication), scalability for businesses of all sizes, a customizable and intuitive UI, and a rich ecosystem of integrations. These capabilities enable efficient data querying, seamless integration, and consistent workflows across global teams. See product details.

What integrations does Hygraph support?

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

Does Hygraph provide an API?

Yes, Hygraph provides a robust GraphQL API, including a Content API for querying and managing content, Mutations API for creating, updating, deleting, and publishing content, and an API Playground for testing queries and mutations. Developers can access and manage content programmatically. See the API reference.

What technical documentation is available for Hygraph?

Hygraph offers comprehensive documentation, developer guides, content workflow guides, and webhook documentation. These resources cover topics such as creating content, working with content views, roles and permissions, and step configuration for workflows. Access Hygraph Documentation.

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is ideal for developers, IT decision-makers, content creators, project managers, agencies, solution partners, and technology partners. It serves modern software companies, enterprises modernizing their tech stack, brands scaling globally, and those re-platforming from traditional solutions. See more about target audiences.

What industries are represented in Hygraph's customer case studies?

Hygraph's case studies span industries such as food and beverage (Dr. Oetker), consumer electronics (Samsung), automotive (AutoWeb), travel and hospitality (HolidayCheck), healthcare (Vision Healthcare), SaaS (Bellhop), media and publishing (German Chemist Society), eCommerce (Sennheiser), education technology (Especial), and marketplaces (Komax). See all case studies.

Can you share specific customer success stories using Hygraph?

Yes, Hygraph has enabled Komax to achieve 3X faster time-to-market and 70% faster page loading, Autoweb to increase website monetization by 20%, Samsung to improve customer engagement and scale globally, Dr. Oetker to achieve global consistency, Stobag to increase online revenue share from 15% to 70%, and Sennheiser to boost e-commerce conversions by 136.7% in 4 months. Explore all customer success stories.

What business impact can customers expect from using Hygraph?

Customers can expect faster speed-to-market (e.g., Komax achieved 3X faster launches), improved customer engagement (Samsung saw a 15% increase), increased revenue (Autoweb saw a 20% boost, Stobag increased online revenue share from 15% to 70%), and scalability across 40+ global markets. Hygraph helps unify APIs and deliver better digital products. See more business outcomes.

Ease of Use & Implementation

How easy is it to get started with Hygraph?

Hygraph is designed to be super easy to set up and use, even for non-technical users. You can start building immediately by signing up for a free account. The intuitive interface allows quick adaptation, and comprehensive documentation, onboarding guides, training resources, and dedicated support are available. See documentation.

How long does it take to implement Hygraph?

Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months from initial contact, demonstrating Hygraph's efficiency. Resources such as onboarding guides, training, and dedicated customer success managers help accelerate implementation. See Top Villas case study.

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

Customers describe Hygraph as very good and intuitive, with an interface that is easy for both technical and non-technical users. It is praised for being super easy to set up and use, supporting content quality checks and instant feedback. Some users note that the interface can become complex with many languages, but overall, Hygraph is highly regarded for its accessibility. See more feedback.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (achieved August 3rd, 2022), ISO 27001 certified for hosting infrastructure, and GDPR compliant. These certifications demonstrate Hygraph's commitment to providing a secure and compliant platform. See Security Features.

What security features does Hygraph offer?

Hygraph offers SSO integrations, audit logs (90-day retention), sandbox environments, data encryption at rest and in transit, custom roles and permissions, and enterprise-grade compliance for industries like travel, eCommerce, and fashion. See Security Features.

Support & Implementation

What customer service and support does Hygraph provide?

Hygraph provides 24/7 support via chat, email, and phone, comprehensive documentation, a community Slack channel, dedicated customer success managers for enterprise clients, and service level agreements (SLAs) ensuring critical issues are resolved in less than an hour. Regular health checks and launch support are also available for enterprise customers. Contact Hygraph.

What training and onboarding resources are available for new Hygraph users?

Hygraph offers comprehensive documentation, onboarding guides, professional onboarding support, video tutorials, webinars, expert-led sessions, and dedicated customer success managers for enterprise customers. These resources help both technical and non-technical users get started and adopt the platform effectively. See documentation.

How does Hygraph handle maintenance, upgrades, and troubleshooting?

Hygraph provides 24/7 support for maintenance, upgrades, and troubleshooting. Customers have access to detailed documentation, a community Slack channel, dedicated customer success managers, and SLAs for rapid issue resolution. Enterprise customers benefit from regular health checks and launch support. Contact Hygraph.

Pain Points & Solutions

What common pain points does Hygraph address?

Hygraph addresses operational pains (dependency on developers, outdated tech stacks, global team collaboration, clunky user experience), financial pains (high operational costs, slow speed-to-market, expensive maintenance, scalability challenges), and technical pains (boilerplate code, complex queries, cache issues, OpenID integration difficulties). These solutions help improve efficiency, reduce costs, and enhance user experience. See product page.

What core problems does Hygraph solve?

Hygraph solves dependency on developers by providing an intuitive interface for non-technical users, modernizes outdated tech stacks with GraphQL-native architecture, enables global team collaboration through content federation, streamlines workflows to reduce costs, accelerates project delivery, minimizes maintenance expenses, simplifies development, and resolves technical challenges like cache issues and OpenID integration. See product page.

Competition & Comparison

Why should a customer choose Hygraph over alternatives?

Hygraph is the first GraphQL-native Headless CMS, offering efficient data querying and management, content federation without data duplication, scalability for enterprises, an intuitive editorial interface, dedicated consulting and onboarding, lower total cost of ownership, and proven success with brands like Samsung and Dr. Oetker. See product comparison.

Performance

What performance improvements can Hygraph deliver?

Hygraph delivers 3X faster time-to-market (Komax), 70% faster page loading (Komax), 20% increase in website monetization (Autoweb), and supports consistent performance for businesses of all sizes. Its GraphQL-native architecture ensures efficient data querying and optimized content delivery. See Komax case study.

Customer Proof

Who are some of Hygraph's customers?

Hygraph is trusted by companies such as Sennheiser, HolidayCheck, Ancestry, JDE, Dr. Oetker, Ashley Furniture, Lindex, Hairhouse, Komax, Shure, Stobag, Burrow, G2I, Epic Games, Bandai Namco, Gamescom, Leo Vegas, Codecentric, Voi, Clayton Homes, Samsung, Telenor, and Statistics Finland. See customer stories.

Velocity at Scale: Join the Launch of Hygraph’s Latest AI Innovations

GraphQL

Federation

In this tutorial, you'll explore the ins and outs of GraphQL Federation and how it can revolutionize the way you build digital products.

As applications grow in complexity, it can become challenging to manage a single, monolithic GraphQL schema that serves all the data needs of an application.

We now have GraphQL Federation, a powerful tool for content serving that allows you to combine multiple GraphQL APIs into a single, unified schema.

In this tutorial, you'll explore the ins and outs of GraphQL Federation and how it can revolutionize the way you build digital products.

A Brief History of Content Serving

Before the advent of GraphQL Federation, there were two primary approaches to content serving: monolithic and microservices. The monolithic approach involved building a single, large API that handled all the data needs of an application. While this approach is straightforward to implement, it can become unwieldy as the API grows in complexity, making it challenging to maintain and scale.

The microservices approach, on the other hand, involves breaking the API down into smaller, independent services that handle specific data needs. This approach can be more scalable and maintainable, but it also introduces more complexity and overhead, as each service needs to be managed independently.

GraphQL Federation provides a middle ground between these two approaches, allowing developers to split their API into smaller, independent services while maintaining a single, unified schema.

Try Hygraph, the GraphQL native headless CMS

Build limitless solutions rapidly with our GraphQL-native API-first approach

The Origins of Federation

GraphQL Federation was introduced in 2018 by the Apollo team as a way to manage large, distributed GraphQL schemas. Federation allows developers to split a large GraphQL schema into smaller subgraphs that can be developed and maintained independently.

Before federation, schema stitching was one approach to splitting a large GraphQL schema. Schema stitching involves combining multiple GraphQL schemas into a single schema. However, this approach can be challenging to implement and can introduce performance issues if not done correctly.

GraphQL Federation takes a different approach. Rather than combining multiple schemas into a single schema, federation splits a large schema into smaller, independent subgraphs.

What is GraphQL Federation?

GraphQL Federation is a way to split a large GraphQL schema into multiple smaller schemas, each representing a different part of the overall API. These smaller schemas are called "subgraphs". They can be developed and maintained independently by different teams or services.

The main benefits of using GraphQL Federation are:

  • Increased flexibility: By splitting the schema into smaller subgraphs, developers can make changes to the API more easily and without affecting other parts of the schema.
  • Scalability: As the API grows in complexity, it can become challenging to manage a single, monolithic schema. With GraphQL Federation, developers can split the schema into smaller, more manageable parts that can be scaled independently.
  • Better separation of concerns: By delegating parts of the schema to other services, developers can focus on their areas of expertise and not worry about the implementation details of other API parts.

How To Implement Federation With Hygraph

Hygraph is a federated content management platform that enables teams to provide content to any channel. If this is your first time exploring Hygraph, create a free-forever developer account here.

Here are the steps you will follow to implement federation with Hygraph:

  1. Define the Federated Schema: To define the Federated Schema with Hygraph, you need to create multiple smaller schemas for each service. This allows you to split a large schema into smaller ones that can be more easily managed. For example, you might create a schema for your blog service, a schema for your product service, and a schema for your user service.
  2. Configure the Services: Configure each service with its own https://hygraph.com/docs/getting-started), you can create custom content types, fields, and relationships for each service. This allows you to customize each service to meet your specific needs.
  3. Create a Gateway: Create a Gateway to route queries to the appropriate services and aggregate the results into a single response. Hygraph provides a built-in Gateway that you can use to route queries to your services. Once you have done this, you can send queries to your Gateway and receive responses.

Hygraph Federation Implementation Example

For this article, you will learn how to combine an external GraphQL API (Cocktail API) into your Hygraph project and query for data with a single GraphQL query.

This service has already been configured and can be queried independently, but with GraphQL federation, you can bring it into a parent schema.

Step 1: Add a remote source

The first step is to add a remote source, specify the type of the API, name and paste the API address:

adding another remote source to hygraph

Step 2: Create a GraphQL remote field

Create a field for the data you will use to query for a particular cocktail. For this, I will create two fields, the "Best cocktail" field for you to submit the best cocktail of the author, then a slug field (Cocktail Slug) that will automatically convert the "Best cocktail" data to slug.

adding the field to the schema You can now create the GraphQL remote field to query for a particular cocktail with the slug value.

adding a remote field

Step 3: Test the remote source

You have created a GraphQL remote field for the cocktail Info. Let's now test it by adding the author's best cocktail, which would generate a slug value, and then you can use it to get the particular cocktail information. testing the remote field in the graphql playground

At this point, you have successfully added and combined multiple remote sources into your Hygraph project.

Let's now create a GraphQL query to fetch the author's data, including the author's best cocktail, ingredients, and instructions for making it.

query AuthorsInfo {
authors {
firstName
lastName
bio
bestCocktail
cocktailInfo {
info
ingredients
instructions
}
}
}

This will return all the various values, including the ones from the remote sources, directly into this GraphQL query:

{
"data": {
"authors": [
{
"firstName": "John ",
"lastName": "Doe",
"bio": null,
"bestCocktail": "paloma",
"cocktailInfo": {
"info": "Alcoholic",
"ingredients": "Grape Soda Tequila",
"instructions": "Stir Together And Serve Over Ice."
}
}
]
}
}

This is one of the superpowers that Hygraph possesses, and GraphQL provides. You can explore more by reading the remote sources documentation and this article on How to run multiple GraphQL queries and combine multiple sources.

Conclusion

GraphQL Federation is a powerful technology revolutionizing how web applications query and serve data.

By allowing multiple services to work together as a single, cohesive unit, Federation improves performance, scalability, and reliability.

While some challenges are associated with using Federation, developers can overcome these challenges by carefully planning the system architecture, using version control, and monitoring performance.

With these tips in mind, developers can leverage the power of GraphQL Federation to build complex, distributed systems that meet the needs of modern web applications.