Bootstrap Project
A 3-step recipe with Sanity. We can help you get access.
Recipe · 3 steps
Bootstrap Project
with Sanity
Stand up a new project with an initial dataset in one pass.
- Create a new Sanity project and capture its generated id.
- Create the first dataset inside the newly created project using its generated id.
- List the project's datasets to confirm the bootstrap completed.
What you'll need to have ready
- apiToken: Sanity management API token used as a Bearer credential.
- displayName: Human-readable name for the new project.
- organizationId: Optional organization id to associate the project with.
- datasetName: Name for the initial dataset to create in the project.
- aclMode: Access control mode for the initial dataset (public or private).
For your developer
Arazzo workflow sanity:bootstrap-project, 3 operations: createProject → createDataset → listDatasets. Specs on APIs.io.