# Quick start

> From installation to the agent's first answer in three steps: an AI provider, a project, a question.

Source: https://www.opendb.tools/en/docs/quick-start

This guide assumes OpenDB is [installed](/en/docs/installation) and that you are logged in.

## 1. Connect an AI provider

OpenDB has **no default model**. Until a provider is connected and a model is enabled, the agent cannot answer.

1. Open **Settings → Models** (`Ctrl` + `,`).
2. Click **Connect** next to a provider.
3. Enter your API key. For a local Ollama, no key is required.
4. Enable the models you want to use.

![Model settings: connected providers and available providers](/images/docs/en/models.webp)

To keep everything on your machine, choose [Ollama](/en/docs/ollama). The [AI providers](/en/docs/ai-providers) page covers every case.

## 2. Create a project

A project brings together a database connection and a working folder.

1. On the home screen, click **Create a project** (`Ctrl` + `Shift` + `N`).
2. Name the project and choose its working folder.
3. Fill in the connection: engine, host, port, database, username, password.
4. Click **Test the connection**.
5. Choose the tables the agent may read, then **save**.

If the database holds personal data and you use a third-party provider, choose **Clone** at the last step. See [Cloning and anonymization](/en/docs/cloning-anonymization).

The wizard is detailed in [Create a project](/en/docs/create-a-project).

## 3. Ask a question

The project opens on the **Chat** tab. Write your request in plain language:

```text
Which tables does this database contain?
```

The agent lists the tables, and you can carry on:

```text
Show me the 10 best-selling products this month
```

You see every tool the agent uses, the query it writes and the result in an interactive table.

![A conversation in the Chat tab](/images/docs/en/chat.webp)

## Read-only by default

The agent starts in **Read-only** mode: it has no tool able to change the database. To let it write, switch to **Read-write** with the selector under the input field (`Ctrl` + `.`).

Even in read-write mode, sensitive operations stop on an approval request. See [Modes and approvals](/en/docs/modes-and-approvals).

## Going further

- [Conversations](/en/docs/conversations): attach files, switch models, stop an answer.
- [Table explorer](/en/docs/table-explorer): browse and edit data without writing SQL.
- [SQL editor](/en/docs/sql-editor): write your own queries with help from the AI.
- [Chat in the terminal](/en/docs/cli): the same conversation with `opendb chat`.
