# Subprocessors

> The companies that handle Excellent for teams data for us, what each one can see, and what none of them can.

A subprocessor is a company that handles team data on our behalf. For Excellent for teams there are three, and a fourth place that is empty today.

| Subprocessor | What we use it for | What it holds |
| --- | --- | --- |
| Cloudflare | Workers run the team service. R2 stores the encrypted objects. D1 holds the team's records. | See below. |
| Stripe | Billing for the team's plan. | The payer, the card, the plan and the invoices. |
| Vercel | Hosts excellent.so, including the team web admin at /teams. | See below. |
| Resend | Sends alert emails to the one address an owner or admin adds. | That address, and each message: a short device id, its status in plain words and when. No person, repo or content. |

## What Cloudflare holds

- **R2** holds encrypted objects: sessions, cards and journals sealed on the member's Mac. We and Cloudflare hold no key that opens them. File names, paths, repo names, agent names and member display names are inside the encryption.
- **D1** holds the team's structure: member ids, roles, read levels, device ids and device names, public keys, when each device last wrote and how much, the signed heartbeats, the audit log, and the alert address if the team sets one. It also holds the team's signed history (the ledger: every membership, role and rules entry, with the sealed parts still sealed), the addresses of the health webhook and the audit stream and their secrets (the secrets are encrypted under a key held by the service), which session ids exist and when each was opened and by which device, the changes waiting for a second owner's approval (their rule text sealed), web admin sign-in codes and sessions (stored only as hashes), and invites.
- **Workers** see requests as they pass, including IP addresses in short-lived request logs. The service does not store an address with a team record. Its rate limits keep a one-way hash of a visitor address (SHA-256, no salt) and a counter for the length of the limit, an hour for wrong sign-in codes, then drop them.
- **EU storage** is chosen when the team is created, by the owner (`team create --region eu`, or the Create sheet in the app). It puts the encrypted objects in an EU bucket, and can't be changed later. The records in D1 are not regional.

## What Vercel holds

Vercel hosts excellent.so. When someone signs in to the web admin at excellent.so/teams, the site's server makes the calls to the team service for them, so the web session token, device names, roles, health, usage and the audit log pass through it on their way to the browser. The site doesn't store them. The token is kept in a cookie that only the site's server reads, and the site's own code never writes it to a log, a URL or an event. Vercel's request logs hold what any host's do: the address, time and path of a request. The web admin is read-only. It shows the same device names, roles and counts an owner or admin can see on their Mac, never a session, a file name or content.

## What Stripe holds

The name and email of the person who pays, the payment method, the plan, and invoices. Stripe holds the card. We never see a card number.

## What none of them can see

Transcript text, file names or paths, repo names, agent names, member display names, the team's name, notes, rule text, the contents of cards, journals and manifests, and any key or invite secret. That includes Vercel: what passes through it is what the service shows an owner or an admin, which holds none of those.

## Changes

If a subprocessor is added or replaced, this page changes first and the team's owners are told. We are preparing a data processing agreement. Ask us before any use in the EU, through [Support](https://www.excellent.so/support).

See also [the DPIA template](https://www.excellent.so/docs/teams/dpia) and [servers, CI and alerts](https://www.excellent.so/docs/teams/servers-and-ci).

Source: https://www.excellent.so/docs/teams/subprocessors
