New Orchly MCP & API are live. Build custom workflows with your SEO & AI visibility data.

How to connect Sanity to Orchly

Connect Sanity with a project ID, dataset, and API token so Orchly agents can publish documents to your Sanity content lake.

Updated on June 13, 2026

Connecting Sanity lets Orchly agents publish documents straight into your Sanity content lake, so generated content lands in the same dataset your site reads from.

You’ll set it up under Settings → Integrations, on the Sanity card.

Connect Sanity

Sanity connects with three details from your project:

  1. In sanity.io/manage, open your project and go to the API settings.
  2. Note your Project ID and the Dataset you publish to (often production).
  3. Create an API Token with write (Editor) permissions and copy it.
  4. In Orchly, click Configure on the Sanity card and enter the Project ID, Dataset, and API Token.

Once saved, the Sanity card shows Connected, and its menu lets you reconnect or disconnect.

The token needs write access

A read-only token can’t publish. When you create the API token in Sanity, give it Editor or write permissions so Orchly can create and update documents.

What it unlocks

An agent with the publish ability can now create or update documents in your Sanity dataset. Because Sanity content is structured, make sure the document type you publish to has fields for the content you’re sending. See publish agent output.

Publishing writes to your dataset

An agent publishing to Sanity creates real documents in your content lake. Until you trust it, point it at Documents for review first.

Still need a hand?
Reach the team from inside the app, or get started free.
Start free trial