Getting started

Quickstart: AI app builders

Connect Sanity to your AI app builders and prompt it to turn your existing Markdown or hardcoded content into editable Sanity content.

Using a local agentic code editor/harness?

1. Connect Sanity

Add Sanity from your platform's connector or integrations list. Search for "Sanity" and sign in. Signing in creates your Sanity account if you don't have one yet.

Platforms that lists the Sanity connector: v0, Bolt, Lovable, and Replit.

If Sanity isn't listed, add the Sanity MCP server manually with this configuration:

2. Describe your content and prompt the builder

Tell the builder what you're building and what content you already have, like Markdown files or hardcoded text. The prompt above asks it to turn that into Sanity content types, give you a place to edit them, and read them back into your app.

Paste this into your app builder to get started:

3. What the builder sets up

It creates a Sanity project with a public production dataset, deploys a schema for your content, adds CORS origins for client-side data loading, and gives you a hosted Studio (a your-name.sanity.studio URL) to edit in. Your existing content moves into Sanity and becomes the source of truth.

4. If your app can't load content

Ask the builder to add your platform's preview domain as a CORS origin: https://*.vusercontent.net for v0, https://*.bolt.host for Bolt, or https://*.lovable.app for Lovable.

5. Edit your content

Open the hosted Studio to add and edit content. Your changes show up in your app.

Go to get started with AI to learn how to set up Sanity with your agentic code editors, and to Sanity Learn for courses on how to become a certified Sanity developer.

Was this page helpful?