---
title: Installation
project: TAS
version: 10.0
section: guides
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/tas/10-0/guides/installation/
updated: 2026-11-20T06:40:16.362Z
---

# Installation

> Install Total.js TAS from source, connect it to PostgreSQL and start it.

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

You get the TAS source code from Total.js with a [Total.js Enterprise](https://www.totaljs.com/enterprise/) license. You also need:

- [Node.js](https://nodejs.org)
- a PostgreSQL server with an empty database for TAS

## Install and start

**1.** Create an empty database in PostgreSQL, for example `tas`.

**2.** Open the folder with the TAS source code and install the dependencies:

```bash
npm install
```

**3.** Open the `config` file and set the connection string of your database:

```text
database       : postgresql://user:password@hostname:5432/tas
```

**4.** Start TAS:

```bash
npm start
```

**5.** Open `http://127.0.0.1:8000` in your browser and sign in. See [First sign-in](../first-sign-in/).

**6.** Open **Settings**, check the **Website name** and select **SUBMIT**. See [Settings](../settings/).

TAS creates its tables on the first start, so you do not run any SQL yourself.

## Use another port

`npm start` uses port 8000. To use another port, start TAS with the port number:

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

## Install the bundled version

The source code also contains a ready bundle, `--bundles--/app.bundle`. Use it when you do not want to change the source code:

**1.** Create a new folder with the files `index.js`, `config` and `package.json` from the source code.

**2.** Create a `bundles` folder in it and copy `app.bundle` there.

**3.** Set the connection string in `config`, then run `npm install` and `npm start` as above.

The bundled version keeps its data files in the hidden `.src` folder. See [Data locations](../../reference/data-locations/).

## Keep your server safe

- Sign in and change the default credentials as soon as TAS runs. See [Change credentials](../change-credentials/).
- Use HTTPS and restrict who can reach the server when TAS is available over a network.
