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

# Install

> Install BPM on your computer or server with Node.js and PostgreSQL.

> **Note:** Total.js BPM is available only with a [Total.js Enterprise](https://www.totaljs.com/enterprise/) subscription. See the [BPM page](https://www.totaljs.com/bpm/) on totaljs.com.


BPM is a Node.js app that keeps its data in a PostgreSQL database.

## What you need

- The BPM source code. You receive it from Total.js with a [Total.js Enterprise](https://www.totaljs.com/enterprise/) license.
- [Node.js](https://nodejs.org/) on the computer or server.
- A PostgreSQL server and an empty database for BPM.
- Internet access from the browser. The screens load their scripts from the Total.js CDN, and the process designer and the form editor are loaded from `flow.totaljs.com` and `uibuilder.totaljs.com`. See [Settings](../settings/).

## Install

1. Unpack the source code into a folder, for example `bpm`.
2. Open the file `config` in that folder and set the connection string of your database:

```text
database  : postgresql://user:password@hostname:5432/bpm?pooling=1
```

3. Install the dependencies:

```bash
cd bpm
npm install
```

4. Start the app:

```bash
npm start
```

On the first start BPM creates its tables in the database. You do not need to run any SQL script yourself. When you install a newer version of BPM over an existing database, BPM updates the database on its first start.

5. Open `http://127.0.0.1:8000/admin/` in your browser.

## Another port

`npm start` runs BPM on port `8000`. To use another port, start it with the port number:

```bash
node index.js 8080
```

## Next step

[Sign in for the first time](../first-sign-in/).
