Skip to main content
This guide shows you how to add Snow Leopard data retrieval to a LangGraph workflow.

Prerequisites

Don’t have data? Load the sample Northwind dataset into a PostgreSQL database that Snow Leopard Cloud can reach, such as a hosted Neon or Supabase database. Run the dataset’s northwind.sql script against your database, then add the database as a data source in your instance.

Start from scratch

Clone and run the complete working example:
Install dependencies:
Set your environment variables:
Run the example:

Bring your own agent

Already have a LangGraph workflow? Add Snow Leopard data retrieval with these steps.

1. Install dependencies

2. Add Snow Leopard fields to your state

Add fields to your graph state to store query results:

3. Create a Snow Leopard query node

Create a node that calls Snow Leopard to retrieve data:

4. Add the node to your workflow

Add the query node and connect it to your existing workflow:

Next steps