# Checklist before production

> What to check before real people sign in.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://data.docs.sypnia.com/security/checklist/

For agents: Production checklist: RLS on every exposed table and tested with two users; secret keys only on servers (env/secrets manager); your own e-mail provider and domain (SPF, DKIM, DMARC); redirect URLs exact; e-mail confirmation on; CAPTCHA if public sign-up; session policy chosen; master key or KMS key backed up separately (self-host); TLS verify-full to the database; database backups tested; alarms on errors and connections; audit log reviewed; DPoP required for machine clients; PATs with expiry where possible.

- [ ] **Row-level security** is on for every exposed table, and you tested it with two different users.
- [ ] **Secret keys** live only in servers' environments or a secrets manager; none in app code, none in a chat.
- [ ] **Your own e-mail provider** sends from your domain, with SPF, DKIM and DMARC set.
- [ ] **Redirect URLs** are exact addresses, or patterns as narrow as you can make them.
- [ ] **E-mail confirmation** is on.
- [ ] **CAPTCHA** is on if anyone on the internet can sign up.
- [ ] The **session policy** is the one you want (how long, inactivity, one session or many).
- [ ] **Machine clients** use key pairs and require DPoP; PATs have an expiry when they can.
- [ ] **\[Engine]** The **master key** (or access to the KMS key) is backed up apart from the database.
- [ ] **\[Engine]** The database is reached with **TLS** (`verify-full`), and its **backups** were restored once to prove they work.
- [ ] **\[Engine]** **Alarms** on errors, throttles and database connections are on.
- [ ] Someone reads the **audit log** after launch.
