IntegrationsContent management

Sanity + SKYA

Draft into a Sanity dataset from the action plan, with a write token you create in Manage.

SKYA

Overview

Writes a content fix straight back into the system that publishes it, so shipping a change is not an export, an edit and an import.

AI crawler tracking on a Sanity site

Counting AI crawler visits needs the server or CDN logs for the domain, which Sanity does not hand out and no vendor can read from a content API. That is a property of where the site is served, not of the CMS, so put the domain behind Cloudflare and the visits are counted while publishing keeps working here.

Set up Cloudflare

How it works

  1. 1In sanity.io/manage, open the project, then API, then Tokens, and add a token with Editor permissions.
  2. 2In SKYA, choose Sanity under Connect your site, paste the project id, the dataset name and the token, and name the document type (post by default).
  3. 3Publish to site creates a draft document of that type; open the Studio, review it under drafts, and publish.

Where to find what Sanity asks you for

Token
sanity.io/manage, your project, API, Tokens, Add API token.
Permission it needs: Editor. Viewer tokens cannot create documents, and Deploy Studio tokens are for something else.
Project id and dataset
The project id is in the URL and on the project overview; the dataset is under Datasets, usually production.

Key benefits

  • Draft a post into your Sanity dataset from the action plan, as Portable Text the Studio opens straight away.
  • Every piece lands as a draft in your own editor, so nothing goes live from SKYA and nothing needs pasting.
  • The draft keeps its title, slug, excerpt and the reason it was written, so review takes a minute, not a rebuild.

You might also need

See what AI says about you

Start free for 7 days. No card, and every number on the first screen says what it is built on.