What You Can Do
Live content access
Read documents, schemas, and assets across your Sanity datasets so Gradial always works with real content rather than static exports.
Content authoring
Create and update documents. Publish and unpublish content. Run bulk update workflows with validation.
Asset management
Upload and manage images and file assets alongside content work.
In-context previews
Preview content before publishing when a preview URL is configured for your Sanity Studio.
Prerequisites
Before connecting Sanity to Gradial, make sure you have:- Access to the Sanity management console (sanity.io/manage) with permission to create API tokens
- Your Sanity Project ID (visible in the project overview)
- The dataset name Gradial should use (commonly
production) - A Gradial organization Administrator role to complete setup
How to Connect
Create a Project API token in Sanity
- Sign in to sanity.io/manage and open your project.
- Go to API → Tokens and click + Add API token.
- Give the token a descriptive name (e.g.,
Gradial Integration). - Set the Permissions to Editor — this grants read and write access to all datasets, with limited access to project settings.
- Click Save and copy the token immediately — it is only shown once.
Locate your Project ID and dataset name
Your Project ID appears on the project overview page in sanity.io/manage. The default dataset is typically named
production — confirm the dataset name under Datasets in the same project.Add the integration in Gradial
- In Gradial, go to Settings → Integrations.
- Find Sanity and click + Add.
- Fill in the connection details:
| Field | Value |
|---|---|
| Integration Name | A display name (e.g., My Sanity Connection) |
| Project ID | The Project ID from your Sanity project overview |
| Dataset | The dataset name (e.g., production) |
| API Token | The Editor token generated in Step 1 |
- Click Save. Gradial validates the connection and uses the specified dataset in all downstream workflows.