> For the complete documentation index, see [llms.txt](https://learn.squirrel365.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.squirrel365.io/the-designer/tufty-ai/tufty-ai-and-your-data.md).

# Tufty AI and your data

Block spreadsheet cells, ranges and sheets from Tufty AI so it never sees private data, and find out what is protected.

{% hint style="info" %}
Tufty AI is currently in Early Access. Some features may still change while we gather feedback.
{% endhint %}

Tufty AI works with the real data in your project, which is a big part of what makes it useful. Some of that data, though, may be commercially sensitive, personal, or covered by a policy that says it must not be shared with an AI service. You can block any cell, range or sheet in your spreadsheet from being sent to AI. Blocked data is never sent to Tufty's AI provider, and Tufty cannot change it.

## What Tufty AI can see

To carry out your requests, Tufty sends your instructions and the content of your project, including the data in your spreadsheet, to a third-party AI provider. Your content is used only to produce your result and is not used to train the provider's AI models. Blocking lets you decide what stays behind.

Some data is always blocked, without you having to do anything. Passwords, API keys, tokens and other credentials in your connections and functions are never sent to Tufty. These fields show a shield icon in the property panel, and they cannot be unblocked.

### Blocking cells or a range

1. Open the spreadsheet.
2. Select the cell or range you want to protect.
3. Right-click and choose **Block from AI**.

Blocked cells are shaded with grey stripes so you can see at a glance what is protected. Both the values and any formulas in those cells are withheld from Tufty.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLBGzn2hXrIMe50klQCv%2Fuploads%2FiUMGKSq5kHDFhSkJ0v0O%2FBlock%20range%20from%20AI.mp4?alt=media&token=23189b95-e646-4e88-9644-3dab5fd26634>" %}

The blocking options only appear if Tufty AI is enabled on your account.

### Blocking a whole sheet

To block everything on a sheet, right-click the sheet tab at the bottom of the spreadsheet and choose **Block from AI**. The whole sheet is shaded with grey stripes.

Blocking a sheet is the simplest option when all of its data is sensitive. Anything you add to the sheet later is covered too.

<figure><img src="https://911720298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLBGzn2hXrIMe50klQCv%2Fuploads%2FyCSnwlNNuOkKGpNfB9lf%2Fimage.png?alt=media&amp;token=67435384-ff04-4be2-a19f-82d502eded32" alt="" width="375"><figcaption></figcaption></figure>

### Unblocking data

To unblock a cell, range or sheet, right-click it and choose **Unblock from AI**. The grey stripes disappear, and Tufty can see and change that data again.

<figure><img src="https://911720298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLBGzn2hXrIMe50klQCv%2Fuploads%2F0yfqBFqo1OiNwyUGRVZb%2Fimage.png?alt=media&amp;token=6f164e06-bcb0-4cf4-a194-dc37259bc69b" alt="" width="375"><figcaption></figcaption></figure>

#### Seeing everything that is blocked

To review everything you have blocked in one place:

1. Open the **View** menu and choose **View AI blocks**.
2. The **Data Blocked from AI** window lists every blocked sheet and range in the project.

To unblock everything at once, click **Clear all**, then click **Unblock all** to confirm. Click **Close** to return to your project.

<figure><img src="https://911720298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLBGzn2hXrIMe50klQCv%2Fuploads%2Fz8SbjBzi2bCQ3PQWTZzV%2Fimage.png?alt=media&amp;token=f3a49a6d-68f3-497e-94e7-f4fedf783420" alt="" width="563"><figcaption></figcaption></figure>

### How Tufty AI behaves around blocked data

Tufty knows that blocked data exists, but never sees what is in it. This means it can work around your blocked cells rather than guessing at their contents.

* **Tufty will not change blocked data.** If you ask it to edit a blocked cell, it tells you the cell is blocked. It may make the change in a different cell instead, so check where the change has landed.
* **Tufty can bind components to blocked cells.** Binding only connects a component to a cell, so Tufty can do this without ever seeing what the cell contains.
* **Properties bound to blocked cells are protected too.** If a component property is bound to a blocked cell, the property shows a shield icon in the property panel and its value is not sent to Tufty.
* **Support packages leave blocked data out.** When you generate a support package to report a bug, blocked data and credentials are removed from it. See Using Tufty for how to report a bug.

### What blocking does and does not cover

Blocking stays with your data as you work. It is saved with your project, so it is still in place when you reopen it. If you insert or delete rows and columns, the block moves with the data it protects. If you duplicate a blocked sheet, the copy is blocked too.

There are a few things blocking does not do:

* **Cells calculated from blocked cells are not blocked automatically.** Tufty can still see their values unless you block them as well.
* **It does not reach back into earlier conversations.** Blocking applies from the moment you set it. Anything shared with Tufty before then has already been sent.
* **It only applies to Tufty.** Blocking does not change what viewers see in your published app, and it does not apply to the AI Chat or AI Query Builder components.

{% hint style="warning" %}
If a cell's formula uses a blocked cell, for example `=A1*1.2` where A1 is blocked, the result in that cell is not protected. Block any cells that would reveal your sensitive data through their results.
{% endhint %}

## Turning Tufty AI off

If you or your organisation would rather not use Tufty at all it can be turned off entirely. Contact [support](mailto:support@squirrel365.io?subject=Disable%20Tufty%20AI) to request this.&#x20;

## Tips and common uses

* **Block before you start chatting.** Data shared in a conversation before you block it has already been sent, so set up your blocks first.
* **Keep sensitive data on its own sheet.** It is easier to block one sheet than to track lots of separate ranges, and anything you add to that sheet later is covered automatically.
* **Check your calculated cells.** Look for summary or total cells that are worked out from blocked data and block those too.

For full details of how your data is handled, see the [Privacy Policy](https://squirrel365.io/privacy-policy/) and the [Terms of Use](https://squirrel365.io/terms-of-use/).
