Contentful x enhancely: AI ready in just minutes
Contentful is a headless content management system with an API-first architecture. It operates as a cloud-based SaaS platform that separates content management from content presentation entirely – there is no built-in frontend layer, no themes, and no templating system. Content is created and organized in the backend and delivered exclusively via APIs.
The platform provides both RESTful and GraphQL APIs for content delivery, allowing developers to retrieve structured content and display it on any frontend technology. Whether the target is a website built with React, Vue, or Next.js, a mobile app, an IoT device, or digital signage – content is managed in one place and pulled into each channel through API calls. Contentful uses a flexible content modeling approach where teams define custom content types and fields to match their specific requirements. This structured approach makes content reusable across different contexts and channels without duplication.
With the enhancely integration for Contentful, you can bring structured data optimization directly into your content workflow. The integration connects in just a few steps and automates JSON-LD generation for your pages – without disrupting your existing setup. The following guide walks you through how to set up the connection and link Contentful to your enhancely account.
enhancely adds page-specific JSON-LD to Contentful-driven sites so search engines see clean, consistent schema without manual markup. this makes perfect sense, learn more about the schema service in a composable architecture.
Why it matters
Structured data improves search visibility and rich results. enhancely automates the hard parts so your team ships better SEO faster, with less custom code to maintain.
What you get
- JSON-LD injected per page, automatically
- Consistent schema across Contentful content types
- Cache-aware performance for production traffic
- Webhook-ready refresh after publish
How it works
- Your app sends the current page URL to enhancely
- enhancely returns JSON-LD for that URL
- The plugin injects it during SSR and caches results
Installation
This package is distributed via GitHub release tarballs.
npm install https://github.com/enhancely/headless-cms-plugin/releases/download/v1.0.6/enhancely-headless-cms-plugin-1.0.6.tgz
Quick setup
- Copy the Contentful recipe bundle from:
recipes/contentful/next-app-router/template/ - Set required environment variables for your app
- Follow the step-by-step guide in
recipes/contentful/README.md
Caching included
- ETag-aware caching to reduce API calls
- Cache backends: Memory, File, or Redis
- Redis recommended for multi-instance or serverless deployments
Contentful webhook support
Enhancely supports Contentful webhooks to refresh schema after publish. See the Contentful recipe for setup details.
Compatibility & requirements
- Node.js: >= 18
- Next.js: >= 13 (App Router recommended)
- Nuxt: >= 3
- CMS: Contentful (webhook supported)
Learn more
Copy the ready bundle: recipes/contentful/
Full docs: docs.enhancely.ai
GitHub: https://github.com/enhancely/