Configure tenant

Stack

Setup link

One-time SaaS setup URL (?token=…). Requires email OTP. Reveal copies the current token; regenerate writes a new SETUP_TOKEN and recreates the tenant app (~30s). Unavailable after the clinic finishes setup.

Restore points

Daily backups for this tenant only (Day 1 = most recent). Restore replaces this clinic's database and uploads — not other tenants.

Features

Disabled features are hidden in the clinic app (env FEATURE_*). Saving recreates the app container.

AI model

Platform choice for shared AI assist. Catalog heuristic needs no API key. OpenAI / xAI / Ollama reuse MedsoBot keys (OPENAI_API_KEY, XAI_API_KEY, or local Ollama). If a provider is not configured, AI assist falls back to catalog heuristic. AI Prescribe still only suggests Medicines catalog rows. Clinic Features switches and FEATURE_AI_* still gate whether prescribing / PO assist is available (prod stays locked when those are off).

Extra branches

Clinic network

    No addresses yet. Sign-in is allowed from any network.

    The clinic's public address (all Wi-Fi devices share it). Leave this empty to allow every network. The clinic owner can still sign in from a phone, tablet, or laptop when they are not on this network.

    Resource quota

    Concurrent login seats and staff account cap for this tenant (0 = unlimited for either). Saving recreates the app so MAX_CONCURRENT_SESSIONS and MAX_USERS apply. Creating staff beyond the allotment is blocked in the clinic app.

    Logged-in users

    Recent logins

    Provision tenant

    Creates tenants/env/<slug>.env, registry entry, and starts the stack. DNS must already resolve *.medso.cloud (or your TENANT_DOMAIN) to the VPS. Choose a brochure plan. Clinic plans also ask for hospital type (preselected from the plan; changeable here and again in setup). Lab, Pharmacy, and Pharmacy + Lab hide hospital type and use the plan default. Do not set MEDSO_PRODUCT_EDITION=lab for a dental clinic.

    Extra branches beyond the main branch start at Basic 0, Standard 1, Premium 1, and Hospital 0. A hospital needs a number approved here before any extra branch can be added. Raise it later on the tenant.

    Email verification

    A 6-digit code was sent to the MedsoAdmin email. Enter it to continue this change.