Copy your MotherDuck service token

Follow the steps in this section of the MotherDuck documentation.

Set up a Workspace integration

When inside a workspace, click View > Databases, then click the + icon and follow the on-screen instructions.
The "Database Name" configuration is optional. If you configure it, the connection will by default connect to that database, but other databases are still accessible.

Query the database

You can now query your MotherDuck database with a SQL cell. Select it in the Select source dropdown in the top left corner of a SQL cell.