# Connect Sanity

> For AI agents: the index of these docs is at https://indrava.forumulate.com/help/llms.txt (every page it lists has a Markdown version like this one).

What you need to connect Sanity to Indrava, and what Sanity allows in a post.

<!-- Generated by scripts/channel-docs.ts from packages/providers. Do not edit by hand: edit the provider or the notes in the script. -->

## Connect

In Indrava, open **Channels**, choose **Connect a channel** and pick **Sanity**. Paste the following. Indrava checks the details with Sanity before saving, and stores them encrypted.

| What to paste | Needed | Notes |
| --- | --- | --- |
| Project ID | yes | sanity.io/manage → your project. |
| Dataset | optional | Example: `production` |
| API token | yes | sanity.io/manage → API → Tokens → Add API token, with the Editor permission. |

## Limits

- Publishes an article: a title and a body of up to 100,000 characters. Links in an article are never shortened.
- Media: up to 1 file per part.
- Images: JPEG, PNG, GIF, WEBP.
- Video: not accepted.

The composer shows the character count for each channel and names any file a channel will not take before you schedule.

## Settings on each post

When this channel is selected in the composer, these settings appear:

| Setting | Needed | Notes |
| --- | --- | --- |
| Document type | optional | Left empty, post. Chosen from a list read from the platform. |
| Title | yes |  |
| Slug | optional | Example: `my-post` |
| Excerpt | optional |  |
| Body field | optional | The document type's block content field. Left empty, body. Example: `body` |
| Image field | optional | Where the post's picture goes. Left empty, mainImage. Example: `mainImage` |
| Status | optional | One of: published, draft. |

## What else works

- One part only: this channel has no threads or comments to put later parts in.
- Formatting: the composer offers Markdown for this channel.
- Analytics: Indrava does not read post numbers from this platform.

## Good to know

- Not yet run against a real Sanity account: this connection was written from Sanity's own documentation and tested against recorded answers only. Try it with one post you can delete before you rely on it.

---

## For AI agents

- This page for a human reader: https://indrava.forumulate.com/help/connect-sanity
- The whole space as one Markdown file: https://indrava.forumulate.com/help/llms-full.txt
- Live search + fetch over MCP: https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/mcp
  - Install (Claude CLI): `claude mcp add forumulate-docs --transport http https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/mcp`

This Markdown is the same content the page renders — safe to quote and to ground answers in.
