# How Better Analyst protects your data

- URL: https://betteranalyst.com/security

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

Security

What we do to keep your data, files, and connections safe, and how to reach us about a security question. Security reviews and questionnaires are welcome.

## Where your data lives

- Stored in the United States

  The application database and file storage run in AWS us-east-2 (Ohio).

- Encrypted in transit

  All traffic uses TLS. Browsers are told to use HTTPS only (HSTS).

- Encrypted at rest

  Database and file storage are encrypted at rest with AES-256 by our infrastructure providers.

- Connection credentials encrypted separately

  Database passwords and API keys you save are encrypted by a dedicated AWS encryption service before they are stored, and are never sent to your browser.

- Google and Meta tokens encrypted

  Tokens for every Google connection, including Google Analytics, Search Console and Google Ads, and for Meta Ads, are encrypted by the same service before they are stored. Both ad connectors are read-only.

## Isolation

- Workspace isolation in the database

  Postgres row-level security policies limit every query to the signed-in person’s own workspace and teams.

- Isolated code sandboxes

  Analysis code runs in an isolated E2B sandbox, separate from our application servers and from other customers.

- Data access rules per source

  Owners and admins, or a source’s access managers, choose which tables and columns the AI may read on each connection, and add row filters that apply to every question.

- Per-member access

  On Team and Enterprise, rows, tables, and columns can be filtered for each team member from attributes like region or department. Chats that use that data are private to the person who asked.

- Private projects

  On Team and Enterprise, a team project can be limited to chosen members. Everyone else can’t see its chats, dashboards, Data Flows, alerts, or tasks in the app, in Slack, or in emails. A data source can be kept to that one project, only owners and admins can make public links for its items, and its items don’t post to Slack channels.

- Per-user scopes for embeds

  The analytics chat you embed in your own product accepts a signed token from your server that limits each viewer to their own rows.

## Identity and access

- SAML single sign-on

  Sign in through Okta, Microsoft Entra ID, Google Workspace, or any SAML 2.0 identity provider, after proving domain ownership with a DNS record. Domains are re-checked daily, and the team owner is emailed if the record goes missing.

- SCIM provisioning

  Your identity provider adds people to your team and removes them; deprovisioning ends their sessions.

- Sign-in requirements

  Team owners can require SSO, and require two-factor authentication for password and Google sign-ins. The rules apply in the web app, the API, the Excel & Google Sheets add-ons, and the ChatGPT plugin, and the database enforces them too.

- Two-factor authentication

  Authenticator-app codes with single-use recovery codes, available on every plan.

- Roles

  Owner, admin, member, and viewer roles control who can manage members, billing, data sources, and settings. Viewers open the team’s dashboards and nothing else, and are always free. Only the person who created a dashboard, Data Flow, alert, or task, or an owner or admin, can change, publish, or delete it.

- Abuse protection

  Sign-in, verification, and password reset requests are rate limited, and verification codes expire after 15 minutes.

- Add-in sign-in checks

  The Excel & Google Sheets add-ons accept a Google sign-in only when the token was issued to Better Analyst. Password sign-ins in the add-ons are limited per network address and per account.

- Content Security Policy

  Every page sends a Content Security Policy in report-only mode. It doesn’t block anything yet: it reports scripts from unexpected sources so we can enforce it without breaking the app.

## Accountability

- Team audit log

  Sign-ins, member and role changes, SSO and provisioning changes, data source and data access changes, sharing, exports, and deletions are recorded with the person, time, and IP address. Sharing changes and deletions are recorded by the database itself, however they’re made.

- Data access changes

  Changes to a source’s tables, columns, and row rules are recorded, including edits by access managers who aren’t team admins, each Preview as member, each time an admin views a dashboard as a member, and each test chat started as a member. Entries record how much changed, never the values in your rules.

- Append-only

  Audit entries can’t be edited or deleted. Admins can filter and export them to CSV.

- Support access is labelled

  If Better Analyst support signs in to help with an account, that sign-in is recorded and labelled as support access.

## AI and your data

- No training on your data

  We use the OpenAI API, which does not train on data sent through it, and we do not train models on your data ourselves.

- Only what the question needs

  The AI receives your question and the data needed to answer it, within the access rules set for each source.

## Retention and deletion

- Paid plans

  Chats, files, and dashboards are kept until you delete them or close your account.

- Free plan

  Chats and files inactive for 60 days are deleted automatically.

- Account deletion

  Deleting an account removes its chats, files, connections, tasks, and settings. Contact us for written confirmation.

## Governance by plan

What each plan includes. Owners can follow the [admin setup guide](https://betteranalyst.com/docs/teams/secure-setup) to turn it on in order.

| Control | Free | Pro | Team | Enterprise |
| - | - | - | - | - |
| Two-factor authentication | Yes | Yes | Yes | Yes |
| Roles: admin, member and viewer | — | — | Yes | Yes |
| Projects and private Projects | — | — | Yes | Yes |
| Row-level security per member | — | — | Yes | Yes |
| Data access managers | — | — | Yes | Yes |
| Team audit log | — | — | View, 30 days | Full + CSV export |
| SAML single sign-on and SCIM | — | — | — | Yes |
| Verified domains and required SSO or two-factor | — | — | — | Yes |
| Data retention | 60 days | Unlimited | Unlimited | Unlimited |
| DPA, SLA and security review | — | — | — | Yes |

## Security review answers

- Where is customer data hosted?

  In the United States, in AWS us-east-2 (Ohio), for the application database and file storage.

- Is data encrypted?

  Yes. TLS in transit with HSTS, AES-256 at rest, and saved connection credentials and OAuth tokens are encrypted again by a dedicated AWS encryption service.

- How are customers kept apart?

  Postgres row-level security limits every query to the signed-in person’s workspace and teams, and analysis code runs in an isolated sandbox, separate from our servers and other customers.

- Is our data used to train AI models?

  No. We use the OpenAI API, which does not train on data sent through it, and we do not train models on your data.

- Do you support SSO and automated provisioning?

  Yes, on Enterprise: SAML 2.0 with any identity provider, SCIM 2.0 provisioning and deprovisioning, and required SSO or two-factor.

- Can we limit what each employee sees?

  Yes, on Team and Enterprise: roles, private projects, table and column rules per source, and row filters per member.

- Is there an audit trail?

  Yes. An append-only team audit log with person, time, and IP address. Team shows 30 days; Enterprise keeps full history with CSV export.

- How long is data kept, and can it be deleted?

  Paid plans keep data until you delete it. Free deletes inactive chats and files after 60 days. Deleting an account removes its data.

- Do you sign a DPA and list subprocessors?

  Yes. Our DPA and subprocessor list are public, and we sign DPAs for business customers.

## Report a security issue

Email hello\@betteranalyst.com with “SECURITY” in the subject. Include the steps to reproduce and the URL or account affected. Please give us a chance to fix the issue before you disclose it.

## Security reviews

We complete security questionnaires and sign data processing agreements for business customers. [Read about our DPA](https://betteranalyst.com/dpa), see our [subprocessors](https://betteranalyst.com/subprocessors), or [contact sales](https://betteranalyst.com/contact?plan=enterprise).
