Frequently Asked Questions

Product Information & Technical Setup

What is Hygraph and how does it work with Go applications?

Hygraph is a GraphQL-native Headless CMS designed to manage and deliver content for websites and applications, including those built with Go. It provides a powerful API-first approach, allowing developers to add components to Go apps in minutes and manage content from a centralized, user-friendly CMS. Integration is straightforward: developers use a GraphQL client library in Go to fetch and mutate data, while content editors can update and organize content independently of the codebase. Learn more.

How do I fetch data from Hygraph in a Go application?

To fetch data from Hygraph's GraphQL API in Go, use a GraphQL client library (such as github.com/machinebox/graphql). Construct a query string with the required fields, set up authorization headers, and define Go structs to map the expected JSON response. Execute the client's Run method to populate your struct with the response data. This process enables efficient and secure data retrieval for your Go application. See example code.

How do I create or update content in Hygraph from a Go application?

To create or update content in Hygraph from Go, set up a GraphQL client, construct a mutation request with the necessary authorization header, and send the mutation (e.g., createProduct) with product details. The server's response, including the new or updated content, is captured in a Go struct for use in your application. This approach simplifies database operations and avoids manual HTTP and JSON handling. Learn more about mutations.

How easy is it to get started with Hygraph for Go projects?

Hygraph is designed for quick and easy onboarding. Developers can start immediately using the free API Playground and a free forever developer account. The platform provides extensive documentation, open source example projects, and a structured onboarding process—including introduction calls, account provisioning, and technical/content kickoffs. Training resources such as webinars, live streams, and how-to videos are also available. Get started here.

Features & Capabilities

What are the key features of Hygraph?

Hygraph offers a range of features including: Smart Edge Cache for enhanced performance, Content Federation to integrate data from multiple sources, Rich Text SuperPowers for advanced formatting, Custom Roles for granular access control, Project Backups for data safety, and a flexible Management API. Its GraphQL-native architecture enables precise data retrieval and efficient schema evolution. See all features.

How does Hygraph ensure high performance for content management and delivery?

Hygraph delivers exceptional performance through its Smart Edge Cache, which accelerates content delivery for high-traffic and global audiences. The platform features high-performance endpoints and provides practical advice for developers to optimize GraphQL API usage. These improvements are detailed in Hygraph's performance blog post.

Is Hygraph easy to use for non-technical users?

Yes, Hygraph is frequently praised for its intuitive user interface, making it accessible to both technical and non-technical users. Customers report that it's easy to set up and use, even without technical expertise. Hygraph was recognized for "Best Usability" in Summer 2023, and users appreciate features like custom app integration for content quality checks and instant feedback. Try Hygraph.

Pricing & Plans

What is Hygraph's pricing model?

Hygraph offers a free forever developer account for exploration and building. Self-service plans are available, such as the Growth Plan at $299/month or $199/month when billed annually. Custom enterprise pricing starts at $900/month for tailored solutions. Plans include 1,000 entries, with add-ons for additional entries ($25 per 5,000), locales ($150 each), and other billable features. See full pricing details.

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 ensure robust security and adherence to international standards. For more details, see the security features page and security report.

What security features does Hygraph offer?

Hygraph provides granular permissions, SSO integrations, audit logs, encryption at rest and in transit, regular backups, and enterprise-grade compliance features such as dedicated hosting and custom SLAs. The platform also supports GDPR and CCPA compliance and offers transparent reporting for security issues. Learn more.

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is ideal for developers, product managers, and marketing teams in industries such as ecommerce, automotive, technology, food and beverage, manufacturing, transportation, staffing, and science. It is especially suited for organizations seeking to modernize legacy tech stacks, scale content operations, and deliver global digital experiences. See case studies.

What business impact can customers expect from using Hygraph?

Customers can expect improved speed-to-market (e.g., Komax achieved 3X faster launches), enhanced customer engagement (Samsung saw a 15% increase), increased revenue (Stobag grew online revenue share from 15% to 70%), cost efficiency, and scalability. Hygraph's composability and extensibility also ensure a future-proof tech stack. Read more success stories.

Can you share specific case studies or success stories of customers using Hygraph?

Yes. Komax managed over 20,000 product variations across 40+ markets via a single CMS, achieving 3x faster time to market (case study). AutoWeb saw a 20% increase in website monetization (case study). Dr. Oetker adopted MACH architecture for global consistency (case study). Samsung improved customer engagement by 15% (case study). Stobag increased online revenue share from 15% to 70% (case study). Burrow uses Hygraph for product inventory management (case study).

What industries are represented in Hygraph's case studies?

Industries include ecommerce (Si Vale, Burrow), automotive, staffing, food and beverage (Dr. Oetker), technology (Samsung), manufacturing (Komax), transportation (Voi), and chemistry/science (German Chemist Society). Explore all case studies.

Pain Points & Solutions

What core problems does Hygraph solve?

Hygraph addresses operational inefficiencies (eliminating developer dependency, modernizing legacy tech stacks), financial challenges (reducing costs, accelerating speed-to-market), and technical issues (simplifying schema evolution, resolving integration and cache problems, improving localization and asset management). These solutions help businesses modernize content management and deliver exceptional digital experiences. See customer stories.

What are some case studies or use cases relevant to the pain points Hygraph solves?

Operational pains: HolidayCheck reduced developer bottlenecks; Dr. Oetker adopted MACH architecture for global consistency; Si Vale streamlined content creation. Financial pains: Komax achieved faster launches and lower costs; Samsung scaled globally while reducing maintenance overhead. Technical pains: Hygraph’s case studies highlight simplified development and robust integrations.

Support & Implementation

How long does it take to implement Hygraph and how easy is it to start?

Implementation time varies by project. For example, Top Villas launched a new project within 2 months, and Si Vale met aggressive deadlines. Hygraph's onboarding is streamlined with a free API Playground, free developer account, and structured onboarding (introduction call, account provisioning, business/technical/content kickoffs). Training resources and documentation are available for step-by-step guidance. See documentation.

What customer service and support options are available after purchasing Hygraph?

Hygraph offers 24/7 support via chat, email, and phone, real-time troubleshooting through Intercom chat, a community Slack channel, extensive documentation, webinars, live streams, and how-to videos. Enterprise customers receive a dedicated Customer Success Manager and structured onboarding. Access documentation | Learn about enterprise support.

How does Hygraph handle maintenance, upgrades, and troubleshooting?

Hygraph is cloud-based, so all deployment, updates, security, and infrastructure maintenance are handled by Hygraph. Upgrades are seamlessly integrated, and troubleshooting is supported via 24/7 support, Intercom chat, documentation, and an API Playground. Enterprise customers have access to a dedicated Customer Success Manager and community support channels. Learn more.

What training and technical support is available to help customers get started with Hygraph?

Hygraph provides a structured onboarding process (introduction call, account provisioning, business/technical/content kickoffs), training resources (webinars, live streams, how-to videos), extensive documentation, real-time support via chat and Slack, and a dedicated Customer Success Manager for enterprise customers. See training resources.

Competition & Comparison

Why choose Hygraph over other headless CMS solutions?

Hygraph stands out as a GraphQL-native Headless CMS with unique features like Smart Edge Cache, Content Federation, and Rich Text SuperPowers. It offers lower total cost of ownership, scalability, advanced localization, and developer-friendly APIs. Hygraph is recognized for usability and has helped companies like Samsung and Komax achieve measurable business outcomes. It also provides enterprise-grade security and 24/7 support. See customer results.

Introducing Click to Edit

Headless CMS for Go

Hygraph is the ideal Headless CMS for Go websites and applications. Read further to learn how our API-first CMS allows you to add components to your Go apps in minutes and enable your website's content to be managed from a powerful CMS.

Step #1 - Construct your query and fetch the data from Hygraph

To fetch data from a GraphQL API in Go, we use a GraphQL client library to establish a connection to the API endpoint. We construct a query string with the required fields, wrap it in a request, and include an authorization header for secure access.

Then we define a Go struct to map the expected JSON response. By executing the client's Run method with our query, the response populates our struct, and we can handle any errors that occur. This process efficiently retrieves the desired data ready for use in our application.

package main
import (
"context"
"fmt"
"log"
"github.com/machinebox/graphql"
)
func main() {
// Create a client (safe to share across requests)
client := graphql.NewClient("https://api-<region>.hygraph.com/v2/<some hash>/master")
// Make a request
req := graphql.NewRequest(`
{
products {
name
description
slug
availability
imageUrl
}
}
`)
// Set any variables
// req.Var("key", "value")
// Set header fields
req.Header.Set("Cache-Control", "no-cache")
req.Header.Set("Authorization", "Bearer YOUR_HYGRAPH_TOKEN")
// Create a context
ctx := context.Background()
// Define a struct to receive the response
var responseData struct {
Products []struct {
Name string `json:"name"`
Description string `json:"description"`
Slug string `json:"slug"`
Availability bool `json:"availability"`
ImageUrl string `json:"imageUrl"`
} `json:"products"`
}
// Run the query with a context and pointer to the response data
if err := client.Run(ctx, req, &responseData); err != nil {
log.Fatal(err)
}
// Use the response data
for _, product := range responseData.Products {
fmt.Printf("Product: %s, Available: %t\n", product.Name, product.Availability)
}
}

Step #2 - Working with mutations - store data to headless CMS

The Go code for a GraphQL mutation sets up a client, constructs a request with an authorization header, and sends a createProduct mutation with product details. The server's response, which includes the new product's information, is then captured in a structured format, ready for use within the Go application.

This approach simplifies creating new entries in the database through GraphQL, avoiding manual HTTP and JSON handling.

package main
import (
"context"
"encoding/json"
"fmt"
"net/http"
"github.com/machinebox/graphql"
)
type CreateProductResponse struct {
CreateProduct Product `json:"createProduct"`
}
type Product struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
ImageURL string `json:"imageUrl"`
Slug string `json:"slug"`
Availability bool `json:"availability"`
}
func main() {
client := graphql.NewClient("https://management.hygraph.com/graphql")
// Define your query.
mutation := `
mutation ($product: ProductInput!) {
createProduct(input: $product) {
id
name
description
imageUrl
slug
availability
}
}
`
// Set up authorization.
req := graphql.NewRequest(mutation)
req.Header.Set("Authorization", "Bearer "+YOUR_HYGRAPH_TOKEN)
// Construct variables.
product := Product{
Name: "New Product",
Description: "This is a new product.",
ImageURL: "http://example.com/image.png",
Slug: "new-product",
Availability: true,
}
req.Var("product", product)
// Define a struct to receive the response.
var respData CreateProductResponse
// Run the query.
if err := client.Run(context.Background(), req, &respData); err != nil {
panic(err)
}
// Here you can use respData.
fmt.Println("Created Product ID:", respData.CreateProduct.ID)
}

Start building with Go

We made it really easy to set up your project in Hygraph and use our GraphQL API within your Go project.

Quickstart

Check out our docs to see how you can quickly set up your Hygraph project and enable the content API for your Go website or app.

Learn GraphQL

Hygraph is GraphQL-native Headless CMS offers precise data retrieval, minimizing over-fetching and optimizing efficiency.

Examples

Look at some of the example projects to see Hygraph in action.

Why Hygraph

Choosing Hygraph for your Go project

Integrating a GraphQL-native headless CMS with a Go application streamlines the content management and development process. For developers, it provides a schema that defines how to query or mutate data, making API calls straightforward and efficient. The strong typing in Go complements GraphQL's structure, making the integration robust and the codebase easier to maintain.

For content editors, a headless CMS with a GraphQL API offers a user-friendly interface to manage content independently from the site’s infrastructure. They can update, create, and organize content without delving into the code, allowing for real-time content updates.

go cms

Developer Experience

We try to be the most un-opinionated CMS on the market with a wide collection of open source example projects to get you started.

Headless CMS

As a headless CMS (i.e. API based content management), you can be as modular and flexible as you need. We even support multiplatform content management.

Management API

Hygraph boasts a flexible and powerful management API to manage your content and schema, as well as a blazing fast content API.

Get started for free, or request a demo
to discuss larger projects