Connect your Sanity CMS project with our AI-driven platform to automate content publishing and maximize efficiency
100%
Integration Coverage
3-Step
Simple Setup
Auto
Image Handling
24/7
Support Available
Understanding the Sanity CMS integration process
Enter your Sanity project credentials to establish a secure connection with our platform
Configure which Sanity document types correspond to content created in our platform
Generate or create content within our platform with AI assistance or manual editing
Send your content to Sanity with a single click or through automated publishing workflows
Our platform automatically syncs with your Sanity schema, ensuring that all published content follows your defined structure. We support Portable Text format for rich content, references for related documents, and proper image asset handling.
Learn more about setupSanity is a flexible, headless Content Management System (CMS) that separates your content from how it's presented. Our platform integrates directly with Sanity, allowing you to:
Publish AI-generated content directly to your Sanity CMS with just a few clicks
Content is published with proper schema mapping for your Sanity document types
Automatic image uploading and reference creation in your Sanity project
Follow these steps to connect your Sanity CMS project
If you don't already have a Sanity project, you'll need to create one:
Sanity offers a free tier that works perfectly with our integration. For more information, see the Sanity documentation .
To connect our platform with your Sanity project, you'll need the following credentials:
Your unique Sanity project identifier
Find this in your Sanity dashboard or in the
sanity.json
file of your
project.
The dataset you want to publish to (usually "production")
Default is "production" but you may have created custom datasets.
A token with write permissions
Create a new token in your Sanity dashboard under API > Tokens. Ensure it has at least "Editor" level permissions.
Keep your API token private! It provides write access to your content.
Once you have your Sanity credentials, connect them to our platform:
After connecting, the system will automatically detect document types from your Sanity schema, making them available for selection when publishing content.
Select which Sanity document types you want to use for publishing:
Standard document types include:
Standard blog posts with title, content, and image fields
Longer-form content with more structured sections
Website pages with flexible content blocks
Resource content with additional type options
If you're using custom document types in your Sanity schema, these will also be loaded and available for selection.
Learn how to publish content to your Sanity CMS
After generating content, you can publish it to Sanity with just a few clicks:
Example JSON structures for Sanity documents
Here's how a typical blog post would be structured when published to Sanity:
{ "_type": "post", "title": "10 SEO Strategies for E-commerce Websites", "slug": { "_type": "slug", "current": "10-seo-strategies-for-e-commerce-websites" }, "publishedAt": "2023-05-15T10:30:00Z", "mainImage": { "_type": "image", "asset": { "_ref": "image-a1b2c3d4e5f6g7h8i9j0-1200x800-jpg" }, "alt": "E-commerce SEO strategies illustration" }, "body": [ { "_type": "block", "style": "normal", "children": [ { "_type": "span", "text": "Implementing effective SEO strategies is crucial for e-commerce success..." } ] }, // Additional content blocks... ], "categories": [ { "_ref": "category-seo" }, { "_ref": "category-ecommerce" } ] }
Common issues and their solutions
If you can't connect to your Sanity project:
If your document types aren't appearing:
If content fails to publish:
Our support team is available 24/7 to assist you with any questions or issues regarding your Sanity CMS integration.
Contact SupportStart publishing your AI-generated content to Sanity in minutes with our seamless integration