Next.js Conf 2024: Your app should be Live by Default – Watch Keynote

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?