What is the Hygraph-Vercel integration and what does it enable?
The Hygraph-Vercel integration allows you to seamlessly trigger static site deployments on Vercel directly from within the Hygraph content editor. Unlike triggered builds via webhooks, this integration installs a manual build button in the Hygraph sidebar for selected content models, giving you control over when builds are triggered after content changes. Learn more.
What can I do with the Hygraph-Vercel integration?
With this integration, you can:
Trigger Vercel builds from your content view with a single click.
Specify which content models display the build button, allowing granular control over deployment triggers.
How do I add the Vercel build button to the sidebar in Hygraph?
To add the build button:
Go to the Schema editor in Hygraph.
Select the model you want to add the button to.
Click the Sidebar tab and add the "Deploy to Vercel" widget.
Edit the display name and description if desired, then create the widget.
Drag and drop to reorder sidebar widgets as needed.
If you don't see the widget, perform a hard refresh (Ctrl+R or Cmd+R). Source: Hygraph Docs
How do I trigger a build on Vercel from Hygraph?
To trigger a build:
Go to content editing in Hygraph.
Select the model with the sidebar widget.
Edit or create an entry.
Click the "Start Building" button in the sidebar. The button state will change and the build will start on Vercel. You can see the last build date under the button.
Yes, you can use Hygraph starter projects with Vercel. Simply select a starter in Hygraph, create your project, access the starter's GitHub repository, and use the Deploy button. Configure required environment variables as described in the documentation. Source: Hygraph Docs
Features & Capabilities
What are the key capabilities of Hygraph?
Hygraph offers:
GraphQL-native architecture for efficient data querying and management.
Content federation to unify data from multiple sources without duplication.
Scalability for startups to Fortune 500 companies.
Customizable UI for both technical and non-technical users.
Extensive integrations, including Vercel, Netlify, Shopify, BigCommerce, Cloudinary, and more. See full list.
Hygraph is designed to be super easy to set up and use, even for non-technical users. You can start building immediately by signing up for a free account. The intuitive interface and comprehensive documentation make onboarding straightforward. Source: Documentation
How long does it take to implement Hygraph?
Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months from initial contact, demonstrating Hygraph's efficiency. Source: Top Villas Case Study
What resources and support are available for onboarding and adoption?
Onboarding guides and training resources (video tutorials, webinars).
Dedicated Customer Success Managers for enterprise clients.
24/7 support via chat, email, and phone.
Community Slack channel for peer support.
Security & Compliance
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure high standards for data protection and information security. Source: Security Features
What do customers say about the ease of use of Hygraph?
Customers describe Hygraph as intuitive and super easy to set up, with an interface accessible to both technical and non-technical users. The customizable UI supports content quality checks and instant feedback. Some users note that managing many languages can make the interface complex. Source: Customer Feedback
Competition & Differentiation
Why choose Hygraph over other CMS solutions?
Hygraph stands out for:
GraphQL-native architecture for efficient data management
Content federation without data duplication
Scalability for global enterprises
Intuitive editorial interface and advanced permission system
Dedicated consulting and onboarding
Lower total cost of ownership
Proven success with brands like Samsung and Dr. Oetker
Where can I find technical documentation for Hygraph and its integrations?
Comprehensive documentation is available at Hygraph Documentation, including guides for integrations, API reference, content workflows, and webhooks. Source: Docs
The Hygraph Integration allows you to seamlessly update your static deployments at the push of a button from within Hygraph itself. Not to be confused with triggered builds via webhooks, this integration allows you to install a button in the Hygraph sidebar of a content model for manual redeploys.
#What you can do with the Hygraph-Vercel integration
Trigger Vercel builds from within your content view with a single click.
Specify which content models display the button in the sidebar, giving you more control over how builds are triggered when there are changes to your content.
When using this integration, you should already have a static site deployed in an active Vercel project. Don't have one? Set up a free Vercel account or learn about other plans!
Your Vercel site should be configured to support continuous deployment.
Apps are environment specific. This means their configuration is applied per environment. Take this into consideration if you're working with a project using more than one environment.
To install apps on Hygraph, you should go to our marketplace. Under the Hosting & Deployment category, you will find the Vercel app. Click on it to open the page.
Click on the Install Vercel for Hygraph button to start the installation flow.
In the dropdown, select which project you want to install the app in, then click on the Add App button. You should be redirected to your Hygraph project homepage.
Click on the Connect to Vercel button to connect Hygraph to the project hosted on Vercel. You should be redirected to the Vercel website, where you can see information about the app and authorize the installation. Click on the Add Integration button to authorize the app.
In the dropdown, select the Vercel Account to add the integration to, then click on the Continue button. You will be redirected back to the Hygraph dashboard.
Now, select the Vercel project in the dropdown, enter the GitHub repository Branch name and the Display Name. Finally, click on the Save button.
Now that the app is installed, the next step is to add the Vercel build button to the sidebar of to one or more of your project's models, so that you can trigger builds from the content editor.
On the left side navigation, go to the Schema editor.
Under the Models section, click on the model you want to add the Vercel build button to.
Click on the Sidebar tab.
Under Sidebar Widgets, click on the Deploy to Vercel widget to add it to the sidebar.
If you can't see the widget in the sidebar, you should do a hard refresh of the page by hitting Ctrl + R (Windows/Linux) or Cmd + R (macOS). Then, you should see it.
In the Add Widget pop-up, Display Name and Description fields will be pre-filled. You can edit them if you want. Otherwise, just click on the Create button to add it to the model sidebar.
Finally, you can drag and drop the widget by clicking on the six dots icon to reorder the sidebar widgets if you want.
Now, let's learn how to trigger builds from the content editor.
Click on the Go to content editing link at the top right of the Schema editor. Alternatively, you can also click on the Content icon, in the left side navigation.
Click on the model you added the sidebar widget to.
Click on the Edit button of an existing entry. Or click on the Create Entry button.
Finally, click on the Start Building button, located in the sidebar. Once you do that, the button state changes and the build will start on Vercel. Under the button, you should see the last date a build has been triggered.
Hygraph starter - Documentation project used as example
Create a new project by selecting one of the starters in Hygraph.
Click on the Create project button. You will be redirected to your Hygraph project homepage.
Access the starter's GitHub repository on a different tab, scroll down to visualize the README document contents, and click on the Deploy button.
You can also alternatively skip steps 1 and 2, and clone the project directly from the GitHub repository mentioned in this step. The Clone project button is next to the Deploy button.
Create a GitHub repository for your project, and then provide the values for the required environment variables. Click here for information on how to configure your project easily.
Use this information to configure your Vercel project.
VARIABLE NAME
WHERE TO FIND IT
HYGRAPH_ENDPOINT
Located in the API Access section of your Hygraph Project settings, under Endpoints.
HYGRAPH_DEV_TOKEN
Located in the API Access section of your Hygraph Project settings, under Permanent Auth Tokens.
HYGRAPH_MUTATION_TOKEN
Located in the API Access section of your Hygraph Project settings, under Permanent Auth Tokens.
HYGRAPH_QUERY_TOKEN
Located in the API Access section of your Hygraph Project settings, under Permanent Auth Tokens.
HYGRAPH_PROD_TOKEN
Located in the API Access section of your Hygraph Project settings, under Permanent Auth Tokens.
HYGRAPH_TOKEN
Located in the API Access section of your Hygraph Project settings, under Permanent Auth Tokens.
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
This is not located in Hygraph. You will find this information in your third party configuration.
NEXTAUTH_SECRET
This is not located in Hygraph. You will find this information in your third party configuration.
NEXTAUTH_URL
This is not located in Hygraph. You will find this information in your third party configuration.
PREVIEW_SECRET
Find it in your Hygraph custom configuration. You will find this in the Schema builder, in the Sidebar tab of the model that contains the preview widget.
STRIPE_SECRET_KEY
This is not located in Hygraph. You will find this information in your third party configuration.
STRIPE_WEBHOOK_SIGNING_SECRET
This is not located in Hygraph. You will find this information in your third party configuration.
Please note that not all starters use the same variables, so you may only need to use part of the list.