# Haystash DB > Haystash DB is Postgres with a data API, sign-in and a JavaScript client, like Supabase or Neon. You can lock columns that hold personal data: their values are encrypted on the user's device with a key the server never holds, so the database, backups, server and operator see only ciphertext. Other columns are ordinary Postgres with row-level security written by the server. Self-hosting works today: one server beside your Postgres, with an admin console, a JavaScript client and an importer for Postgres and MongoDB data. The hosted service run by Haystash is invite-only and not open yet. It is an unaudited prototype. Each page below is plain Markdown, with links relative to this site. ## Docs - [Docs](/docs.md): quickstart (hosted or self-hosted, lock a column, the JavaScript client), concepts (locked columns, cells, keys, devices and recovery codes, access modes, the signed list of locked columns and `pinned`), the client by example, apps with their own sign-in (tickets), migrating from Postgres or MongoDB, the console and keys, the HTTP API, the security model and its limits, and what's next. - [Hosted: getting started](/hosted.md): Haystash runs it (invite-only, not open yet). Sign up, create a project, save the backend key, connect, settings, the CLI token, plans and prices, pausing, billing, backups, deleting, and what Haystash can and cannot see. - [Self-hosting](/self-hosting.md): what runs, local setup, Docker Compose, the binary, settings, TLS, backups (Postgres and the master key file), restoring, upgrades (including the one-time move of `gate.db` into Postgres). ## Optional - [Docs](/docs.html), [Hosted](/hosted.html), [Self-hosting](/self-hosting.html) as HTML: same content.