Skip to main content

Installation

Initialize a new Sanity Project

Create a new project

npm create sanity@latest

Install the Dashboard plugin from Sanity

if @sanity/dashboard has not been installed.

npm i @sanity/dashboard

or

yarn add @sanity/dashboard

Install Repos to Sanity Widget

npm install repos-to-sanity @octokit/graphql @sanity/client @tanstack/react-query
or
yarn add repos-to-sanity @octokit/graphql @sanity/client @tanstack/react-query