From your first model to your live site.

Practical guides for setting up SCHMA, working with content, and connecting the tools you already use.

Find your next step.

Quickly find answers or browse guides below

Connecting your PostgreSQL database

How SCHMA connects to your self-hosted or cloud-hosted PostgreSQL 15+ database with the pgvector extension enabled, using standard connection strings, SSL, and isolated schema tables.

Getting Started

Creating your first content model

Design structured content schemas in the visual Schema Builder using SCHMA's 11 visual field types (backed by 14 core schema types), custom validation rules, and relational references.

Getting Started

Understanding drafts, publishing, and production isolation

How SCHMA isolates work-in-progress drafts from public delivery APIs, ensuring live applications only receive reviewed, published content.

Content Management

Setting up live preview with your frontend

Configure real-time visual live preview between SCHMA Studio and your Next.js or React application using @schmadev/preview and secure postMessage events.

Content Management

Workspace roles and permissions

An overview of SCHMA's built-in membership roles—Owner, Admin, Editor, and Reviewer—and custom role permission boundaries across workspaces.

Teams & Permissions

Understanding Free vs Pro plan limits and quotas

A detailed comparison of SCHMA Free and Pro tiers, covering workspace seats (up to 2 on Free, up to 5 on Pro), media quotas (100 MB vs 1 GB), AI capabilities, and billing.

Plans & Billing

Creating and managing API keys

How to generate Delivery and Management API keys, configure permission scopes, and authenticate HTTP and SDK requests.

Developer Guides & Integrations

Configuring the SCHMA MCP server

Connect AI editors like Cursor and Claude Desktop directly to your SCHMA workspace using @schmadev/mcp-server and the Model Context Protocol.

Developer Guides & Integrations

Troubleshooting database connection problems

Actionable steps to diagnose and resolve PostgreSQL connection errors, SSL handshake failures, password escaping issues, and network timeouts in SCHMA.

Troubleshooting

Why published content is missing from your frontend

A systematic diagnostic guide to resolve missing content entries, draft status filtering, slug mismatches, tenant headers, and frontend cache layers.

Troubleshooting

Using version history and rolling back entries

How to view historical snapshots of entries in SCHMA Studio, inspect previous revisions, and safely restore earlier versions into working drafts.

Content Management

Scheduling entries and releases

How to schedule content entries for future publication, organize multi-document Release Bundles, and coordinate atomic campaign launches.

Content Management

Inviting team members and managing access

How to invite collaborators, manage pending access requests, update membership roles, and remove team members in SCHMA Studio.

Teams & Permissions

Delivery API quotas and rate limits

Understand SCHMA Delivery API monthly quotas, per-minute rate limits, response headers, and how edge caching optimizes request throughput.

Plans & Billing

Getting started with the TypeScript SDK

How to install, configure, and query your SCHMA content using the official @schmadev/client TypeScript SDK with type-safe models, filtering, and pagination.

Developer Guides & Integrations

Setting up webhooks and frontend revalidation

How to configure SCHMA webhooks, verify cryptographic HMAC SHA-256 signatures, and trigger on-demand ISR revalidation in Next.js when content changes.

Developer Guides & Integrations

Configuring BYOK AI providers

How to connect your own OpenAI, Anthropic, Google Gemini, or OpenRouter API keys to power the SCHMA AI Content Engine with custom model overrides.

Developer Guides & Integrations

Resolving API 401 and 403 errors

An actionable diagnostic guide to distinguish and fix HTTP 401 Unauthorized and 403 Forbidden responses, permission scopes, and token headers.

Troubleshooting

Custom roles and workspace permissions

An overview of workspace membership roles, permission boundaries, content-type scoping, and the status of custom role capabilities in SCHMA.

Teams & Permissions

Managing media files and storage quotas

How to upload images and documents, organize assets in the Media Library, understand supported file types, and manage storage quotas.

Content Management

Setting up SCHMA with Cursor via MCP

How to integrate Cursor IDE with your SCHMA workspace using the Model Context Protocol (@schmadev/mcp-server) for AI-driven schema inspection and content generation.

Developer Guides & Integrations

Setting up SCHMA with Claude Desktop via MCP

How to connect Claude Desktop to your SCHMA workspace using the Model Context Protocol to query schemas, inspect content, and draft entries.

Developer Guides & Integrations

Production readiness checklist for SCHMA

A complete verification checklist covering database security, API key scopes, environment isolation, webhooks, and caching before launching a site powered by SCHMA.

Getting Started

Account and security best practices

Practical security guidelines for protecting your SCHMA workspace, database credentials, API keys, webhook endpoints, and team access.

Account, Security & Support

Diagnostic: Resolve database connection problems

Instant checks for connection string syntax, database availability, and SSL settings.

Troubleshooting

Diagnostic: Find missing published content

Instant checklist for publication state, content type slugs, API keys, and environments.

Troubleshooting

Diagnostic: Fix API authorization errors (401/403)

Verify Bearer tokens, workspace slugs, and Delivery vs Management key permissions.

Troubleshooting

Diagnostic: Understand AI assistant availability

Check your plan and BYOK AI provider settings when an assistant is unavailable.

Troubleshooting

Diagnostic: Editor cannot connect through MCP

Verify Node.js, npx, API credentials, and workspace slug for Cursor or Claude Desktop.

Troubleshooting

Generate, review, and save AI drafts

Create staged previews, edit results, save selected drafts, and revisit generation runs.

SCHMA AI

Read content with the JavaScript SDK

Connect a Next.js, Astro, or Node.js app using @schmadev/client.

Integrations

TypeScript SDK client reference

Install and query published content using @schmadev/client with full TypeScript support.

SDKs

Command line interface (CLI)

Scaffold new projects with create-schma and generate TypeScript definitions with @schmadev/cli.

Developer Tools

Model Context Protocol (MCP) server reference

Configure Cursor, Claude Desktop, and AI coding assistants with the SCHMA MCP server.

Developer Tools

Delivery API requests and responses

REST endpoints, authentication headers, content type filters, and pagination.

Reference