Integrations
Publish articles to your Sanity.io content lake as structured documents using the Sanity client API.
post)production), API Token, and Document Type| Field | Description |
|---|---|
| Project ID | Your Sanity project ID, e.g. abc123de |
| Dataset | The dataset name, typically production |
| API Token | A write-scoped API token |
| Document Type | The schema type for blog posts (default: post) |
The API token must have Editor (write) scope. Viewer or read-only tokens cannot create documents. Re-create the token with the correct scope.
If articles don't appear in your studio, check that the dataset name matches exactly. Most projects use production, but some use custom names.
If your blog schema uses a type other than post (e.g. article or blogPost), enter that type name in the Document Type field. The document type must exist in your Sanity schema.