Quickstart

Connect an agent to Vuon and watch your first query get checked. This takes about fifteen minutes with Claude Code or Cursor. If you're wiring up a production bot that many people talk to, follow Connect your data agent instead.

Before you start

  • A Vuon workspace with your warehouse connected under Settings → Databases. See Data warehouses.
  • The Vuon server and your warehouse's governed query server enabled for the workspace. Both are off by default; ask support@vuon.ai.
  • A workspace admin, to create the client and its key.

Step 1: Create a client

A client is how Vuon tells one agent apart from another. Create one per agent.

  1. Go to Settings → Databases, open your warehouse, and find Outside agents.
  2. Click New client, name it after your agent, and leave the enforcement mode on Observe.
  3. Click Create and add a key, and copy the MCP config Vuon shows you. The key is shown once.

Step 2: Add the servers to your agent

The config has two servers with the same key: the Vuon server for context and metrics, and your warehouse's governed query server for running SQL. Paste it into your agent's MCP settings, or add the servers from the command line. This example uses BigQuery; for other warehouses, change the last path segment to snowflake, databricks, or redshift.

Claude Code

claude mcp add --transport http vuon https://<workspace>.vuon.ai/api/mcp \
  --header 'Authorization: Bearer sk_live_YOUR_KEY'

claude mcp add --transport http vuon-bigquery https://<workspace>.vuon.ai/api/mcp/bigquery \
  --header 'Authorization: Bearer sk_live_YOUR_KEY' \
  --header 'X-Vuon-Environment: development'

Remove your warehouse's own MCP server from the agent's config. The tool names are the same, and only Vuon's server checks and records the agent's queries.

Step 3: Ask a question

Ask the agent something that needs your data, such as "What was revenue by country last month?" It will use the Vuon server to find the right tables and metrics, then run SQL through the governed query server.

Step 4: See what happened

Open Settings → Query checks and filter by your client. Each query shows its SQL, what the checker found, and whether it would have been blocked. In Observe, nothing is blocked yet; the record shows what Standard or Strict would have done.

When the record looks right, move the client to Standard or Strict so Vuon blocks bad queries and tells the agent how to fix them. See Enforcement modes.


Next steps

Was this page helpful?