Skip to content
brix.v2 stable

Search documentation

70 guides

Documentation menu
Docs / ContentfulRead Markdown ↗

Contentful

Brix connects Contentful to server-rendered sites and browser-only Contentful Apps without exposing CMS resource shapes throughout an application. Generate model types, read through typed clients, render composed entries through adapters, preview drafts safely, and invalidate delivery caches from verified webhooks.

Choose a workflow

Use a CMA token only while generating types. At runtime, create a request-derived Delivery client with a CDA token and a shared server data cache. Keep Preview credentials in server configuration, and register every cached Delivery client that a signed webhook should invalidate.

Contentful entries can travel through page props and islands, but conventional *.adapter.tsx modules own access to fields and sys. Ordinary components receive application props instead. This keeps the content model at the integration boundary and lets the same adapter provide visual rendering, Live Preview behavior, and agent-readable Markdown.

Use translations when Contentful backs a source-neutral translation loader, caching for shared stores and cache policy, results for expected client failures, and environment for secrets.