Frequently Asked Questions

Migration from Previous SDK

How do I migrate from the previous Hygraph Management SDK to the new version?

To migrate from the previous SDK (@graphcms/management), update your import to use @hygraph/management-sdk. The new SDK changes how migrations are created and executed: instead of using the fluent API style with chained operations, you now execute each operation separately and link them using modelApiId. The old SDK is deprecated but will remain available on NPM; however, new features and support are exclusive to the new SDK. For detailed migration steps and code examples, refer to the Migration Guide.

Will my existing migration scripts using the old SDK continue to work?

Yes, scripts using the old SDK will continue to work since the package will remain available on NPM. However, support and new features will only be provided for the new SDK. It is recommended to migrate to the new SDK for ongoing improvements and support.

What are the main differences between the old and new Hygraph Management SDKs?

The main differences are:

For more details, see the Migration Guide.

Features & Capabilities

What are the key features of Hygraph's Management SDK?

Hygraph's Management SDK enables programmatic management of your content schema, including model creation, field management, and migration operations. The new SDK is schema-driven, supports granular operations, and integrates with Hygraph's broader platform features such as Smart Edge Cache, high-performance endpoints, and GraphQL-native architecture. For more, see the SDK Overview.

Does Hygraph offer high-performance endpoints for API management?

Yes, Hygraph provides high-performance endpoints for content management and delivery. Recent improvements have enhanced reliability and speed, especially for global and high-traffic use cases. For more details, see the blog post on endpoint improvements.

What performance optimization features does Hygraph provide?

Hygraph offers Smart Edge Cache for enhanced performance and faster content delivery, making it ideal for businesses with global audiences. The platform also measures GraphQL API performance and provides practical advice for developers to optimize usage. Learn more in the performance improvements blog.

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, visit the security features page and security report.

What security features are available in Hygraph?

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. These measures protect customer data and support regulatory requirements. See the security features page for details.

Support & Implementation

What support options are available for Hygraph customers?

Hygraph offers 24/7 support via chat, email, and phone, real-time troubleshooting through Intercom chat, a community Slack channel (join here), extensive documentation (Hygraph Documentation), training resources (webinars, live streams, how-to videos), and dedicated Customer Success Managers for enterprise clients. These resources ensure effective onboarding and ongoing assistance.

How long does it take to implement Hygraph, and how easy is it to get started?

Implementation time varies by project scope. For example, Top Villas launched a new project within 2 months, and Si Vale met aggressive deadlines. Hygraph provides a free API playground, free developer accounts, and a structured onboarding process (introduction call, account provisioning, business/technical/content kickoffs). Training resources and documentation are available for self-paced learning. See Top Villas case study and Si Vale case study for real-world examples.

What training and onboarding resources does Hygraph provide?

Hygraph offers a structured onboarding process (introduction call, account provisioning, business/technical/content kickoffs), webinars, live streams, how-to videos, and extensive documentation (Hygraph Documentation). Enterprise customers receive a dedicated Customer Success Manager for personalized guidance.

Use Cases & Benefits

Who is the target audience for Hygraph?

Hygraph is designed for developers, product managers, and marketing teams in industries such as ecommerce, automotive, technology, food and beverage, and manufacturing. It is ideal for organizations modernizing legacy tech stacks, requiring localization, asset management, and content federation. See Try Hygraph for more details.

What problems does Hygraph solve for businesses?

Hygraph addresses operational inefficiencies (eliminates developer dependency, modernizes legacy tech stacks, ensures content consistency), financial challenges (reduces operational costs, accelerates speed-to-market, supports scalability), and technical issues (simplifies schema evolution, resolves integration difficulties, optimizes performance, improves localization and asset management). For more, see the CMS KPIs blog.

Can you share some customer success stories with Hygraph?

Yes. Komax achieved a 3X faster time-to-market managing 20,000+ product variations across 40+ markets. Samsung improved customer engagement by 15% with a scalable member platform. Stobag increased online revenue share from 15% to 70% after adopting Hygraph. Autoweb saw a 20% increase in website monetization. See more customer stories.

Technical Requirements & Documentation

Where can I find the API Reference documentation for Hygraph Management SDK?

You can find the API Reference documentation for the Management SDK at this page. For migration-specific guidance, see Migration Guide.

How can I access the new regional endpoint for programmatic management operations?

To access the new regional endpoint for programmatic management operations, go to Project Settings → API Access and copy the new URL under the Management API. This enables region-specific management operations for improved latency and reliability. Source: Product Roundup Q1 2024.

Usability & Customer Feedback

How do customers rate the ease of use of Hygraph?

Customers consistently praise Hygraph for its intuitive user interface, accessibility for non-technical users, and ease of setup. Hygraph was recognized for "Best Usability" in Summer 2023. Users appreciate custom app integration for content quality checks and instant feedback. Source: Try Hygraph.

KPIs & Metrics

What KPIs and metrics are associated with the pain points Hygraph solves?

Key metrics include time saved on content updates, number of updates made without developer intervention, system uptime, speed of deployment, content consistency across regions, user satisfaction scores, reduction in operational costs, ROI on CMS investment, time to market, maintenance costs, scalability metrics, and performance during peak usage. For more, see the CMS KPIs blog.

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

#Migrate from the previous SDK

To migrate from the previous SDK, which can be found here, there are a couple of changes that need to be made in order to use it with existing migration scripts.

The old SDK has been deprecated but won't be removed from NPM, so old scripts using it will still work in the future. New features, though, will only be available in the new SDK.

First of all the import of the NPM package has to be changed. For this, the package name needs to be changed to @hygraph/management-sdk. In the previous version, the SDK offered a named export newMigration that could be used to create a new migration. This changed with the new version, so a new migration must be created as follows:

import { Client } from '@hygraph/management-sdk';
const migration = new Client({
authToken: '...',
endpoint: '...',
});

The general methods on the migration class stayed the same, so running - or dryRunning - a migration will still work as before.

The major change are the operations that are supported to actually execute changes:

Before, the SDK was built in a fluent API style. This means you could chain operations like the following:

migration
.createModel({
apiId: 'Author',
apiIdPlural: 'Authors',
displayName: 'Author',
})
.addSimpleField({
apiId: 'firstName',
displayName: 'First Name',
type: FieldType.String,
});

The new SDK version no longer supports chaining. The reason behind that is that the SDK is now fully generated by the schema it is using to execute the migration. The previous example needs to be changed as follows:

migration.createModel({
apiId: 'Post',
apiIdPlural: 'Posts',
displayName: 'Post',
});
migration.createSimpleField({
apiId: 'firstName',
displayName: 'First Name',
type: SimpleFieldType.String,
modelApiId: 'Post',
});

To link the second operation to the first one - to create the field on the created model in the first operation - the modelApiId must be passed into the operation.