Snowflake
Connect Snowflake to Wobby
Connect Snowflake to Wobby
To connect your Snowflake instance to Wobby, follow these steps:
Create a dedicated role and user.
Grant read-only access to your data.
Optionally allow access to query history or shared databases.
Set up the connection in the Wobby interface.
⚠️ Wobby’s agents only run read-only queries on your data. No write permissions are required.
1. Create Role and User in Snowflake
This setup defines a technical user and role for Wobby to use. Replace placeholder values with your actual warehouse name and a secure password.
-- Create role and user
CREATE ROLE wobby_role;
CREATE USER wobby_user
PASSWORD = '<your_secure_password>' -- Define a secure password
DEFAULT_WAREHOUSE = example_wh -- Use your existing warehouse
DEFAULT_ROLE = wobby_role;
-- Link the role to the user
GRANT ROLE wobby_role TO USER wobby_user;
-- Allow warehouse usage
GRANT USAGE ON WAREHOUSE example_wh TO ROLE wobby_role;✅ It’s okay to use a shared warehouse (like
example_wh) to save on compute costs. A small size (likeXS) is typically sufficient.
2. Grant Read-Only Access to Data
Wobby only needs access to specific schemas or tables you want to expose—typically reporting or analytics tables.
To allow Wobby agents to detect relationships between tables (via foreign keys), ensure the role has access to INFORMATION_SCHEMA.KEY_COLUMN_USAGE.
Wobby will use this to interpret how your tables are linked, which improves question understanding and chart logic.
🔐 This gives Wobby read-only access to the full schema, including all present and future tables, views, and materialized views.
3. Optional Grants
For Shared Databases
If you're using a shared database (e.g. from a data provider or marketplace):
Grant Metadata Access for Foreign Keys
To allow Wobby agents to detect relationships between tables (via foreign keys), ensure the role has access to INFORMATION_SCHEMA.KEY_COLUMN_USAGE.
Wobby will use this to interpret how your tables are linked, which improves question understanding and chart logic.
For Query History (Optional)
If you want Wobby to access account-level query history or metadata:
4. Allow Wobby’s IP Address
If your Snowflake server is protected by firewall or network rules, allow inbound traffic from Wobby’s static IP:
5. Set Up the Connection in Wobby
Click Connections → Plus button → Select Snowflake.
Fill in the following details:
Account name: your Snowflake account identifier
Warehouse: the warehouse assigned to
wobby_userDatabase & Schema: the ones Wobby should query
Username:
wobby_userPassword: the one you set earlier
Test the connection and save.
That’s It!
Wobby is now connected to Snowflake and can start delivering insights with natural language queries—no SQL or dashboards needed.
Last updated
Was this helpful?