Skip to content

Documentation / Getting started

Quick start

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

This guide assumes OpenDB is installed 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

To keep everything on your machine, choose Ollama. The 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.

The wizard is detailed in Create a project.

3. Ask a question

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

Which tables does this database contain?

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

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

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.

Going further