Setup: DBeaver
Connect to your database in DBeaver
DBeaver is a free database tool that works with Reason Automation accounts on BASIS 3. Like pgAdmin, we recommend using it as a SQL workbench: a quick way to prototype and iterate on custom SQL queries. Your access is read-only.
This guide is for accounts on BASIS 3. If your account is still on our previous platform, use Setup: pgAdmin instead.
Download and install DBeaver
Download and install DBeaver Community for your operating system HERE.
Get your connection details
1) Log in to BASIS 3 and open your connection info.
2) Copy these two values. You'll need both below.
- DATABASE: your database name, which starts with
md: - TOKEN: your personal access token
Keep your token private. It works like a password.
Connect your database to DBeaver
1) Open DBeaver and go to Database → New Database Connection. Choose DuckDB and click Next.
[Screenshot: DuckDB in the connection list]
2) In Path, paste your DATABASE value (the one starting with md:).
[Screenshot: connection settings]
3) Open the Driver properties tab and add a property named motherduck_token with your TOKEN as its value.
[Screenshot: driver properties]
4) Click Test Connection. If DBeaver asks to download the DuckDB driver, allow it.
5) That's it! Click Finish and your connection is set. Your tables appear in the navigator on the left.
How to write SQL in DBeaver
1) Open DBeaver and select the connection you set up.
2) Go to SQL Editor → New SQL script.
[Screenshot: SQL editor]
3) You can write SQL in this window.
- Press Ctrl+Enter (Cmd+Enter on Mac) or click the play button to run your query
- Your database uses DuckDB SQL, which is very close to PostgreSQL. Most queries you've written before work unchanged
Troubleshooting
- Authentication error: check that your token was copied in full and that the property name is exactly
motherduck_token. - Wrong or empty database: make sure you used the DATABASE value starting with
md:, not an older Postgres connection.
More references & resources
- DuckDB SQL introduction - helpful guides on querying tables, joins and functions.
- Official DBeaver documentation - technical documentation for developers and BI experts.
- MotherDuck documentation - details on the cloud service behind BASIS 3.
On this page