MotherDuck (DuckDB)

Prerequisites

To connect DuckDB to Chat Ur Data, you need the following:

  • A DuckDB database hosted by MotherDuck

MotherDuck hosts serverless instances of DuckDB. Accounts are free to create: https://motherduck.com/

Connect DuckDB to Chat Ur Data

  1. Click on "Connect" or "More Options" from the main chat page

  1. Select Motherduck from the list

  2. Enter your service token (this can be found in the Settings menu of your MotherDuck console)

  1. Click "Save" and Chat Ur Data will connect to your database and start training your first 10 tables automatically

FAQs

Can I connect Chat Ur Data to my database running on localhost?

Chat Ur Data runs in the cloud and connects to data sources via the internet. If you are running a database on your local machine, it is not exposed to the internet by default. While this is possible with advanced networking tools, it is a very dangerous action.

It is much safer to use a hosted database provider or cloud-native data warehouse to connect Chat Ur Data.

Last updated