Skip to main content
A Blueprint is the heart of every Backdrift project. It’s a structured representation of your backend that describes entities, relationships, authentication, and business logic in a format both humans and AI can understand.

What is a Blueprint?

Think of a Blueprint as the “source of truth” for your backend. It contains:
  • Entities - Your data models (Users, Tasks, Projects)
  • Relationships - How entities connect (Tasks belong to Projects)
  • Authentication - How users sign in and what roles exist
  • API Endpoints - What operations are available
  • Workflows - Scheduled jobs, events, and long-running processes

The Blueprint Lifecycle

  1. Natural Language → You describe what you want
  2. Spec → AI creates an editable specification
  3. Blueprint → The spec is compiled into a complete Blueprint IR
  4. Infrastructure → Blueprint is transformed into cloud resource definitions
  5. Cloud Resources → Real infrastructure is deployed

Blueprint Structure

Key Concepts

Entities

Entities are your data models. Each entity becomes a database table and gets automatic API endpoints.

Relationships

Connect entities together with foreign keys:

Multi-Tenancy

For SaaS applications, Backdrift automatically isolates data by tenant:
Every query is automatically filtered by the user’s organization—a user in Org A cannot access data from Org B.

Why Blueprints?

Portable

Blueprints are cloud-agnostic. The same Blueprint could theoretically deploy to different providers.

Version Controlled

Every change creates a new revision. Roll back to any previous version with one click.

AI-Readable

The structured format means AI tools can understand, modify, and validate your backend.

Exportable

Download the generated Infrastructure-as-Code (CDK) to take full control.

Next Steps

Prompting Guide

Learn how to describe your backend effectively.