# Create a project

> The three-step creation wizard: the project, the database connection, then the tables the agent may access.

Source: https://www.opendb.tools/en/docs/create-a-project

## What a project is

A project brings together:

- a **connection** to a database;
- a **working folder** on your disk, where OpenDB keeps your SQL files and exports;
- your **conversations** with the agent;
- some **settings**: accessible tables, memory, access for other users.

Creating a project requires the `CREATE PROJECT` privilege. The creator receives every privilege on the project, with the right to pass them on.

## Step 1: the project

On the home screen, click **Create a project** (`Ctrl` + `Shift` + `N`).

- The project's **name** and **description**.
- Its **working folder**: pick it with the built-in folder browser.

## Step 2: the database

Fill in the engine, host, port, database name, username and password. For SQLite, give the path of the file.

- **SSH tunnel**: turn it on if the database can only be reached through an intermediate server.
- **Test the connection**: checks the settings before going on.
- **Create the database if it does not exist**: OpenDB first checks that the account is allowed to create a database on the server.

Each setting is detailed in [Database connection](/en/docs/database-connection).

## Step 3: the tables

Each table has two switches.

| Switch | Effect |
|---|---|
| Agent access | The agent may read the table. When off, it only knows its name. |
| Included in cloning | The table is copied if you clone the database. |

You can change these choices later in the [project settings](/en/docs/project-settings).

## Finish

There are two ways to finish the wizard.

- **Save**: the project works directly on the database you have just configured.
- **Clone**: OpenDB creates an anonymized copy of the database, then switches the project to that copy. This option requires the `CLONE` privilege. See [Cloning and anonymization](/en/docs/cloning-anonymization).

> [!TIP]
> Clone the database when it holds personal data and you use a third-party AI provider. The agent will work on fake data with the same structure.

## Open a project

The home screen lists your recent projects. You only see the projects on which you hold at least one privilege. Click **Connect** to open one.

## Delete a project

Deletion happens in **Project settings → Danger zone**. It removes the project's conversations and memory. It touches **neither the database nor the working folder**.
