Kaleidb quick-start
From install to your first query in about five minutes.
To get started with Kaleidb, install it, press Ctrl or Cmd Shift N, paste a connection URL such as postgres://user@host/db, and open a table. Edits wait in a pending-changes tray that shows the SQL, and Ctrl or Cmd K opens the command palette for everything else.
How do I install Kaleidb?
Download an installer from GitHub releases or use a package manager. Details and first-launch warnings are on the download page.
How do I connect to a database?
Press Ctrl/Cmd Shift N and paste a URL. Kaleidb recognizes these schemes and fills in the form:
postgres://user:pass@localhost:5432/mydb
mysql://root@localhost:3306/shop
mariadb://user@host/db
mongodb://localhost:27017/app
redis://localhost:6379/0
http://localhost:6333 # Qdrant or Chroma SQLite connections open a local .db file. Give each connection an environment (prod, staging, dev or local): prod connections are read-only by default and show a red strip. Passwords are stored in your OS keychain, or kept for the session only if you prefer.
How do I edit data safely?
Double-click a cell, type, and press Enter. The change appears in the pending-changes tray with the exact SQL. Review it, undo or redo, then apply. A DELETE or UPDATE without WHERE asks for confirmation, and any write on prod does too.
How do I run a query?
Open a new query tab, write SQL (or a MongoDB or Redis command for those engines) and press Ctrl/Cmd Enter. Use EXPLAIN for plans, save useful queries to the SQL book, and switch results between Table, Chart and JSON.
How do I use Ask AI?
Open Settings, choose Anthropic, OpenAI, Gemini or Ollama, and add your API key (not needed for Ollama). Then press Ctrl/Cmd J in a query tab to write, explain or fix SQL. Requests go from the app directly to your chosen provider.
How do I connect an AI agent?
Open the MCP tab, set each connection's AI access, and copy the command for your client. Full guide: Kaleidb MCP for AI agents.
What are the keyboard shortcuts?
| Action | Shortcut |
|---|---|
| Command palette | Ctrl/Cmd+K |
| Go to table, collection or key | Ctrl/Cmd+P |
| New connection | Ctrl/Cmd+Shift+N |
| New query | Ctrl/Cmd+T |
| Run statement | Ctrl/Cmd+Enter |
| Run all statements | Ctrl/Cmd+Shift+Enter |
| Explain query plan | Ctrl/Cmd+Shift+E |
| Save to SQL book | Ctrl/Cmd+S |
| Toggle visual query builder | Ctrl/Cmd+Shift+B |
| Ask AI to write or fix a query | Ctrl/Cmd+J |
| History and SQL book panel | Ctrl/Cmd+Shift+H |
| Toggle sidebar | Ctrl/Cmd+B |
| Toggle light and dark theme | Ctrl/Cmd+Shift+L |
| MCP and AI access | Ctrl/Cmd+Shift+M |
| Settings | Ctrl/Cmd+, |
| Close tab | Ctrl/Cmd+W |
Where can I get help?
Read the architecture notes, browse the issue tracker, or open a new issue with your question.