# Neo4j Virtual Graph on Snowflake

DevFeed: [Neo4j Virtual Graph on Snowflake](<https://devfeed.tech/articles/neo4j-virtual-graph-on-snowflake-86549.md>)

Original publisher: [Read original article](<https://medium.com/snowflake/neo4j-virtual-graph-on-snowflake-bee771442fe1?source=rss----34b6daafc07---4>)

Author: Benton Lackey

Published: 2026-10-13T14:01:05Z

Content type: tutorial

Language: en

Sources: [Snowflake Builders](<https://devfeed.tech/sources/snowflake-builders.md>)

Topics: [Neo4j](<https://devfeed.tech/topics/neo4j.md>), [graph-database](<https://devfeed.tech/topics/graph-database.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [graph](<https://devfeed.tech/tags/graph.md>), [graph-database](<https://devfeed.tech/tags/graph-database.md>), [knowledge-graph](<https://devfeed.tech/tags/knowledge-graph.md>), [neo4j](<https://devfeed.tech/tags/neo4j.md>), [snowflake](<https://devfeed.tech/tags/snowflake.md>), [virtual-graph](<https://devfeed.tech/tags/virtual-graph.md>)

## AI overview

Neo4j Aura Virtual Graph can expose Snowflake data as a graph without copying it. The walkthrough uses Snowflake's eight-table TPC-H sample dataset: create a service account and reader role with database/schema usage and table-read grants, generate an RSA key pair, and set the public key on the account. In Aura, create a Virtual Graph instance, select Snowflake, enter connection details such as host, database, schema, warehouse, and role, then let Aura load the table schemas and generate a graph schema. After deployment, the data can be explored with Neo4j's Query tool or Bloom BI. The article characterizes this as a lightweight way to get started on existing warehouse data, but the example is synthetic and the excerpt gives no comparative evidence for its claim of lower total cost.

## Source excerpt

Neo4j is the leading graph database. It makes it easy to create knowledge graphs and enterprise knowledge layers, leveraging the connections in existing data. One way to accomplish this is with the Virtual Graph feature in Neo4j Aura. This creates a virtual graph on top of Snowflake without the need to copy data. This approach reduces time to value and provides a lower TCO than alternatives. In this blog post, we'll look at a sample dataset in Snowflake. We'll then set up Virtual Graph running on top of it. Setup Snowflake If you don't already have a Snowflake account, it's easy to signup for a free trial. Snowflake Sample Data Snowflake then has some really great sample datasets. We're going to use the TPC-H dataset. It has a really neat data model based on a hypothetical business with parts, customers, suppliers and so on. The dataset has 8 tables and a graph structure implicit in it. You're going to need to create a service account for this to work. You can do something like this: CREATE USER IF NOT EXISTS VIRTUAL_GRAPH_SERVICE_ACCOUNT TYPE = SERVICE; CREATE ROLE VIRTUAL_GRAPH_READER; GRANT USAGE ON DATABASE SNOWFLAKE_SAMPLE_DATA TO ROLE VIRTUAL_GRAPH_READER; GRANT USAGE ON SCHEMA SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 TO ROLE VIRTUAL_GRAPH_READER; GRANT SELECT ON ALL TABLES IN SCHEMA SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 TO ROLE VIRTUAL_GRAPH_READER; GRANT ROLE VIRTUAL_GRAPH_READER TO USER VIRTUAL_GRAPH_SERVICE_ACCOUNT; You will need to create a key on the command line. A command like this should do it: openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out snowkey.p8 -nocrypt openssl rsa -in snowkey.p8 -pubout -out snowkey.pub Then you would need to assign that key in Snowflake: ALTER USER VIRTUAL_GRAPH_SERVICE_ACCOUNT SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...your_key_here...'; More detail is in the Quick Start here. Setup Neo4j Much as Snowflake offers a free trial, so does Neo4j. You can signup here. Once you've logged in, you'll be presented with a view to create an instance.