Find your Project ID
Every call is scoped to your project. After you sign in you land on the organization dashboard, which lists all of your projects.
Copy your Project ID
Sign in at sanity.io/manage. From the organization dashboard (which lists all your projects), click your project to open it.
- From the organization dashboard at sanity.io/manage, click your project to open it
- No projects yet? Click + New project in the project selector dropdown at the top of the page to create one first
- Copy the Project ID shown on the project’s overview / settings page (e.g.
abc12xyz) - Alternatively, read it straight from the browser address bar while inside the project:
sanity.io/organizations/<org>/project/<projectId>/...— the value after/project/is your Project ID
Create a project API token
Tokens are created per project under the API tab.
Open the project's API > Tokens
Tokens are created per project.
- In sanity.io/manage, select your project from the organization dashboard to open it
- Go to the API tab, then Tokens
- Click Add API token
Name the token, set expiration and pick a permission
The permission is single-select. To use ALL actions in this connector, choose Developer.
- Enter a Name (e.g.
StackOne Integration) and set Expiration (No expiration for a long-lived integration) - Developer ← recommended — grants access to every action in this connector (read+write all datasets, manage datasets/tags/projects, and access-control reads + invites)
- Editor — content + assets only (cannot create datasets) — least-privilege for content authoring
- Viewer — read-only actions only
- Click Save
Which permission to select (by resource / operation)
Developer is sufficient for every action in this connector. Pick a lower
permission only if you want to restrict the connection to fewer actions:
- Developer — ALL actions: documents (read + mutate), assets, datasets (incl. create/delete), tags, projects, invites, and access-control reads (users/roles/permissions/requests)
- Editor — content + assets read/write, but cannot create datasets or manage tags/projects
- Viewer — read-only: query/get documents, export, list datasets/projects/tags/roles/users, etc.
- Note: a few actions are marked
previewand additionally require a Business/Enterprise plan (tag writes, dataset copy) or a Media Library (link asset) — but no token permission higher than Developer.
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- API Token
- Project ID
If the account linking is successful, you will see the newly linked account in your Accounts page.