---
title: Run in production
project: BPM
version: 1.0
section: guides
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/bpm/1-0/guides/production/
updated: 2026-11-20T18:44:26.985Z
---

# Run in production

> Run BPM as a service, protect it and back up its data.

## Run it in release mode

Start BPM in release mode on the server:

```bash
node index.js 8000 --release
```

Keep it running with a process manager or as a system service, and put a web server with HTTPS in front of it.

BPM takes its own address from the first visit to `/admin/` after each start, and uses it for the links of the processes. Open it with the public address, for example `https://bpm.example.com/admin/`, after you restart it.

## Protect it

- Change the default account right after the [first sign-in](../first-sign-in/).
- People must sign in to start processes from the Inbox and to work on tasks. Only [public Start forms](../public-start-forms/) are open to everybody; make a Start form public only when you want that.
- Use HTTPS, so that the password and the session cookie are not sent in clear text.
- Restrict access to the server and to the PostgreSQL database.

## Back up the data

- The PostgreSQL database holds the processes, their designs, the forms, the templates and all tasks.
- The folder `databases` of the app holds the administrator account and your [UI components](../ui-components/).

Back up both. See [Data locations](../../reference/data-locations/).
