LakeFusion MDM on Snowflake
LakeFusion MDM is a Snowflake Native App for master data management: entity resolution, golden records, data quality and stewardship. It runs entirely inside your Snowflake account. The app brings its own compute pool, warehouse, database and metadata store; nothing leaves your account, and users sign in with their Snowflake identity.
This page covers installing the app from the Snowflake Marketplace or from a private listing, day-to-day operation, upgrades, uninstall and troubleshooting.
Before you start
| Requirement | How to check or fix |
|---|---|
| Installing user has ACCOUNTADMIN (ORGADMIN is not enough) | USE ROLE ACCOUNTADMIN; |
| A warehouse is active in the session | CREATE WAREHOUSE IF NOT EXISTS COMPUTE_WH WAREHOUSE_SIZE = XSMALL AUTO_SUSPEND = 60; USE WAREHOUSE COMPUTE_WH; |
| Snowsight profile has first name, last name and email (Marketplace Get button only) | Click your avatar, then Profile. The SQL install does not need it. |
| Private listing only: your account is a target of the listing | Send LakeFusion the output of SELECT CURRENT_ORGANIZATION_NAME() || '.' || CURRENT_ACCOUNT_NAME(), CURRENT_REGION(); |
The app is available in every Snowflake region on AWS, Azure and Google Cloud. When your region differs from the one the app is published from, Snowflake first copies the app to your region; the listing page shows App Replicating for up to an hour before install is possible.
Install
From the Snowflake Marketplace
- In Snowsight, open Marketplace, search for LakeFusion MDM and open the listing.
- Click Get. The dialog shows the four account privileges the app needs (listed below). Accept them, pick a warehouse, and choose the application name. The default is LAKEFUSION_MDM; the rest of this page uses that name.
- When the install finishes, run START_APP as described under "Start the app".
From a private listing
If LakeFusion shared the app with your account directly, it appears under Data sharing, External sharing, Shared with you. Click Get there, or install with SQL:
USE ROLE ACCOUNTADMIN; USE WAREHOUSE COMPUTE_WH; CREATE APPLICATION LAKEFUSION_MDM FROM LISTING '<listing id from LakeFusion>'; SHOW GRANTS TO APPLICATION LAKEFUSION_MDM; -- expect CREATE COMPUTE POOL, BIND SERVICE ENDPOINT, CREATE DATABASE, CREATE WAREHOUSE
If any of the four privileges is missing:
Start the app
-- only if a database named LAKEFUSION_AI already exists in your account:
CALL LAKEFUSION_MDM.APP_PUBLIC.SET_CONFIG('snowflake_database', 'LAKEFUSION_DATA');
CALL LAKEFUSION_MDM.APP_PUBLIC.START_APP(); -- 6 to 15 minutes on first run
CALL LAKEFUSION_MDM.APP_PUBLIC.APP_URL(); -- the LakeFusion URLOpen the URL (or the Launch button on the app page in Snowsight), log in to Snowflake if asked, then click Snowflake on the LakeFusion login page. You are signed in as your Snowflake user; there is no separate password.
If you chose a different application name, replace LAKEFUSION_MDM in every command on this page. SHOW APPLICATIONS; lists the name.
Give the app access to your data
The app masters only the data you grant it. For each source database:
GRANT USAGE ON DATABASE sales TO APPLICATION LAKEFUSION_MDM; GRANT USAGE ON ALL SCHEMAS IN DATABASE sales TO APPLICATION LAKEFUSION_MDM; GRANT SELECT ON ALL TABLES IN DATABASE sales TO APPLICATION LAKEFUSION_MDM;
Verify the install: in LakeFusion, create a dataset from a table in one of the databases you granted. If the table list loads and the dataset saves, the app's Snowflake session, warehouse and database all work.
What the app creates and needs
Privileges requested at install:
| Privilege | Used for |
|---|---|
| CREATE COMPUTE POOL | one pool, <app name>_POOL, CPU_X64_M, 1 to 3 nodes, auto-suspend |
| BIND SERVICE ENDPOINT | the single HTTPS URL of the LakeFusion UI |
| CREATE DATABASE | LAKEFUSION_AI (or the name set with SET_CONFIG) for LakeFusion's own tables |
| CREATE WAREHOUSE | <app name>_WH, SMALL, auto-suspend 5 minutes |
Procedures (schema APP_PUBLIC, granted to the application role APP_USER):
| Procedure | What it does |
|---|---|
| START_APP() | creates the resources above, the 20 GiB metadata volume and the 12 services; safe to re-run, used after an upgrade |
| APP_URL() | returns the UI URL |
| SERVICE_STATUS() | lists the services and their state |
| STOP_APP() / RESUME_APP() | suspend / resume all services and the pool |
| RESTART_SERVICE('<name>') | suspend and resume one service |
| SET_CONFIG('snowflake_database', '<NAME>') | choose the data database name before the first START_APP |
Data handling: the app makes no connection outside your Snowflake account (no internet endpoints, no external functions, no external access integrations). It reads only the databases you grant it and writes to its own database. Application logs stay inside the app's services. Your data is not used to train models. The UI sets one session cookie and no third-party cookies. Every connection to the UI is authenticated by Snowflake first.
Operating
| Task | Command |
|---|---|
| Service status | CALL LAKEFUSION_MDM.APP_PUBLIC.SERVICE_STATUS(); |
| Stop (storage only billed) | CALL LAKEFUSION_MDM.APP_PUBLIC.STOP_APP(); |
| Resume (2 to 5 minutes, same URL) | CALL LAKEFUSION_MDM.APP_PUBLIC.RESUME_APP(); |
| Restart one service | CALL LAKEFUSION_MDM.APP_PUBLIC.RESTART_SERVICE('<name from SERVICE_STATUS>'); |
| Let another role open the UI | GRANT APPLICATION ROLE LAKEFUSION_MDM.APP_USER TO ROLE <role>; |
The compute pool, services and warehouse are owned by the app and do not appear under Admin, Compute. Use the Compute tab on the app page in Snowsight or SERVICE_STATUS. The pool runs while the app is started; call STOP_APP when idle to stop compute charges.
Cost. While started, the app bills one CPU_X64_M compute pool node (more under load, up to three), the SMALL warehouse when it runs queries, and storage for the 20 GiB metadata volume and the LakeFusion database. Stopped, only storage is billed.
Upgrades are opt-in: LakeFusion moves your account to a new version only in a window you confirm. After the application object upgrades, run START_APP again (it re-issues the services from the new images, about 5 minutes) and hard-refresh the browser. Database, metadata store, URL and grants are kept. To pull an upgrade early: ALTER APPLICATION LAKEFUSION_MDM UPGRADE;
Uninstall removes everything the app owns: the LakeFusion database, the compute pool, the warehouse, and the metadata volume together with the snapshot taken on deletion. Export what you need first, then:
Your own databases and the grants you made to other roles are not touched.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Listing shows App Replicating | The app is being copied to your region | Wait; usually under an hour. Then Get. |
| Private listing not visible, or FROM LISTING says not accessible | Account is not a target of the listing | Send LakeFusion your account identifier and region; retry after confirmation. |
| Get greyed out or "request sent to your admin" | Role is not ACCOUNTADMIN | USE ROLE ACCOUNTADMIN; or install with SQL. |
| Get asks you to complete your profile | Snowsight needs name and email for Marketplace installs | Fill the profile, or install with SQL. |
| Unknown user-defined function ...START_APP | The app was installed under another name | SHOW APPLICATIONS; and use that name. |
| Warehouse is required when installing an application | No active warehouse in the session | USE WAREHOUSE COMPUTE_WH; (create it first if needed). |
| Insufficient privileges to operate on account in START_APP | An account privilege was not granted | Run the four GRANT statements under "From a private listing". |
| Object 'LAKEFUSION_AI' already exists or no privileges on it in START_APP | A database of that name exists and the app does not own it | SET_CONFIG('snowflake_database', 'LAKEFUSION_DATA'), then START_APP. |
| START_APP slow, or SYSTEM$WAIT_FOR_SERVICES not READY | First pool node takes about 5 minutes; image pulls and health checks pending | Wait; check SERVICE_STATUS; START_APP is safe to re-run. A service FAILED for more than 10 minutes: RESTART_SERVICE, then contact support. |
| APP_URL returns https:// only | Endpoint still provisioning | Retry after 1 to 2 minutes. |
| Snowflake error page at the URL for a non-admin user | Role lacks the app role | GRANT APPLICATION ROLE LAKEFUSION_MDM.APP_USER TO ROLE <role>; |
| Blank page after login | Cached assets from an older version, or a script-blocking extension | Hard-refresh or use a private window; send console errors to support if it persists. |
| 401 missing Sf-Context-Current-User | URL reached without Snowflake's ingress (a proxy stripping headers) | Open the exact APP_URL directly. |
| Table list empty in LakeFusion | No grants on your source databases | Run the GRANT statements under "Give the app access to your data". |
| Compute page shows nothing for the app | App-owned objects are hidden from your roles | Compute tab on the app page, or SERVICE_STATUS. |
| Unreachable after suspending the pool manually | Services stopped behind the app's back | RESUME_APP; use STOP_APP and RESUME_APP instead of the pool. |
| Credits consumed while idle | Pool runs while the app is started | STOP_APP when idle. |
Support
Email support@lakefusion.ai with your account identifier, the app version (shown on the app page in Snowsight), the SERVICE_STATUS() output and the exact error text.