Sanity CMS
Connect Sanity to ask about your content, blog posts, assets, and drafts.
How do I connect Sanity?
You'll need three things:
- Project ID — found in Sanity Manage at the top of your project dashboard
- Dataset — usually
production (this is the default)
- API token — create one in Sanity Manage → API → Tokens. A "Viewer" token with read-only access is enough.
Then in Novica, go to Integrations, click Connect on the Sanity card, fill in the details, and click Connect.
What can I ask once Sanity is connected?
- What blog posts did we publish this month?
- Is there any content still in draft?
- Show me all product pages updated in the last week
- What content types are in my schema?
- List all documents of type "article"
- How many assets do I have in total?
Where do I find the Project ID?
- Go to sanity.io/manage
- Click on your project
- The Project ID is displayed at the top of the dashboard (a short alphanumeric string)
How do I create an API token?
- In Sanity Manage, go to your project → API tab → Tokens
- Click Add API token
- Name it something like "Novica"
- Set permissions to Viewer (read-only)
- Copy the token — you won't be able to see it again
I'm getting an "Unauthorized" error
- Make sure the token has at least Viewer permissions
- Check that the token is for the correct dataset — a token scoped to "staging" won't work with the "production" dataset
- Verify the Project ID is correct
Can Novica edit or publish my content?
No. With a Viewer token, Novica has read-only access. It can query and list content but can't create, edit, or publish anything.