Ejento AI
GuidesQuickstartRecipes
REST APIsRelease NotesFAQs
GuidesQuickstartRecipes
REST APIsRelease NotesFAQs
Ejento AI
  1. Snowflake
  • Introduction
  • General
    • Employee Engagement With AI HR Assistant
    • Automate Blog Writing With AI Assistant
    • Customer Support With AI Assistants
  • Azure
    • Azure AI Search
    • Azure Cosmos DB
  • Snowflake
    • Snowflake
GuidesQuickstartRecipes
REST APIsRelease NotesFAQs
GuidesQuickstartRecipes
REST APIsRelease NotesFAQs
Ejento AI
  1. Snowflake

Snowflake

AI-powered Snowflake assistants can revolutionize how organizations interact with their data warehouses by providing natural language querying, automated data analysis, and intelligent insights generation. These assistants enable both technical and non-technical users to access and analyze data efficiently, reducing the burden on data teams while democratizing data access across the organization.

Prerequisites#

Before creating your Snowflake assistant, ensure you have:
Snowflake Account: Active account with credentials (Account, User, Password, Role, Warehouse)
MCP Server URL: Your deployed Snowflake MCP server endpoint (e.g., https://snowflake-mcp.azurewebsites.net/sse)
Database Access: Know which databases, schemas, and tables your assistant will access
Note: If you haven't deployed your MCP server yet, follow the Snowflake MCP Server Deployment Guide first.

Set up a Snowflake Data Analytics Assistant with Ejento AI#

Let's create a Snowflake analytics assistant using the Ejento AI builder integrated with MCP server technology. This assistant will help users query data, generate insights, and analyze information through natural language interactions.

1. Navigate to the assistants page from the sidebar#

Step 1 screenshot

2. Click on Add Assistant#

Step 2 screenshot

3. Select your project#

Step 3 screenshot

4. Describe what your agent can do#

Here, we are creating an agent that will help users query and analyze Snowflake data using natural language, therefore we provide the following:
"I want an assistant that helps users query and analyze data in Snowflake using natural language. It should execute SQL queries, provide data insights, and help users understand their data without requiring SQL knowledge."
Step 4 screenshot

5. Click on Add Assistant#

Step 5 screenshot

6. Click on the three dots to modify your agent's settings#

Step 6 screenshot

7. Click on dropdown trigger for edit option#

Step 7 screenshot

8. Click on Edit#

Step 8 screenshot

9. Edit the agent name to "Snowflake Agent"#

These are automatically generated by Ejento AI; you can edit them according to your requirements.
Step 9 screenshot

10. Click on Assistant role to modify prompt#

This is the most important step. The assistant will follow these instructions when responding to queries.
For our Snowflake Data Analyst assistant:
YOUR GOAL:
You are a Snowflake Data Analyst assistant with access to Snowflake databases through MCP tools. You help users query, analyze, and derive insights from data using natural language, while maintaining security and data governance.

CORE CAPABILITIES:
1. Natural Language to SQL: Convert questions into SQL queries
2. Data Analysis: Execute queries and provide insights and trends
3. Data Exploration: Discover tables, schemas, and data structures
4. Context Awareness: Remember the current database and table being discussed

PROCESS:
1. Understand User Intent
   - Clarify the data question or objective
   - Identify relevant databases, schemas, and tables
   - Remember the working context (current database/schema/table)

2. Build and Execute Queries
   - Always use fully qualified names: DATABASE.SCHEMA.TABLE
   - Use appropriate filters and limits
   - Execute queries using MCP tools

3. Present Results
   - Summarize findings clearly
   - Highlight key insights and patterns
   - Suggest follow-up analyses

4. Maintain Context
   - Remember which database and table you're working with
   - Don't ask for table names repeatedly if already discussed
   - Keep track of the conversation flow

IMPORTANT RULES:
- Always use fully qualified table names (DATABASE.SCHEMA.TABLE)
- When a table is mentioned, remember it for subsequent queries
- Execute queries immediately when you have enough information
- Limit results appropriately (default LIMIT 100)
- Present data in readable formats (tables, summaries)
- Never make up data - always execute queries

EXAMPLES:
User: "Show me data from the MENU table in SNOWFLAKE_LEARNING_DB"
You: [Execute query on SNOWFLAKE_LEARNING_DB.PUBLIC.MENU and present results]
     [Remember context: Working with SNOWFLAKE_LEARNING_DB.PUBLIC.MENU]

User: "How many rows are there?"
You: [Use SNOWFLAKE_LEARNING_DB.PUBLIC.MENU - don't ask which table]
     [Execute: SELECT COUNT(*) FROM SNOWFLAKE_LEARNING_DB.PUBLIC.MENU]

User: "What columns does it have?"
You: [Use SNOWFLAKE_LEARNING_DB.PUBLIC.MENU]
     [Execute: DESCRIBE TABLE SNOWFLAKE_LEARNING_DB.PUBLIC.MENU]
Step 10 screenshot

11. Click on Edit avatar to upload or generate an image#

Step 11 screenshot

12. Click on Assistant default model to choose between provided models#

Step 12 screenshot

13. Click on Assistant type to choose between the types.#

Step 13 screenshot

14. Add custom instructions as necessary#

For our Snowflake Agent:
- Use bold text, headings, bullet points, and tables to improve readability
- When presenting query results, format them as tables
- Always include the SQL query used (in a code block) before showing results
- Provide insights and analysis along with raw data
- Suggest relevant follow-up questions based on the data
Step 14 screenshot

15. Click on More options to view more features#

Step 15 screenshot

16. Click on switch to enable and add conversation starters#

Provide example questions users can ask to begin interacting, suhc as:
- What tables are available in the database?
- Show me the first 10 rows from [TABLE_NAME]
- How many records are in [TABLE_NAME]?
- What columns does [TABLE_NAME] have?
Step 16 screenshot

17. Click on Update assistant once changes are made#

Step 17 screenshot

Enable Snowflake MCP on the agent#

1. Click on dropdown trigger#

Step 1 screenshot

2. Click on Assistant Tools#

Step 2 screenshot

3. Search for tool name#

Step 3 screenshot

4. Enable the Snowflake MCP toggle#

Step 4 screenshot

Testing Your Snowflake Assistant#

Now that your Snowflake Data Analyst is set up:
1.
Test with your data: Run queries against your actual Snowflake tables
2.
Train your team: Share conversation starters and best practices
3.
Monitor usage: Review query patterns and optimize permissions
4.
Expand capabilities: Add more tools or integrate with BI platforms

Key Features#

✅ Natural Language Querying: Ask questions in plain English
✅ Context Awareness: Remembers which database and table you're working with
✅ Secure Access: Uses your MCP server's permissions and authentication
✅ Data Insights: Provides analysis along with raw data
✅ SQL Transparency: Shows the SQL queries being executed
Previous
Azure Cosmos DB