Easily restore your project to a previous version with our new Instant One-click Backup Recovery

Working with Remote Sources to Connect your Services

Remote sources are systems or products that holds content that needs to be combined with content in Hygraph into a single API.
Emily Nielsen

Written by Emily

Jul 15, 2022
 Working with Remote Sources in Hygraph

Earlier this month, we released remote sources as a key piece of the puzzle we like to call Content federation - enabling teams to build optimized, data-rich applications, where they can use existing content paired with new microservices to build user-friendly applications with a single content entry point. Teams will be able to load data from a single, manageable interface, sparing developers from having to create custom middleware.

#What is a remote source?

A remote source is an external system or product that holds content that needs to be combined with content in Hygraph into a single API. Remote sources empower teams to enrich their Hygraph projects with data from external services easily and programmatically. Remote sources can be easily added to your schema through our user interface, allowing a unique low-code approach to content federation. This powerful feature saves developers time by creating a reliable stream of up to date information that is available from the content API and gives teams greater flexibility to model content that will suit the needs of their projects.

You can find detailed documentation on how to add remote sources here.

#What are the benefits 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.


Rid 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.


Use the most reliable data

Because the data is being sourced directly from all systems when requested, the data will always be accurate. Teams are no longer copying and pasting from various services. With content federation, unconscious copying errors cannot happen and teams never need to worry about using data that is out of date. This is critical as teams scale because datasets will become larger and more complex.


Improve workflows

By connecting multiple best of breed services, teams have the functionality they need without time-consuming workarounds. Teams no longer need to manually pull data together into their content platform from several services. Instead, content federation allows teams to focus on creating new content and optimizing the larger project. With access to better data with more time on their hands, teams can create optimized workflows that increase productivity. Take for example if in an eCommerce project the inventory of a specific product managed in a PIM drops below a certain level, this information could require a team member to add a “Low Stock tag” in their content platform to be displayed to the end-user. This new workflow is rapidly accelerated by content teams not needing to check several systems to see the updated inventory numbers.


Use 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.


#How can content federation benefit my team on a practical level?

On a high-level, content federation can be exciting, but it is even more impressive when you see a practical application of federation and how it unlocks the ability for teams to build more powerful applications. One of the most straightforward illustrations of how content federation can give your project a boost is with an eCommerce project. Ecommerce projects rely on accurate, current data, clean UX, and straightforward UI.


Content federation ensures that you can easily connect services from PIM, to Payments, to Content and centralize it to a single content hub, instead of all of this data living in separate systems. The central content hub enables content teams to see the most up to date information regarding inventory, current promotions, and branding refinements. In creating a confluence of data streams in Hygraph, teams can model projects so that they best suit the needs of the project, without weeks of manual work, gluing systems together.


#Is content federation reliable enough to build a business on?

Content federation can easily become the backbone of companies that are looking to build infrastructure that will scale with them or meet the needs of their demanding existing businesses. In creating a central content hub where data flows easily between services and is reflected in a single interface, teams will be able to optimize time, workflows with ease. Not only is content federation a reliable approach for companies to take, in many cases it is a necessary one. Teams that are struggling to scale because they have not yet implemented the core processes to grow in the long term. Content federation allows services to source the most up to date information directly from Hygraph. The central hub of data will give teams quickly, programmatic access to data that typically lives in a plethora of different systems, eliminating data silos, removing the glue code, and saving teams time and headaches. With our strong caching infrastructure on top, we're providing an additional layer of performance and security on your entire tech stack.

To get started with using remote fields and understanding how content federation can accelerate your business goals, check out the documentation or get in touch for a demo.

Blog Author

Emily Nielsen

Emily Nielsen

Emily manages content and SEO at Hygraph. In her free time, she's a restaurant lover and oat milk skeptic.

Share with others

Sign up for our newsletter!

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