For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
System StatusStart using Credal
  • Getting Started
    • Introduction
    • Quickstart
    • Video: Agent Building Basics
        • Overview
        • Initial Snowflake Setup
        • Query Approaches
        • Testing your solution
    • FAQs
  • Platform
    • Bulk Analysis
LogoLogo
System StatusStart using Credal
On this page
  • Step 1: Figure out what questions you want to ask
  • Step 2: Planning Your Approach
  • Tutorial Path
Getting StartedTutorials: Common First AgentsSnowflake Query Assistant

Creating a Snowflake Query Assistant

Was this page helpful?
Edit this page
Previous

Initial Snowflake Setup

Next
Built with

An exciting use-case we get asked about is the ability to query snowflake for relevant information. Building an assistant that can query and analyze snowflake data allows many people in your organization to get insights they normally would struggle to get. Let’s build this out!

Step 1: Figure out what questions you want to ask

Think about what metrics and analytics are requested most often, and what questions you’d like to get answered with data.

  1. Get Recent Data: Query to get up to date data on current metrics stored in a snowflake table
  2. Analyze Data: Let the snowflake agent query data and then run code to extract metrics.
  3. Queries: Allow the LLM to generate queries or run pre-defined query templates.

The snowflake action is quite powerful in unlocking new to users who wouldn’t otherwise have it.

Step 2: Planning Your Approach

Before building, consider these key questions:

  1. What tables and views does your agent need access to? Think about sensitive data and what you’d like the agent users to query
  2. Who will maintain it? Identify someone with Snowflake access who will keep the Agent updated with new views or query templates depending on your approach (will be explained in the next steps)

The beauty of Credal Agents is that you can start with a simple implementation and enhance it over time as you learn what works best for your team.

Tutorial Path

  1. Initial Snowflake Setup
  2. Query Approaches
  3. Testing your solution

Ready to build Version 1 of your snowflake assistant? Start with Initial Snowflake Setup.