# Settings

> The application's settings, section by section: appearance, shortcuts, account, AI agent, exports, models, mail, users and roles.

Source: https://www.opendb.tools/en/docs/settings

Open the settings from your account menu, at the bottom of the sidebar, or with `Ctrl` + `,`.

![General settings: language, theme and color theme](/images/docs/en/settings.webp)

## Desktop

### General

| Setting | Detail |
|---|---|
| Language | English or French. It is also the language of the agent's answers. |
| Theme | Light, dark, or your system's |
| Color theme | Ten themes: Neutral, Slate, Ocean, Forest, Amethyst, Rose, Tangerine, Amber, Midnight, Paper |
| Syntax highlighting | The colors of the code in the conversation, the tables and the SQL console |

A color theme changes the interface's colors, its radius and its font.

### Shortcuts

The list of keyboard shortcuts. On a Mac, `Ctrl` is the `Cmd` key. The command palette also opens from the button at the bottom of the sidebar.

| Shortcut | Action |
|---|---|
| `Ctrl` + `K` | Open the command palette |
| `Ctrl` + `,` | Open the settings |
| `Ctrl` + `O` | Open a project |
| `Ctrl` + `Shift` + `N` | New project |
| `Alt` + `N` | New conversation |
| `Alt` + `K` | Search a conversation |
| `Ctrl` + `U` | Attach a file |
| `Ctrl` + `.` | Switch access mode |
| `Ctrl` + `Shift` + `D` | Change the effort |
| `Ctrl` + `'` | Pick the model |
| `/` | Search a table |
| `Ctrl` + `Enter` | Run the script or the selection |
| `Shift` + `Alt` + `F` | Format the script |
| `Ctrl` + `C` | Copy the selected cells |
| `Ctrl` + click | Open the referenced row |
| `Ctrl` + `I` | Open the assistant of the table designer |
| `Esc` | Leave full screen |

## User

### Account

Your username and password. A warning is shown as long as the default account keeps its original password.

### AI agent

| Setting | Values | Purpose |
|---|---|---|
| Default access mode | Read-only, Read-write | The mode of a new conversation |
| Default effort | Standard, High | How long the model thinks |
| Structure changes of the ERD assistant | Draft to approve, Automatic additions, Fully automatic | When an approval is requested |
| Steps per answer | 3 to 50 | Maximum number of tool calls per message |
| Rows read per query | 10 to 1,000 | Maximum number of rows returned to the model |

See [Modes and approvals](/en/docs/modes-and-approvals) and [Design assistant](/en/docs/design-assistant).

### Exports

The format and compression used by default. See [Import and export](/en/docs/import-export).

### MCP access

Your tokens for external agents. See [MCP server](/en/docs/mcp-server).

## Server

### Models

The connected AI providers and the enabled models. Reserved for the `MANAGE PROVIDERS` privilege. See [AI providers](/en/docs/ai-providers).

### Usage

Token consumption. See [Usage](/en/docs/usage).

### Mail

Your SMTP server and your allowed recipients. See [Sending emails](/en/docs/emails).

## Administration

### Users and roles

The instance's accounts and their roles. See [Users, roles and privileges](/en/docs/users-roles-privileges).

## Application

### About

Information about your system, the location of the data folder and of the logs, and a **Clear the cache** button.

Clear the cache when OpenDB shows a database structure that is out of date, for example after a change made with another tool.

## From a terminal

```bash
opendb settings
```

The command gives access to the settings of the agent, exports, account, AI providers, mail and cache.

## Where settings are stored

The theme and the color theme are stored **in your browser**: they are specific to each computer. Providers, accounts, roles and mail settings are stored in OpenDB's database.
