Frequently Asked Questions

Product Information & Content Federation

What is Content Federation in Hygraph?

Content Federation in Hygraph refers to the process of combining data and content from multiple systems and making it available through a single GraphQL API endpoint, without the need to move or duplicate content. This approach allows organizations to unify content from sources like legacy CMS, PIM, DAM, SaaS tools, and more, enabling a many-to-many relationship between content sources and frontends. Learn more.

How does Content Federation differ from traditional CMS and headless CMS approaches?

Traditional CMS platforms tightly couple content management with the website, creating a one-to-one relationship. Headless CMS separates content management from presentation, enabling a one-to-many relationship by serving content to multiple frontends via APIs. Content Federation goes further by allowing many-to-many relationships, sourcing content from multiple disconnected systems and delivering it to any frontend, all through a single API endpoint. Read more.

What are the main advantages of using Content Federation with Hygraph?

Key advantages include eliminating content silos, enabling access to live/real-time data, preserving data integrity, reusing existing content, easier access to third-party APIs, providing greater autonomy to content editors, promoting efficient workflows, and unlocking broader use cases. Content Federation allows teams to connect best-of-breed services, unify fragmented content, and ensure the most current data is always available. See full list of benefits.

How do I get started with Content Federation in Hygraph?

To start using Content Federation, configure a remote source in your Hygraph project. The Remote Sources utility allows you to add content from other systems to the Hygraph API without migrating the content itself. For step-by-step instructions, visit the Remote Sources documentation. You can also follow a hands-on tutorial on building a restaurant blog with Hygraph and the Yelp API here.

What are some real-world use cases for Content Federation?

Content Federation is ideal for scenarios where data needs to be unified from multiple sources. Examples include e-commerce (combining product data from Shopify, BigCommerce, etc., with content in Hygraph), travel (integrating flight, hotel, and rental car data from various providers), and stock management (providing real-time inventory data from multiple warehouses). This approach is also valuable for content hubs, enabling up-to-date, data-rich experiences. See more examples.

Features & Capabilities

What features does Hygraph offer for integrating with other systems?

Hygraph provides a wide range of integrations, including hosting and deployment (Netlify, Vercel), eCommerce (Shopify, BigCommerce, commercetools), 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. For a full list, visit the Hygraph Integrations page.

Does Hygraph support GraphQL APIs?

Yes, Hygraph is built around a powerful GraphQL API, enabling efficient content fetching and management. This API is central to the Content Federation approach, allowing developers to access unified data from multiple sources through a single endpoint. For more details, see the Hygraph API Reference.

What are Remote Sources in Hygraph?

Remote Sources are Hygraph's Content Federation utility, allowing you to add content from other systems and sources to the Hygraph API without migrating the content itself. This enables seamless integration and unification of data from various platforms. Configuration instructions are available in the Remote Sources documentation.

How does Hygraph ensure data integrity and security when federating content?

Hygraph ensures enterprise-grade security and compliance with certifications such as SOC 2 Type 2, ISO 27001, and GDPR compliance. Features include SSO integrations, audit logs, encryption at rest and in transit, and sandbox environments. These measures protect sensitive data and maintain data integrity across federated sources. For more details, visit the Hygraph Security Features page.

Use Cases & Benefits

Who can benefit from using Content Federation in Hygraph?

Content Federation is beneficial for organizations needing to unify content from multiple sources, such as enterprises with complex tech stacks, e-commerce businesses, travel companies, and teams managing content across various platforms. It is especially valuable for developers, content creators, and project managers seeking to streamline workflows and reduce manual data migration. Learn more.

What business impact can Content Federation with Hygraph deliver?

Content Federation with Hygraph can deliver significant business impact by reducing operational costs, accelerating speed-to-market, improving data accuracy, and enabling scalable digital experiences. For example, Komax achieved a 3X faster time to market, and Autoweb saw a 20% increase in website monetization using Hygraph. See more customer success stories.

How does Content Federation help eliminate content silos?

Content Federation eliminates content silos by sourcing data directly from existing services through a single API, preventing the need to migrate data into a new platform. This ensures that teams always access the most current data and reduces manual work associated with data duplication. Read more.

Technical Requirements & Implementation

What technical steps are required to implement Content Federation in Hygraph?

To implement Content Federation, you need to configure Remote Sources in your Hygraph project. This involves specifying the external systems or APIs you want to federate, setting up the necessary endpoints, and mapping the data fields. Detailed instructions are available in the Remote Sources documentation.

Can Hygraph federate both GraphQL and RESTful APIs?

Yes, Hygraph can federate content from multiple APIs, regardless of whether they are GraphQL or RESTful. The platform can "GraphQLify" these sources into a single endpoint, enabling seamless data access and integration. Learn more.

Support & Documentation

Where can I find documentation and tutorials for Content Federation in Hygraph?

Comprehensive documentation and tutorials for Content Federation are available on the Hygraph Docs site. Key resources include the Content Federation guide, Remote Sources documentation, and hands-on tutorials such as building a restaurant blog with Hygraph and Yelp API.

Help teams manage content creation and approval in a clear and structured way
Hygraph
Docs

#Content Federation

#Our Journey

Content FederationContent Federation

Traditional CMSs represented a one-to-one relationship with tightly coupled content management and website to present it.

The emergence of the headless CMS led to content management becoming separated from the presentation layer. Content is managed in the CMS, and can then be served to any front end - like website, app, smart TVs, etc. - using APIs; essentially helping power a one-to-many relationship.

Organizations today, however, find themselves in the need to connect content, which not only lives in the CMS but across disconnected sources such as legacy CMS, PIM, DAM, SaaS tools, and more. This raises the need for a many-to-many relationship, which is fulfilled by Content Federation.

Content Federation represents the next generation of CMSs, allowing you to source content from multiple sources and deliver to any front-end of choice.

#What is Content Federation?

What is Content Federation?What is Content Federation?

Content Federation refers to the process of combining data and content from multiple systems and making it available through one single GraphQL API endpoint without having to move content itself. It's a fast and cost-effective approach to unifying content, as opposed to traditional custom middleware development.

For instance, if you are using Hygraph to build your e-commerce website, you might be storing your products and information on them in a commerce system such as Shopify, BigCommerce, commercetools, etc. At the same time, you might be using Hygraph for product descriptions, product blogs, and the like. It might be burdensome or even not desirable to move all product information - such as pricing, product category, images, etc. - from your commerce system into Hygraph, or vice-versa.

This is where Content Federation can help. Content teams can simply reference product information from your commerce system in Hygraph through a product picker or by entering in an SKU. Additional information from your commerce system such as pricing, product category, images, etc. will be automatically displayed on the final page, without having to duplicate or move this content. Developers, on the other hand, can make one single API call from Hygraph to fetch all of this information.

Other use cases include travel, and stock management systems. In travel, it can integrate flight, hotel, and rental car information from numerous providers. In stock management, it can provide real-time inventory data from various warehouses, enabling efficient tracking and management.

#Advantages of Content Federation

Content Federation allows teams to connect multiple best of breed services to provide rich, reusable content that is modeled for a single intended outcome. The best-of-breed approach ensures that teams are using the services which are the best fit for their needs and that they aren't weighed down by extra functionality teams do not use. Content Federation empowers teams to query the data from the various services from a single source, Hygraph, to have all fragmented content unified. Just some of the benefits of content federation include ridding projects of content silos, using the most reliable data for a project, and using existing content without the need to maintain copies.

Rids projects of content silos

Content silos can sometimes feel like an inevitable byproduct of a microservice architecture. Content Federation, however, eliminates content silos by sourcing data from existing services directly from a single API, in this case, Hygraph. This keeps teams from having to migrate data from old systems into their content platform and ensures that the frontend has the most current version of data.

Creates the ability to incorporate live/real-time data

With Content Federation, teams are able to access the most up-to-date information around a topic, and have that be reflected on their site. This is critical for data which changes often such as product offerings, inventory, availability, prices, and weather. With a more rigid approach, teams are not able to create workarounds with data that must be updated often or risk the data becoming stale. Content Federation removes this roadblock and ensures that data is accurate at all times.

Preserves data integrity

With Content Federation, there is a single source of truth for data. Instead of data being copied into multiple systems, which requires manual work and increases the likelihood of inaccuracy, content programmatically flows into a single flexible endpoint. With Content Federation, teams can determine how much control the other team members should have and what information they should have access to. This ensures that data is not accidentally mutated or that restricted content is not shared across the wider team.

Uses existing content that is modeled for a specific purpose

Teams are no longer weighed down by time-consuming data entry processes. The existing content which lives in other services but is not in an ideal format for an end-user is still valuable when it is sourced via Content Federation. Data from several services can be brought together to build data-rich content models. Reusing puts the power back in the hands of the team to decide how to build their tech stack and enables them to choose services with the functionality they need without the deadweight of features they don’t need.

Enables easier access to 3rd party APIs

Content Federation enables the seamless flow of data between multiple sources. This also includes 3rd Party APIs, such as public databases or weather reports. Instead of relying on manually migrating the data or using webhooks to fetch the data, Content Federation creates a flow of information that is accurate and more flexible than using webhooks. For example, Hygraph is able to federate content from multiple APIs, regardless of whether they’re GraphQL or RESTful, and “GraphQLify” them into a single endpoint.

Provides greater autonomy to content editors

Instead of having devs stitch together data on the frontend, Content Federation routes data through your CMS, providing your Editors with greater autonomy to choose what gets displayed on the final pages.

Promotes more efficient workflows

Teams no longer have to rely on time consuming migrations or manual updates. Instead of spending time updating changes in product offerings or creating custom scripts to do this job, teams can spend more time creating new campaigns or building more ways for users to interact with the data, since the content is being programmatically sourced from remote APIs using API Extensions.

Unlocks broader set of use cases

Using Content Federation, teams now have the ability to tackle more data-rich use cases that require multiple sources of content and incorporate live data. In the context of content hubs, teams can provide a more engaging experience by ensuring that the information is up-to-date and that more data can be used in a single content hub, without becoming cumbersome to the development or content teams.

#Get started!

To start using Content Federation, you need to configure a remote source in your project.

Remote Sources is our Content Federation utility, which allows adding content from other systems and sources to the Hygraph API without having to migrate the content itself.

For configuration instructions, follow the steps in our documentation on Remote Sources.