Skip to main content
The Claude add-in for Google Docs, Google Sheets, and Google Slides keeps chat history and the user’s Claude sign-in in the browser where the user opens it. Each conversation is sent to Anthropic under the user’s Claude account. A conversation includes content from the open document. The add-in does not upload the document file.

What the browser keeps

The add-in runs in the editor’s sidebar, inside the user’s browser. The sidebar is served from pivot.claude.ai, and the add-in stores its data in the browser profile’s site data for that address, on that device. This data does not sync between browsers or devices, and the add-in does not back it up. What Anthropic keeps is described in What Anthropic receives and keeps. The add-in keeps its data in three IndexedDB databases, in local storage, and in session storage. It also creates a fourth database, claude-mcp-gateways, which stays empty for a Claude account. The table below lists each store and what it is scoped to. Google Docs, Google Sheets, and Google Slides share the databases and local storage within one browser profile. Each editor keeps its own history list.

What does not share the add-in’s storage

Current versions of Chrome, Edge, and Safari keep the storage of an embedded page separate for each top-level site, which is the site shown in the address bar. The add-in is embedded in pages on docs.google.com, so its storage is separate from the same browser’s storage for other sites. The following do not share storage with the add-in:
  • The Claude app in a browser tab, even in the same browser profile.
  • Claude for M365, on the desktop or on the web.
  • A different browser, browser profile, or device. Each one starts empty.

When the browser clears the data

Browsers treat the add-in’s storage as third-party site data. The data is removed in these cases:
  • The user clears cookies and site data.
  • The user opens the editor in a private window and closes the window.
  • The browser runs short of storage space and removes the add-in’s data to free it.
  • A browser policy clears browsing data.
In Safari, the sign-in and chat history may be lost when the browser quits. If the browser refuses to store site data for the add-in, the user has to sign in each time the sidebar opens, and chat history is not kept. Treat chat history in the add-in as temporary.

Sign-in and credentials

Users sign in to the add-in with a Claude account. The add-in offers no other way to sign in. The saved Claude sign-in is in local storage under the key claude.inference.profile. It holds an access token, a refresh token that lets the add-in renew access, and the account’s ID, email address, and organization. The saved sign-in is stored unencrypted. Chrome and Edge write it to disk in the browser profile’s folder, so any program or person that can read the files of the user’s operating system account can read it. Within the browser, the saved sign-in belongs to the browser profile, not to a Google account. Anyone who uses the same browser profile uses the same Claude sign-in, whichever Google account is open in the editor. Give each person their own browser profile. Signing out deletes the saved sign-in from the browser. The add-in then asks Anthropic to revoke the sign-in, so that it cannot be used to get new access tokens. The add-in sends this request once and does not try again if it fails, for example because the device is offline. Signing out also leaves chat history, installed skills, and settings in the browser. The settings include the instructions saved for Claude. The add-in does not show this chat history to another Claude account that signs in on the same browser profile, but the history stays in the profile’s site data. That account can use the installed skills, and the add-in sends the saved instructions with that account’s messages. Earlier versions of the add-in also let users sign in through a cloud provider, such as Vertex AI or Amazon Bedrock, or through a gateway that their organization runs. If the browser still holds one of these sign-ins, the add-in asks the user to sign out and does not open a chat. Until the user signs out, that sign-in stays unencrypted in local storage under the same key, claude.inference.profile. It can include the user’s credentials for the cloud provider or gateway. The add-in can still use those credentials to contact the cloud provider or gateway, for example to renew the sign-in or to list the available models. It does not send conversations or document content there. Signing out deletes these credentials from the browser but does not revoke them.

What Anthropic receives and keeps

The add-in sends each conversation from the browser to the Claude API, using the signed-in user’s Claude account. A conversation includes the following:
  • The messages the user writes and Claude’s responses.
  • The instructions saved for Claude in the add-in’s settings for the current editor, which the user writes or approves. The add-in keeps them in the browser profile, not with the Claude account, and sends them with every message.
  • The name and description of each skill that is turned on, including skills saved only in this browser. If the Claude account has plugins, the add-in also sends each plugin’s name and description and the names of its skills and connectors. When Claude uses a skill, the add-in also sends the skill’s instructions and Markdown files, up to 200,000 characters each time Claude reads it, and the names of its other files. If the organization’s Claude settings turn skills off, the add-in sends none of this.
  • Content from the open document, which the add-in sends without Claude asking for it. The next section lists this content for each editor.
  • More of the document, when a request needs it.
  • Files the user attaches. The add-in uploads them to Anthropic under the same account, unless code execution is off.
  • Requests that Claude makes to connectors enabled in the user’s Claude account. These pass through Anthropic, and the connector’s service receives what Claude sends it, which can include content from the document.
  • Web searches and page fetches that Claude makes. Anthropic carries them out: the search terms go to Anthropic’s search provider, and each page that Claude fetches is requested from its website. Web search and web fetch are on by default. The user can turn both off by selecting the + button at the bottom of the message box, then “Search the web”. They are also off when the organization’s Claude settings turn off web search.
  • Code that Claude runs in an environment at Anthropic. The add-in loads each file the user attaches, other than images, into that environment. Code execution is on unless the organization’s Claude settings turn off “Code execution and file creation” or the add-in can’t read those settings. Turning off web search does not turn it off. While it is off, the add-in keeps attached files in the browser, and Claude can see only attached images.

Document content sent with each conversation

The add-in sends an overview of the document, and the user’s selection, with the conversation. The content depends on the editor:
  • Google Docs: the document’s name and its tab names. For the open tab, its headings, the text of its header and footer, and its body text. The whole body is sent for a short document, and the beginning of the body for a longer one. When the selection is inside one paragraph, the selected text and the rest of that paragraph are sent.
  • Google Sheets: the spreadsheet’s name, the name and size of each sheet, and, for a sheet connected to BigQuery, the IDs of its project, dataset, and table. Also the name of the active sheet and the addresses of the selected cells.
  • Google Slides: the presentation’s name, each slide’s title and speaker notes, and which slides are selected.

Retention

Anthropic stores the messages in these conversations under the signed-in account’s organization. Anthropic’s data retention terms for that organization’s plan apply to them. Retention periods that you set for chats in the Claude apps do not apply to the messages, because they are not Claude app chats. They do not appear in the user’s conversation list in the Claude apps. Anthropic keeps the data in the code execution environment for up to 30 days. This data includes the files that the add-in loads into the environment, web pages that Claude fetches, and the output of the code that Claude runs. Anthropic also stores each attached file separately, with the expiry that the next paragraph describes. Each file that a user attaches expires 28 days after the add-in uploads it. If the Claude API does not accept an expiry for the user’s organization, the add-in uploads the file with no expiry. The add-in does not delete files itself. Earlier versions of the add-in set no expiry on the files they uploaded. The add-in started setting an expiry on September 15, 2026. Anthropic keeps code execution data and attached files for these periods even if the organization has zero data retention. Zero data retention for Claude Code does not cover the add-in. See the feature eligibility table in the Claude API documentation.

Ratings

The add-in does not currently let users rate Claude’s responses, so it sends no ratings. Until September 29, 2026, users could rate responses. The add-in sent ratings through its server, which forwarded them to Anthropic’s event logging service from September 18, 2026, and to Segment until September 23, 2026.

The add-in’s server

The add-in’s own server, at pivot.claude.ai, serves the add-in’s pages and forwards usage events and diagnostic data. It does not receive conversations. In Google Slides, when Claude searches for an icon, the search words go through that server to Microsoft’s icon library. The request to Microsoft does not include the user’s account or email address.

Usage data and error reports

The add-in also sends the following:
  • Usage events. These include the Claude account ID, the organization ID, the device identifier, and details of the browser and device. They go through the add-in’s server to Anthropic’s event logging service.
  • Error reports. These go to Sentry, an error-reporting service. They include the account ID, the type of error, where in the add-in’s code it happened, the add-in’s version, the editor, other details about what failed, such as IDs and counts, and, when a tool fails, the tool’s name and the kind of failure. They also list the hosts the add-in contacted and the sidebar pages visited before the error. Before sending a report, the add-in removes the error text and a failed tool’s input from the fields known to carry them. The filter matches field names, so it does not remove such text from a field it does not name. Until October 2026, error reports also included the text of the error, which could include text from the conversation or the document.
  • Diagnostic traces and logs. These go to Anthropic’s telemetry collector. For customer accounts, traces do not include the account’s email address or ID. An administrator of the organization can set an OpenTelemetry collector in the Claude admin console, under “Data and privacy”, in the “Office agents” monitoring setting, which also covers this add-in. Once the add-in has loaded that setting, it sends traces and logs to that collector instead of to Anthropic’s, with their full content. That content includes the user’s messages, tool inputs and outputs, error messages, the names of attached files, the connectors in use, the organization ID, and the user’s email address and account ID. Tool inputs and outputs, and error messages, can include text from the document. If the add-in refuses the collector’s address, as Address format describes, it sends traces and logs to neither collector.
  • Feature-flag requests. These go to claude.ai, which decides which features the add-in shows. They include the account’s email address, its ID, the organization ID, the device identifier, the editor, whether the account has a Pro or Max plan, and whether the organization is on a Team or Enterprise plan. They also carry the user’s Claude access token, which identifies the account.
  • Experiment assignments. Anthropic runs some features as experiments, in which different users get different versions. When the add-in checks one of these features, it sends the experiment’s ID and the user’s version from the browser to Anthropic’s event logging service. The request includes the device identifier, the organization ID, and the user’s Claude access token, which Anthropic can use to identify the account. The add-in also sends the same experiment ID and version as a usage event.
  • Request metadata. Each request that sends messages to Claude carries the account ID, the device identifier, and the editor the request came from. A request for a turn of the chat also carries the chat’s ID. A helper request, such as one that summarizes a long conversation or reviews a script that Claude wrote, carries the kind of helper request and the date instead.
  • Usage counts and timings. Every minute, the add-in sends counts and timings to Anthropic’s telemetry collector at pivot.claude.ai, where the add-in also sends diagnostic traces. They count events such as requests, tool runs, and skill reads, with whether each succeeded and how long it took. They are labelled with the editor and with details of each event, such as which built-in tool ran, and most are also labelled with the operating system and the browser. When the browser refuses to save a chat for lack of room, one of them also carries how much the add-in has stored in the browser, in broad ranges. They never record the account, the organization, or the device. They go to Anthropic even when an administrator has set an OpenTelemetry collector.
Anthropic can turn off third-party analytics for an organization, for example one with zero data retention. Once the add-in has loaded the organization’s settings, it stops sending usage events, which go to Anthropic, and error reports, which go to Sentry. Turning off third-party analytics does not stop the following:
  • Diagnostic traces and logs.
  • Usage counts and timings.
  • Feature-flag requests.
  • Request metadata.
  • The experiment assignments that the browser sends straight to Anthropic’s event logging service.
It does stop the add-in from also sending each experiment ID and version as a usage event. For such an organization, the add-in still sends the following:
  • Usage events and error reports from before the add-in loads the organization’s settings, such as those during sign-in.
  • A short session record that Sentry receives each time the sidebar starts. The record can identify the signed-in account.
Until September 23, 2026, the add-in’s server sent usage events and ratings to Segment, a third-party analytics service. These included the text of rating comments and any job role a user typed during onboarding or in a later survey. The add-in’s Google Apps Script project also writes log entries to a Google Cloud project that Anthropic owns. See What the add-in stores and logs in Google.

What the add-in stores and logs in Google

The add-in has a second part that runs in Google: a Google Apps Script project that reads and changes the open document when Claude needs to. Claude can also write a short script that this project runs in the open document, with the same permissions. The project’s Google permissions let it read and change the document the add-in is open in. Two features, native Google charts in Google Slides and auto-open, use wider permissions, described in Wider permissions. The project does not ask Google for access to other Google Docs or Google Slides files. Google’s list of permissions for Claude also includes, by default, permission to see the user’s email address and personal info. The project itself does not ask for these. Google stores one value for the add-in with each document in which someone has opened the sidebar from the add-in’s menu. The value is kept outside the document’s content and does not identify anyone. When a user installs the add-in from that document, the sidebar opens for them. In Google Sheets, session logging is a setting that writes conversation summaries into the spreadsheet. It is off by default, and a user turns it on in the add-in’s settings or by asking Claude. While it is on, Claude keeps a sheet named Claude Log as the first tab of the spreadsheet and adds a row for each exchange, with a summary of what the user asked and what Claude did. That sheet is ordinary spreadsheet content and stays until someone deletes it.

Wider permissions

Two features, native Google charts and auto-open, need the permissions below. These features are not yet in the versions that customers use.
  • Native Google charts in Google Slides: spreadsheets and spreadsheets.readonly let the project read and change any spreadsheet the user can open, and create spreadsheets in the user’s Drive. Google describes spreadsheets as permission to “See, edit, create, and delete all your Google Sheets spreadsheets”.
  • Auto-open in Google Sheets and Google Docs: script.scriptapp lets the project create Google triggers, which run code without the user starting it. The add-in uses it to open the sidebar when a file opens.
Google may ask for these permissions even when a user does not have the features. Users may have to go through Google’s permission screen before Claude opens. If a user cancels the screen, Claude does not open. The screen can also list the permissions that Claude needs to work in the open file, and Claude cannot work without those. If Claude opens for a user without the wider permissions, auto-open stays off and charts in Google Slides are pictures. Google’s consent covers all three apps, so treat a permission granted in one as granted in all three. A granted permission can reach more than its feature uses. Once a user has granted these permissions, assume that a script Claude writes, in any of the three apps, could read, change, or delete any spreadsheet the user can open, or create spreadsheets or triggers. The checks that the add-in runs before each script do not stop everything. When Claude adds a native Google chart in Google Slides, the add-in creates a spreadsheet in the user’s Drive, which stays until someone deletes it. It also saves the chart’s data and settings in Google’s storage for that user. The add-in does not delete either when a user uninstalls it.

Auto-open

Auto-open opens the sidebar when a file opens. It is off until a user turns it on in a file. Where the add-in offers the setting “Auto-open Claude in files you use”, that setting turns it on in the files where the user opens Claude. To turn it off in a file, use the add-in’s Auto-open settings menu item. Each file where auto-open is on has a Google trigger that runs with that user’s permissions when they open the file, and also when someone else opens it. The trigger does not read the file’s content. Claude does not load for that other person unless they have also turned on auto-open for that file. The add-in keeps these entries in Google’s storage for that user and does not send them to Anthropic.
  • A temporary ID from Google, which changes about once a month. It tells that user from other people who open the file.
  • When that user last opened a file where their auto-open is on, to within an hour.
  • The files where auto-open stays off. For files the setting turned on, the last time it did so or the sidebar opened there.
Google also adds an ID of this kind to each log entry in Anthropic’s project. When the user turns auto-open off in their last file in that app, the add-in deletes the ID and the last-opened time. The entries for each file do not expire. The add-in does not delete any of these entries or the triggers when a user uninstalls it. To remove the triggers, turn auto-open off in each file before uninstalling.

Log entries

The Apps Script project writes log entries to Google Cloud Logging, in a Google Cloud project that Anthropic owns. The entries record the following:
  • Which operation ran, how long it took, and whether it stopped with an error. In Google Sheets, some of these entries also record how many sheets the spreadsheet has.
  • The result of the check that the add-in runs before each script Claude writes, when a script fails the check. The script does not run, and the entry does not include it.
  • The kind of error when an operation fails, such as a timeout, or TypeError for some Google Docs operations, and for some errors a short code computed from the error message. The entry does not include the message itself.
  • A random ID for most requests from the sidebar. The add-in sends the same ID with some usage events, which include the Claude account ID, so Anthropic can match the two.
  • For auto-open:
    • What each run of a trigger did, and the type of error if it failed.
    • Whether the person who opened the file turned auto-open on.
    • Whether auto-open is on, and attempts to change it and their results.
    • Counts of the user’s triggers for the add-in.
  • Whether the user lacks the permissions for auto-open or native Google charts, or Google can’t say which permissions they have.
These entries do not include text from the document. When an operation fails, its error message can include text from the document. The project is set so that Google does not write error messages to Cloud Logging. The add-in also gives scripts that Claude writes logging functions that discard their output. The add-in does not add the user’s name or email address to these entries. Google labels each entry with a temporary ID for the user, of the same kind that auto-open saves.

Delete chat history

Each user deletes their own conversations in the sidebar. Select the “More options” button at the top of the sidebar, then “Settings”. Under “Chat history”, select “Delete all”, then “Delete”. This removes every saved conversation for that Claude account and organization in the current editor, and starts a new chat. The add-in also limits what it keeps in the browser, as the table below shows. There is no expiry by age, and you cannot set a retention window for chat history in the browser. Deleting chat history in the add-in does not delete the messages or the attached files that Anthropic keeps.

Manage permissions as an administrator

If you installed the add-in for your organization, the Google Admin console may show its data access as “Partially granted”. Google shows this when an app has asked for more permissions since you installed it: here, one or more of the wider permissions for native Google charts and auto-open. Read that section before you grant them. You can choose not to grant them. Your users may then have to go through Google’s permission screen before Claude opens. If a user cancels, Claude does not open for them. If Claude opens without the wider permissions, auto-open stays off and charts in Google Slides are pictures. Two of the wider permissions, spreadsheets and spreadsheets.readonly, are high-risk Drive scopes. If your organization restricts these in “API controls”, Google may block the add-in for your users until you set every client whose ID starts with 12459801340- to “Trusted”, or to “Specific Google data” with all its scopes. To grant the wider permissions, follow Google’s steps. In the Google Admin console, go to Menu, Apps, Google Workspace Marketplace apps, Apps list. Select Claude, then select “Grant access” in the “Data Access” section. A grant covers only the permissions that Google lists there at that time, so check that the wider permissions are listed. Once they are, you can grant them before the features are available. Treat a grant as covering at least every user you installed the add-in for. A grant that includes the wider permissions should let those users skip Google’s permission screen. The page below covers the same topics for the Microsoft 365 add-ins.