Security
How we handle your clients' records
Almost everything in Valence is PHI, and most of it is the kind people are least willing to have leak. This page says what we do with it: where it is stored, who can reach it, which companies touch it, and what happens to the audio from a session. Where the answer is uncomfortable, it is written down anyway.
Last reviewed 16 November 2026 against the running code.
Session audio and AI notes
Sessions are not recorded. A recording only starts when a clinician turns AI notes on during that particular session, and everyone in the call, clients included, sees a recording indicator for as long as it is on.
When one does start, the audio goes from the video server we run to storage in our own AWS account, and it stays there. Transcription happens on the same infrastructure: a Whisper model loaded into our own worker process turns the audio into text. No speech-to-text company receives the recording. Some ambient scribes send session audio to a cloud transcription vendor, then describe how quickly that vendor deletes it. We do not send it out.
For an in-person session, the clinician's browser records the audio and uploads it straight to the same encrypted storage.
What the AI model sees
Drafting the note is a language model job. It runs on Amazon Bedrock inside Valence's own AWS account, under our agreement with Amazon, and no model is trained on what it sees. The request carries the session transcript and nothing else from the chart: no earlier notes, no assessment scores, no appointment history. It also carries samples of the clinician's own past edits, so the draft sounds like them: the first 600 characters of their five most recent AI drafts and the versions they signed. Those can contain details about other clients, and the model is told to take only the style from them and none of their content. If a recording has too little speech to work from, no draft is written at all.
It does not carry the client's date of birth, address, phone number, or email. For a video session, every line of the transcript is labeled with the speaker's name and role, so the client's name and the clinician's name are in the request. Names spoken aloud during the session are in the transcript too, the same way they would be in any note. The draft comes back, the clinician edits it, and nothing is used to train a model.
The chart's session prep talking points are built on our own servers from the client's assessment scores. A practice can choose to have the AI reword them, which gives the model those facts (safety-item flags, top-of-scale symptoms, and score changes) but no name or contact details. That setting is off until a practice admin turns it on. When it is on, opening the treatment plan editor also asks the AI to suggest goals. That request carries the client's diagnosis codes, assessment scores, recent intake answers and excerpts of up to three recent signed notes. Names and contact details aren't sent as separate fields, though free text in those answers and notes can contain names.
What we keep, and for how long
A transcript is erased when the clinician signs the note. Until then it is kept with the unsigned draft, and nothing deletes it automatically if the note is never signed. The row stays behind so the chart history still shows that a transcript existed and when, but the text itself is gone and the app returns it empty from then on.
The audio is deleted as soon as the draft note is produced: the same worker that writes the draft deletes the recording, every participant's track included. The bucket keeps previous versions of deleted files, so the last stored copy is erased automatically within about two days. Behind that, a storage rule removes anything still in the bucket after three days, which covers a transcription that failed and is waiting to run again, and the last copy of those goes a day later.
While it does exist, the audio is encrypted at rest in our own AWS account, and no vendor can read it. Nothing in the product plays it back. The one exception is the practice data export, where an admin can choose to include audio that hasn't been deleted yet.
Where the data lives
One database schema per practice
Every practice gets its own Postgres schema. A query runs inside one schema, so there is no shared patients table with a practice column where a forgotten filter would hand you someone else's caseload. The separation is a property of the database connection rather than a rule the application has to remember, which is the difference that matters when someone writes the next feature in a hurry.
Encryption
Traffic from your browser to the app is HTTPS only. The AWS edge accepts TLS 1.2 or newer and redirects plain HTTP to HTTPS. The last step inside our AWS account, from the API gateway to the application server, runs over a private network link without its own TLS layer. Session cookies are marked secure and are scoped to your practice's own subdomain, so a session on one practice's host is never sent to another's.
The database is encrypted at rest. Files, including session audio and any uploads, live in a bucket encrypted with a KMS key created for that bucket alone, with automatic key rotation on. The bucket blocks public access outright.
Region and backups
Your data is stored and processed in AWS in the United States, in the Northern Virginia region (us-east-1). Requests reach it through Cloudflare's and Amazon CloudFront's edge networks, which aren't limited to one country. Database backups are kept for fourteen days and are encrypted with the cluster.
Video
Video calls run on a LiveKit server we operate ourselves, on our own machine in our own account. There is no video vendor in the middle: media is encrypted in transit between the browser and that server, and the server doesn't keep recordings. Its disk is encrypted. How a visit starts for you and the client is on video visits. The rest of the product is listed on Features.
Who can see what
Roles are checked on the server, not hidden in the interface. A client can only ever read their own record. A clinician who isn't also an admin or front desk user sees only the clients on their own caseload: clients assigned to them, clients they share an appointment with, and clients they have written a note for. Staff can open charts and messages only for the clients their role and caseload allow. Asking for a record you are not entitled to returns a plain not-found, never a permission error, because a permission error would confirm that the record exists.
Access to patient records is logged. Every edit to a chart, note, comment, form assignment, or signed AI draft is written to that client's audit trail with who did it and when, automatically, with nothing to switch on. Audit rows outlive the things they describe, so deleting a comment does not delete the record that it was deleted.
Sign-in is protected by rate limits that count failed attempts only, per IP address and per account. A whole clinic behind one office IP can sign in all morning without spending any of the budget, while someone spraying passwords runs out in seconds. Passwords are hashed, never stored, and checked against length, similarity and common-password rules when staff and invited clients set them. A client who creates a password while booking through a practice's public booking page only has to meet the eight-character minimum. Sign-out clears the session in that browser.
Companies that touch your data
This is the whole list. Not every company on it is under a business associate agreement.
| Company | What it does | What it receives |
|---|---|---|
| Amazon Web Services | Hosting, email, and the AI model. Application servers, the database, file storage, queues, backups, and the video server all run in our AWS account in the United States. Amazon SES sends our email: invitations, reminders, password links, receipts. Drafting the session note (and, only if the practice turns on AI session prep, rephrasing assessment-based talking points) is done by an AI model on Amazon Bedrock in that same account, so the text never goes to a separate AI vendor. | Everything the product stores, including PHI. For AI note drafting (Amazon Bedrock, in our AWS account): the session transcript and short samples of the clinician's own past edits from other sessions, used for style only; for video sessions each transcript line carries the speaker's name and role, and we add no date of birth, address, or contact details, and nothing is used to train a model. For email: the recipient's address and name, plus pared-back message text (practice name, clinician name, appointment time, a link back into the app); staff alert emails can carry a short note a practice admin wrote into a workflow. |
| Twilio (text messages, coming soon) | Sending text messages, which are coming soon. | Once texting is available: the recipient's mobile number and the message text, such as the practice name, clinician name, appointment time and a link. Our templates leave out diagnoses, form names, message bodies and scores. |
| Stripe | Payments to Valence for usage credits. | The payer's name and email, and the card, which goes from the browser straight to Stripe. We never receive or store a card number; we keep the brand and the last four digits. |
| Sentry | Error tracking for the application servers, the background workers, and the app running in your browser. | Stack traces, the request method and path, and the internal user id. Errors reported from the browser carry the page address with query strings and tokens removed, the browser type and an opaque user id. Request bodies, headers, cookies, query strings, IP addresses and local variables are stripped before an error report leaves our servers. Error and log message text is scrubbed too: database and validation errors are reduced to their error type, and emails, phone numbers, dates and ID-like numbers are redacted from other messages. |
| Cloudflare | DNS, and the network edge in front of the app: it terminates HTTPS and passes traffic on to AWS. Also hosts this marketing website. | Traffic between browsers and the app passes through Cloudflare's network, decrypted at the edge and re-encrypted to AWS. Nothing is stored there by us. |
| PostHog | Product analytics on this website, on the practice signup form, and for signed-in practice staff in the app. It never runs while a patient is signed in, or on a patient-facing page such as a video link or a booking page, whoever opens it. | On this website, PostHog records page views and the clicks and form submissions it captures automatically, plus device and browser details and a random visitor id. In the app it receives only page views and three events we choose (a signup completed, setup completed and a staff sign-in), and for staff an internal user id and their practice; automatic capture and session recording are off there, and page addresses are cleaned before an event is sent. No clinical records. |
| Website analytics and ads for this website, through Google Tag Manager. It runs only on valencebh.com, for people visiting this site, and never in the app or on any page with practice or client data. | For visitors to this website: the pages they view, the address of each page (with any ad click id in it), device and browser details, and Google's own cookie ids. Never practice or client data. |
LiveKit is the obvious name missing from that table. Video in Valence runs on LiveKit, but on a server we operate in our own AWS account rather than as a hosted service, so no LiveKit-the-company system receives your media and there is no subprocessor relationship to disclose. It belongs in the same category as Postgres: software we run, not a vendor we send data to.
We will tell practices before adding a company to this list.
Business Associate Agreement
We sign a BAA with every practice. There is no minimum plan, no fee, and no call to book first. You sign the BAA when you sign up, before you add clients. The signed copy, with your practice's name, the signer and the date, stays under Practice Settings.
If you want to read it before you create an account, the same template is published here in full.
A small team you can reach
We're a small team, so the person who answers your security question is the person who wrote the code. Ask us anything, and we'll send you the BAA to read before you sign up.
Reporting a vulnerability
Email security@valencebh.com. Tell us what you found and how to reproduce it. A person reads every one of these, and we will write back to confirm we have it and again when it is fixed.
Please do not test against a live practice, and do not use real patient data in a proof of concept. If you need an account to demonstrate something, ask and we will set one up.
We do not run a paid bug bounty. We do credit people who report things properly, if they want the credit.
Common questions
- Does session audio go to a speech-to-text vendor?
- No. Transcription runs in our own worker process using a local Whisper model. There is no third-party speech API in the path and no API key for one, because there is nothing to call.
- How long do you keep session audio?
- The audio is deleted as soon as the draft note is produced, by the same worker that writes the draft, and the bucket's last stored copy is erased automatically within about two days. A storage rule removes anything still in the bucket after three days, which covers a run that failed before it got to a draft.
- Will you sign a BAA?
- Yes, with every practice, at no cost and without a sales call. You can read the full template at valencebh.com/security/baa before you sign up, and you sign the BAA when you sign up, before you add clients. The signed copy stays under Practice Settings.
- Can another practice see my clients?
- Each practice gets its own Postgres schema. Queries run inside one schema, so there is no shared patients table with an organization column that a bad filter could leak across. Everything a person does after signing in runs inside their own practice's schema. Background jobs such as reminders and billing open each practice's schema in turn, one at a time.
- Do you train AI models on patient data?
- No. Transcripts are used to draft that practice's own session notes. If a practice turns on AI session prep, assessment results, diagnoses, intake answers and recent note excerpts are also used to suggest talking points and treatment plan goals for that practice's own clients. We do not train models on any of it, and we do not sell it.
- How is Valence set up for a HIPAA-covered therapy practice?
- Each practice gets its own database schema, so another practice cannot see your clients. Data is encrypted in transit and at rest. If you use AI notes, transcription runs on our own servers; the note is drafted with Amazon Bedrock inside our AWS account; the audio is deleted once the draft is produced, and we do not train models on patient data. You can read our Business Associate Agreement before you sign up. This page is the full account, including the subprocessor list, and was last reviewed against the running code on 16 November 2026.