Skip to content

Operator guide

For the person who installs Kosmos and keeps it running for a firm.

A new server goes in this order: install, configure outgoing email (nobody can sign in without it), then add the integrations the firm uses, then set up backups and monitoring before real work begins.

Install

  • Install with the script: one command for a development machine or a production server, and what it changes on the machine.
  • Install by hand: every step the script performs, for other platforms or for repairing a partial install.
  • Configuration: the config/.env file and its two templates.

The systemd, nginx and gunicorn templates are documented beside the files themselves, in deploy/README.md.

Features

The case file (each matter's documents, highlights, timeline, witnesses, emails, labels, search and AI tab) is on by default. An administrator switches it off for the whole firm under Settings > Features: the sidebar entry and every path go away for everyone, the and the data stays. The MCP matter API under /case/api/ keeps working with the case file off.

Integrations

Each integration stays off until it is configured.

  • Outgoing email: SMTP, sender addresses, and why sign-in depends on it.
  • File storage: local disk or an S3-compatible bucket, and how files are served.
  • AI providers: AI is optional; API keys (in config/.env or Settings), what a server without AI shows, semantic search, chat retention, and what data leaves the server.
  • Online payments: LawPay, Stripe or Confido, webhooks, and settlement.
  • Google Workspace: the shared Google setup, Calendar and Contacts.
  • Gmail sync: case email from each user's mailbox.
  • Intakes from forwarded email: Mailgun inbound routing.
  • Drafting with LibreOffice: the companion extension.
  • Claude: per-user access from claude.ai, Claude Desktop and Claude Code through the built-in remote MCP server.
  • Kosmos Discover: the eDiscovery application's read-only connection to matters and proceedings.

Operate

Access and security

  • Users and permissions: sign-in, roles, the permission switches and what each one gates.
  • Security checklist: what to check before the server holds real client data, and what the code does and does not do for you.

Reference

Environment variables, management commands and scheduled jobs are generated from the code. The permissions matrix lists every access check and where it lives.