Sanity ChatGPT Integration
Connecting Sanity to ChatGPT means giving an assistant a narrow, revocable way into your own site, so that asking for a change in plain language actually changes something. This page explains how that connection is made for Sanity specifically, and where it stops.
How Sanity connects to ChatGPT
Sanity's Content Lake: GROQ for reading, the Actions API for writing drafts and publishing, and the Assets API for images. Nothing is installed in your project — there is nothing to install.
A token with Editor permissions, made at sanity.io/manage under API → Tokens. Editor is the lowest that can write; a Viewer token can only read. One website here is connected to one dataset, recorded when you connect it, so nothing can reach your other datasets by accident.
What is particular to Sanity
Sanity keeps your schema in your Studio code rather than in the project, so what we can offer depends on you: deploy it with "sanity schemas deploy" and we read your real content model, including types you have not used yet. Without that we can only list the document types that already have documents — which is true, and not the same thing, and we say which one you are looking at.
What the platform does not allow
Sanity is a content store, not a website, so three things other platforms offer are simply not here: menus, redirects and page-level search engine settings. Those belong to the site you built on top of Sanity, which we never see and will not pretend to manage. It also has no categories or tags of its own: if your articles are grouped, you built that, and we will not guess which of your reference fields means "tags".
Which assistants this works with
Any assistant that speaks the Model Context Protocol. That includes ChatGPT and Claude today. You connect your own account — there is no separate subscription to an AI provider through us, and your conversations stay with whichever assistant you already pay for.
Which versions it works with
Sanity
Sanity hosts the Content Lake, so there is no version on your side to match.
What matters instead is the schema in your dataset, which you define yourself.
Everything above describes what Sanity’s interface offers. None of it is marked verified yet, which in this product means exercised against a live installation with the date recorded.
Common questions
Do I need an OpenAI API key?
No. You connect the ChatGPT account you already have. Sanity AI Agent is the bridge between that account and your Sanity site; it is not an OpenAI reseller and does not need a key from you.
Can ChatGPT publish to my Sanity site without asking?
No. Work is created unpublished wherever the platform allows it, and publishing is a deliberate, separate step. Never changing a live site without authorisation is a rule the product is built around rather than a setting.
What happens if I revoke access?
The connection stops working immediately. The credential lives on your Sanity installation and is yours to withdraw at any time, without touching anything else on the site.
Getting started with Sanity AI Agent
Sanity AI Agent is not on sale yet. The product page tracks where it stands, and nothing is advertised before it works.