Frequently Asked Questions

Product Features & Capabilities

What is Content Federation in Hygraph and how does it help with integrating third-party data sources like FaunaDB?

Content Federation in Hygraph allows you to integrate multiple data sources, such as FaunaDB, without duplicating data. This means you can combine product information from Hygraph with external reviews or other datasets, and query them together using GraphQL. For example, you can display product reviews stored in FaunaDB alongside product data managed in Hygraph, all in a single API call. Note: Setting up Content Federation requires schema alignment and API access to the external source. Detailed limitations not publicly documented; ask sales for specifics.

How do Remote Sources and Remote Source Fields work in Hygraph?

Remote Sources in Hygraph let you connect external GraphQL APIs, such as FaunaDB, to your Hygraph project. After configuring a Remote Source (e.g., providing the Fauna GraphQL endpoint and API key), you can add Remote Source Fields to your content models. This enables you to fetch and display external data (like product reviews) directly within your Hygraph schema and queries. Note: Remote Source setup requires valid API credentials and schema compatibility between Hygraph and the external API.

Does Hygraph support GraphQL APIs for querying and managing content?

Yes, Hygraph is a GraphQL-native headless CMS. It provides a robust GraphQL API for querying content, as well as a Management API for handling schemas, users, and administrative activities. This enables precise data fetching and efficient integration with modern tech stacks. Note: For advanced use cases, familiarity with GraphQL is recommended. See the API Reference Documentation for details.

What integrations does Hygraph offer for e-commerce and content workflows?

Hygraph supports integrations with a wide range of platforms, including Digital Asset Management (Cloudinary, Bynder, Filestack, Scaleflex Filerobot, AWS S3, Aprimo), hosting (Netlify, Vercel), marketing and analytics (Google Analytics, Klaviyo, Segment), localization (EasyTranslate, DeepL), video (Mux), automation (Zapier, n8n), search (Elastic, Algolia), and eCommerce (Shopify, commercetools, BigCommerce). For a full list, visit the Hygraph Integrations Page. Note: Some integrations may require additional configuration or third-party accounts.

Implementation & Technical Documentation

What are the requirements for combining FaunaDB reviews with Hygraph e-commerce data?

To combine FaunaDB reviews with Hygraph e-commerce data, you need: 1) a Hygraph project (ideally using the Hygraph Commerce starter), and 2) a FaunaDB account with a database and collection for reviews. You will also need to set up a GraphQL endpoint in FaunaDB and configure a Remote Source in Hygraph to connect the two systems. Note: API keys and schema alignment are required for secure and accurate integration.

How do you set up a Remote Source and Remote Source Field in Hygraph for FaunaDB reviews?

To set up a Remote Source in Hygraph for FaunaDB reviews: 1) In your Hygraph project, go to the Schema view and add a new Remote Source, specifying the Fauna GraphQL endpoint and an Authorization header with your API key. 2) Add a Remote Source Field to your Product schema, configuring it to use the reviews query from Fauna and mapping the productId to the Hygraph product slug. This setup allows you to fetch and display reviews from FaunaDB alongside Hygraph product data in a single query. Note: You must manage API keys securely and ensure the schemas are compatible.

Where can I find technical documentation for integrating Hygraph with external data sources?

Hygraph provides comprehensive technical documentation, including guides on Content Federation, API Reference, and onboarding. Key resources include the API Reference, Content Federation Guide, and Onboarding Overview. These resources cover setup, schema modeling, and integration best practices. Note: Some advanced integrations may require custom development or support from your technical team.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (since August 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure robust security and operational controls for enterprise customers. For more details, visit the Hygraph Secure Features page. Note: For specific compliance requirements, consult with your legal or IT team.

How does Hygraph ensure data security for integrated and federated content?

Hygraph provides encryption at rest and in transit, granular role-based access control, audit logs (90-day retention for enterprise), and automatic backups with one-click recovery for enterprise plans. Penetration testing is available as an add-on. Data residency can be configured with 34 regions for enterprise customers. Note: Security for external data sources (e.g., FaunaDB) depends on their respective configurations and policies.

Use Cases & Success Stories

What are common use cases for combining Hygraph with third-party databases like FaunaDB?

Common use cases include displaying product reviews (stored in FaunaDB) alongside product data (managed in Hygraph), aggregating content from multiple sources for e-commerce, and enabling personalized or localized content experiences. This approach is useful for teams needing to unify data from different systems without duplicating content. Note: Complex integrations may require additional development effort and ongoing maintenance.

Can you share examples of customers successfully using Hygraph for large-scale integrations?

Yes. For example, Gamescom supported 3.5 million simultaneous sessions and 60 million API operations in three days using Hygraph. Komax managed 20,000+ product variations across 40+ markets, achieving a 3X faster time-to-market. Samsung improved customer engagement with a scalable platform. See more case studies at the Hygraph Case Studies page. Note: Results depend on project scope and implementation quality.

Performance & Scalability

How does Hygraph perform under high traffic and large-scale operations?

Hygraph is designed for high performance and scalability, featuring a global CDN, region-based hosting, and Smart Edge Cache for low latency. For example, Gamescom handled 3.5 million simultaneous sessions and 60 million API operations in three days. Telenor achieved under 100ms latency on millions of API calls. Hygraph aims for 99.9%+ uptime. Note: Actual performance may vary based on implementation and external system constraints.

Onboarding & Ease of Use

How easy is it to implement Hygraph for e-commerce and data integration projects?

Hygraph offers pre-configured starter projects, structured onboarding, and extensive documentation to help teams get started quickly. Customer feedback highlights its intuitive UI and ease of setup, with many users able to begin without technical expertise. For complex integrations, technical support and onboarding resources are available. Note: Advanced integrations may require developer involvement and custom configuration.

Limitations & Considerations

What are the limitations or considerations when integrating Hygraph with external databases like FaunaDB?

Limitations include the need for schema alignment between Hygraph and the external database, secure management of API keys, and potential differences in query capabilities or data structures. Some advanced use cases may require custom development or ongoing maintenance. Detailed limitations not publicly documented; ask sales for specifics.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Watch now

Combining FaunaDB reviews with Hygraph e-commerce data

In this demo, we’ll explore how to take the basic e-commerce starter and combine Hygraph product information with a third-party database for product reviews.
Bryan Robinson

Last updated by Bryan 

Jan 21, 2026

Originally written by Bryan

Combining FaunaDB reviews with Hygraph e-commerce data

While Hygraph works well for many types of content, sometimes, for a variety of reasons, not all your content will live in Hygraph. No worries, that’s why we have Content Federation and Remote Sources.

In this demo, we’ll explore how to take the basic e-commerce starter and combine Hygraph product information with a third-party database for product reviews. The same principles at play in this example will work with any other GraphQL API and Hygraph data.

#Requirements

#Setting up FaunaDB

To begin, we’ll set up a new database and collection in Fauna. To do this, sign up or log into your Fauna account and create a new database. We’ll call the database “reviews.” Inside this new database, create a Collection. The Collection can also be called reviews.

New Collection screen from Fauna with the name reviews

Once we have a database and Collection, we can add our first piece of data. Since Fauna is a NoSQL document store, we can create an object in the document.

New Document in Fauna collection with the JSON described in the code block below

We’ll add four data points for each review: reviewer name, rating, content, and product ID (which will match a Hygraph slug or ID or any unique identifier on the product data in Hygraph).

{
"rating": 4,
"productId": "unisex-long-sleeve-tee",
"name": "Bryan Robinson",
"content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ac cursus massa. Nam sit amet ornare justo. Proin faucibus mi et tellus finibus sodales. Phasellus consequat pulvinar neque ac tristique. Pellentesque nulla velit, scelerisque id ante quis, ultricies viverra arcu. Integer ac risus dictum, tempus urna non, eleifend sapien. Cras rhoncus lacus at ligula auctor aliquam. Nunc fringilla facilisis lorem quis rhoncus. Quisque convallis venenatis urna, a tincidunt urna convallis non. Suspendisse vitae cursus lorem. Integer tempor sed felis quis condimentum. Etiam vel ex lacinia, consequat sapien quis, dapibus lacus. In maximus dapibus mauris, id euismod ante tincidunt non. Donec in nunc pulvinar lacus faucibus pellentesque."
}

Fauna will automatically generate a custom ID and a time stamp for every object entered. Note the productId property. This lines up with the demo content in the e-commerce starter, but whatever identifier makes the most sense for your project can be used here. The rating is an integer, and the name and content are both strings.

From here, we have a Fauna database ready for querying. In order to use it most efficiently, we need to set up a GraphQL end point for our Collection.

Setting up a Fauna GraphQL endpoint

To set up a GraphQL endpoint, navigate in your Fauna dashboard to the GraphQL section. Nothing will be waiting for you. We need to add a schema for our data and a specific query to get our reviews. To do this, we upload a GraphQL schema file.

type Review @collection(name: "reviews") {
name: String!
productId: String!
content: String
rating: Int!
}
type Query {
reviewsByHygraphSlug(productId: String!): [Review]
}

This is a fairly simple schema and query but note the @collection directive. This directive lets us keep associating a specific type with a collection name. If they were named exactly the same, we wouldn’t need this, but it can help to keep best practices from both GraphQL and Fauna in place and associate the two.

GraphQL Playground image from Fauna showing the query below with the JSON response

Now that we have a schema set up, we can run a quick query in the GraphQL playground inside Fauna to give it a try.

query Reviews($slug: String!) {
reviewsByHygraphSlug(productId:$slug){
data{
name
rating
content
productId
}
}
}

With this query and the productId slug from the created document above, we can get a list of reviews with that productId. This means we can get it by the Hygraph slug from within Hygraph.

Add an Fauna API key

In order to use this data in Hygraph, we need an API. Head over to the “Security” page in Fauna and click “New key.”

Screenshot of the Create your first key screen in Fauna

Tell it which database to use (if you’re following along, there should only be one), and select a role. This key is fine to set up as a Server key, but you can also go into Roles and set up a custom role to keep permissions as granular as you need.

New key creation with current database, role of "server" and a descriptive key name

Once this is saved in, Fauna will display your key. This is the only time to copy it, so make sure to grab it before moving on. We’ll use that in our Remote Source in Hygraph.

#Setting up a remote source

While we could set up a separate API call to Fauna to get all the reviews at build or request time, it would be a much strong developer experience to only make one API call to Hygraph and get all the data we need for a given product. To do that, we can use Hygraph’s Remote Sources and Remote Source Fields.

To set this up, head over to your Hygraph project (ideally one created from this starter), and open up the Schema view.

Click “Add” under Remote Sources and fill out the following information:

  • Name the remote source “Fauna Reviews”
  • Select GraphQL for the remote source type
  • The Base URL is the GraphQL URL from your Fauna database (typically something like https://graphql.us.fauna.com/graphql )
  • Add an Authorization header set to Bearer <your-api-key>
  • Add this same header to the Introspection Headers
  • Click save

This creates a connection between Fauna’s GraphQL API and Hygraph. Once this is set up, we need to set up a GraphQL Remote Source Field for our products.

#Add a remote source field

Screenshot of the new GraphQL Remote source field options as described below

Navigate to the Product Schema. In the available Fields, there is now a “GraphQL Field.” Click this, and it’s time to set up the field to pull the correct data for each product.

Give the field a name and an API ID and in the “Query” builder, select “ReviewsByHygraphSlug” — the query we built in our schema for Fauna. Choose productId as the query argument. In the input below that checkbox select {{doc.slug}} which will pull the current document’s slug as the value to pass to that argument.

Once we have that, we could go ahead and query. However, our query would always require we get the data object off the response. This is an extra bit that we don’t have to deal with. Click the checkbox by “Data” in the “Fields” list. This will put the data in the root of the response from the query. Now the data will be available one level up — a small but pleasant improvement.

#Craft a query to get Hygraph data and Fauna data

Now that we have this field saved, we can navigate to any product, and we can see the new “Fauna Reviews” field. The only thing it will display is a “Preview in Playground” link. If you’re using the default e-commerce starter data, you should have a product with a slug “unisex-long-sleeve-tee”. Navigate to that product and click the Preview button for the Fauna Reviews field.

Screenshot of the new remote field in the content view showing "Preview in Playground" button

This will take us to the API playground with the basic query to this item. We can expand the faunaReviews array with the data we require right next to additional information on the product itself.

query content_product_faunaReviews($id: ID!) {
values: product(where: {id: $id}) {
slug
name
faunaReviews {
name
rating
content
_ts
}
}
}

Screenshot of the Hygraph API Playground showing the query listed above and the JSON response generated

We don’t have to do any normalization, extra queries, or even pass in arguments in this call. It’s all combined for us by the GraphQL API in Hygraph. This data can now be used in the frontend to show reviews alongside all the product information.

#Next steps

Once you have this setup, you can add additional databases or data from Fauna. You could also pull product information in the same way from something like BigCommerce or Shopify — including using the new Shopify extension to help. The same could go for any third-party review application that has an API. As long as you have a unique identifier that can be entered into Hygraph, you can pull any additional information you need.

Blog Author

Bryan Robinson

Bryan Robinson

Head of Developer Relations

Bryan is Hygraph's Head of Developer Relations. He has a strong passion for developer education and experience as well as decoupled architectures, frontend development, and clean design.

Share with others

Sign up for our newsletter!

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