# MotherDuck

Connect MotherDuck to give Herald’s SRE agent the ability to query your cloud DuckDB databases. During investigations, the agent can run SQL to analyze data and surface relevant insights.

**The agent can:**

- Execute DuckDB SQL queries against your MotherDuck databases and return results as a table

| Parameter | Description |
| --- | --- |
| **Access Token** | Your MotherDuck access token (e.g., `duckdb_eyJhbGci...`). Find it under **Settings** in your MotherDuck account. |

**Optional parameters**

| Parameter | Description |
| --- | --- |
| **Database Name** | The name of a specific MotherDuck database to connect to (e.g., `infra_logs`). If left blank, the agent connects to your default database. |
| **Rules / Instructions** | Free-form instructions that guide the agent on how to use this integration (e.g., `"Always query the events table in read-only mode"`). |
