Quick Start
Create your first governance policy and deploy it in under 5 minutes.
Prerequisites
- Metatate installed and running (Installation)
- At least one table reference configured via
DATABASE_CATALOG - A warehouse configured via
APP_WAREHOUSE
Step 1: Open the Policy Editor
Navigate to the Policies page from the left sidebar. Click New Policy to open the policy editor.
Step 2: Describe Your Policy
In the natural language input, describe what you want to govern. For example:
"Protect customer PII in the CUSTOMERS table. Email and phone should be masked for non-admin roles. The table contains GDPR-regulated data and should only be used for customer support and analytics."
Click Generate — Metatate's AI (powered by Snowflake Cortex) will generate a structured YAML policy.
Step 3: Review the Generated Policy
The editor shows:
- YAML view — the full policy definition
- Visual review — a structured breakdown of each instruction
Review the generated policy. You can edit the YAML directly or regenerate with different instructions.
Step 4: Save and Deploy
- Click Save to store the policy
- Navigate to the Deployments page
- Select your policy and click Plan — the diff engine compares desired vs. deployed state
- Review the deployment plan (add/update/remove actions)
- Click Apply to deploy
Step 5: Verify
After deployment, the governance materializer populates 6 governance tables. Verify by:
- Checking the Catalog page — your table should show governance metadata
- Testing MCP tools — go to MCP Tools → Test Tools tab and run
discover-context
What Just Happened?
Your policy went through the full governance pipeline:
- AI Generation — Natural language → structured YAML policy
- Instruction Extraction — Policy → typed instructions (classification, masking, usage, etc.)
- Compilation — Diff engine compared desired state vs. deployed state
- Deployment — Policy state persisted to Snowflake
- Materialization — 6 governance tables rebuilt via atomic swap
- MCP — Governance data now available to AI agents via MCP tools
Next Steps
- Policies & Policy Editor — Deep dive into policy management
- MCP Server — Connect AI clients to your governance data
- Governance Framework — Understand the full pipeline