
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeYes, you're on the right track! If you're not seeing a 'Preview' option in Sanity Studio, it likely means the Presentation Tool hasn't been configured yet.
The Presentation Tool is a plugin that needs to be explicitly added to your sanity.config.ts file. Here's what you need to do:
1. Make sure you're running Studio v3.40.0 or later:
npm install sanity@latest2. Add the Presentation Tool plugin to your config:
import { presentationTool } from 'sanity/presentation'
export default defineConfig({
// ... other config settings
plugins: [
presentationTool({
previewUrl: {
previewMode: {
enable: '/api/draft-mode/enable',
},
},
}),
],
})3. Set up your frontend to handle preview mode: You'll also need to implement Visual Editing support in your frontend application. This involves:
/api/draft-mode/enable endpoint referenced above)The specific implementation depends on your framework. Sanity has guides for Next.js, Nuxt.js, SvelteKit, and React Router/Remix.
Once configured, you'll see the Presentation Tool option appear in your Studio's top toolbar, giving you that live preview with click-to-edit functionality!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store