> ## Documentation Index
> Fetch the complete documentation index at: https://help.os.translated.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up the Sanity Studio connector

> Installing and configuring the plugin

For Sanity developers.

**1. Install the plugin**

Get `sanity-plugin-tos` from the NPM registry and follow the configuration instructions in the package.

The plugin configuration controls which schemas show the TranslationOS tab, so decide which document types are in scope before you start.

**2. Send Translated your details**

Translated needs:

* An editor token
* Your dataset name
* Your project ID
* Your configured language codes

Translated sets up the language code aliases and completes the configuration on their side. See [Language codes](https://help.os.translated.com/reference/language-codes.md).

**3. Agree service types**

Agree at least one service type. It determines workflow, cost, and turnaround under your service level agreement. See [Service types](https://help.os.translated.com/reference/service-types.md).

**4. Decide what to exclude**

Before going live, go through your schemas and set `exclude: true` in `tosProperties` on any field that should never be translated. The setting applies recursively to objects.

> [!WARNING]
>
> Exclusions are worth doing carefully. The `hidden` and `readOnly` properties do not affect what is sent, so a field invisible to editors is still translated and still billed unless you exclude it explicitly.

## Testing

Ask Translated for sandbox mode. Test with a document that has nested objects, arrays, and references, since those are where schema assumptions break rather than on a flat document.

## Support

* General questions: `info-tos@translated.com`
* Technical questions and onboarding: `api@translated.com`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.