🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now

How to create a new project without creating all the studio files in Sanity.io.

2 replies
Last updated: Nov 2, 2023
Hey Everyone,
Is there a way to create a new project without creating all the studio files?

It could be on CLI or web UI, what I am looking to achieve is to build my own starter kit that would be private and would contain studio with schemas and also a web app with basics, and I would only need to create a new project to link the project ID and dataset.
Nov 1, 2023, 2:54 PM
If you’re on the latest version of the CLI, running
sanity init
inside of an existing code base should create a new project without bootstrapping a Studio.
Nov 1, 2023, 5:52 PM
That's perfect, figured it out after doing some tests, thanks for that!
By the way, apologies for posting this same question on two channels, wasn't sure what was the best one for it as it's sort of a basic one.
Nov 2, 2023, 10:06 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Related answers

Get more help in the community Slack

TopicCategoriesFeaturedRepliesLast Updated
DOMParser is not defined at defaultParseHtmlDec 3, 2020
Next.js and Vercel - Error! No Output Directory named "dist" foundAug 8, 2022
Custom Document Views - Is it Even Possible to Use the Structure Builder?Apr 21, 2022
Clarification on creating drafts from a published document in Sanity.io.Dec 14, 2023
Trouble updating Sanity version, seeking help and guidance.Jan 24, 2024
GROQ query for getting references from arrays in another array in Sanity.ioApr 9, 2020
Upgrading to Sanity v3 causing ECONNRESET error, resolved by updating Node versionMay 23, 2023
How to fetch an array of images using groq in Sanity.ioMay 21, 2023
Hi all! Does anyone have problem on deoplloying on Vercel (Using Next. js as a frontend)? I have two test projects, andonce...Jan 25, 2021
Discussion about using Sanity.io as a backend solution for small projects and its featuresApr 18, 2020

Related contributions

Turbo Start Sanity
- Template

The battle-tested Sanity template that powers Roboto Studio's websites

Go to Turbo Start Sanity

Schema UI - Next.js Sanity Starter
- Template

A Next.js starter template with Next.js 15, Tailwind CSS, shadcn/ui, and Sanity CMS with Live Editing. Get production-ready React components with matching Sanity schemas and queries. Build dynamic pages faster while keeping full control over customization.

Serge Ovcharenko
Go to Schema UI - Next.js Sanity Starter

The Swaddle
- Made with Sanity

A new brand identity to represent a more mature company, to signify The Swaddle’s evolution from publisher to production house, combined with an easier to navigate platform that can surface multiple content types - drawing readers through The Swaddle’s content offering.

Nightjar
Go to The Swaddle