Compute and AI

Blueprints introduction

Learn what Blueprints are, how they work, and how to get started.

Blueprints enable infrastructure-as-code level management of Sanity resources. At this time, Blueprints are limited to managing Functions.

Requirements

  • sanity CLI v3.88.1 or higher is required to interact with Blueprints and Functions. You can always run the latest CLI commands with npx sanity@latest.
  • Write access to your organization and project settings.

Core concepts

Blueprint

Like a configuration file, a blueprint lets you define and customize Sanity resources.

Resource

Core Sanity components are resources. For the time being, Functions are the only resource supported by Blueprints.

Was this page helpful?