Snowflake lets the AI run SQL, look at your databases and warehouses, and query governed semantic views.
What you can ask for#
List the schemas in ANALYTICS and show the available warehouse.
Run this read-only query with a 100-row limit and chart the result.
Show monthly revenue from the semantic view.
Connect Snowflake#
Step 1: Find the connector
Open Tools, then Connectors, and search for Snowflake. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in Programmatic access token, Account identifier and OAuth role. Hidden fields show as dots; use the eye icon to check what you typed. Enter the account identifier in the form organisation-account.region, and the name of the role the token should use.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Snowflake for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
In Snowflake, create a programmatic access token for a user with a role limited to what the app needs, and note your account identifier. Enter the role name in OAuth role.
What the AI can and can't do#
- Submit SQL, check on it, fetch results in parts and cancel it.
- List databases, schemas and warehouses and query semantic views.
- Disconnecting does not cancel queries already running or delete Snowflake objects.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
Snowflake rejects the request.
Check the account identifier, role, token and warehouse privileges.
A query is slow.
Check the warehouse is running and use a smaller date range.
The token expired.
Create a new token in Snowflake and update the connection.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
SQL statement lifecycle
Submit, poll, partition, and cancel SQL statements.
Warehouse objects
List databases, schemas, and warehouses.
Semantic views
Query governed metrics and dimensions with read-only SQL.
More in Data & analytics
Still stuck?
A person from Swarmz Support can take a look.