---
title: Add a project
project: Code
version: 2.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/code/2-0/guides/add-project/
updated: 2026-11-19T04:32:04.377Z
---

# Add a project

> Register a project in Total.js Code by hand or with Auto-Discover.

A project is a folder with an application. Only an administrator can add projects. Open **Projects** in the main bar.

![The Projects screen with the Auto-Discover, Add and Selected buttons above the list of projects](/files/JanvrQ1wR61f.webp)

## Add a project by hand

**1.** Click **Add**.

**2.** Enter the address of the application, for example `https://www.example.com`, and press `Enter`.

![The Add button with a field for the address of the web app](/files/JanvrS1xR60f.webp)

**3.** Code fills in the project form from the address. Check the **Path**, the folder of the application on the server.

**4.** Change the other options if you need to. They are explained in [Project options](../../reference/project-options/).

**5.** Click **SAVE**.

![The New project form with the path, name, address and other options](/files/JanvrU1yR61f.webp)

## Find projects automatically

Code can register every folder it finds in its applications folder.

1. Click **Auto-Discover**.
2. Confirm your choice.

Each new folder becomes a project. Code also scans the folder by itself while it runs, so a new folder appears without your help.

Code builds the address of the project from the folder name. Use the form `domain_tld-subdomain`:

| Folder | Address of the project |
|---|---|
| `sample_localhost-www` | `http://www.sample.localhost` |
| `example_com-www` | `https://www.example.com` |

You can change the name and the address afterwards: click the project in the list.

The applications folder is the `autodiscover` key of the [configuration](../../reference/configuration/).

## Open a project

Open **Code** in the main bar, click **Choose project** at the top of the panel and pick the project.
