# Settings, secrets and accounts

Manage projects, secrets, the Wingman model, observability, people and themes; turn on sign-in for shared servers.

Source: https://glamorous-boar.cloudvent.net/settings/

---

Open avatar → **Settings**.

## Projects

A searchable list of every project with **Open** and **Delete**. Delete shows what will be removed (graph, revisions, runs, files, memory, embedded collections) and stays disabled until you type exactly `DELETE`. The API enforces the same rule: `DELETE /api/projects/{id}?confirm=DELETE` (otherwise `400 CONFIRMATION_REQUIRED`), and with sign-in on only admins may delete.

Avatar → **My projects** opens the same list.

## Secrets

- Admins add or replace named secrets (e.g. `OPENROUTER_API_KEY`, `GITHUB_TOKEN`, `TELEGRAM_BOT_TOKEN`). Members see the names only.
- Values are encrypted at rest (AES-256-GCM) and **never shown again**; no endpoint returns them.
- Resolution order: **environment first** (an operator override, e.g. `.env`), then the workspace store.
- Node config forms show whether a secret name is set and where.
- Back up `<data>/secret.key` (or set `AGENTICMIND_SECRET_KEY`) together with the database.

## Wingman

Provider, model (**Browse** lists the provider's models), API key secret name, base URL and repair attempts (1–5). **Test connection** sends one request with the unsaved values; **Reset** removes the override so environment defaults apply. Only admins can save, test or browse, because a base URL decides where the key is sent. See [Wingman](/wingman/#configuring-the-model).

## Observability

OpenTelemetry endpoint, protocol, service name, header secret, content opt-in, presets and **Send test span**. See [Observability](/observability/).

## Appearance

**Light**, **Dark** or **System**.

## Accounts and sign-in

Sign-in is **off by default**: AgenticMind runs as a single local user, the dev servers and `compose.yaml` listen on localhost only, and everyone can change settings. To share a server with other people or machines:

<CodeBlock language="bash" filename=".env" showCopy={true}>

```
AGENTICMIND_AUTH=required
AGENTICMIND_COOKIE_SECURE=1     # when served over HTTPS
AGENTICMIND_SESSION_DAYS=14
```

</CodeBlock>

Then:

1. Restart. The IDE shows a **setup screen**: create the first account, which is an **admin**. There is no open sign-up afterwards.
2. Admins add people under **Settings → People** with a first password; people change it in their **Profile**.
3. Roles:

| Role | Can |
|---|---|
| **member** | Build, run, evaluate and deploy workflows; see secret names. |
| **admin** | Also manage people, change workspace settings (Wingman, secrets, observability), install and approve node packages, delete projects. |

- Everyone sees all projects (one shared workspace).
- The workspace always keeps at least one active admin; an admin cannot deactivate themselves; deactivating someone signs them out.
- **Profile**: display name, email, password change, **Sign out other browsers**.
- A `401` anywhere brings back the sign-in screen with *Your session ended*.

Security details (scrypt, rate limits, cookies) are on [Security model](/security/#accounts-when-sign-in-is-required).

## Configuration file

Everything else is configured with environment variables in `.env`; see [Configuration](/configuration/).
