DOCS / SNOWFLAKE NATIVE APP

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

RequirementHow to check or fix
Installing user has ACCOUNTADMIN (ORGADMIN is not enough)USE ROLE ACCOUNTADMIN;
A warehouse is active in the sessionCREATE 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 listingSend 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

  1. In Snowsight, open Marketplace, search for LakeFusion MDM and open the listing.
  2. 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.
  3. 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:

GRANT CREATE COMPUTE POOL ON ACCOUNT TO APPLICATION LAKEFUSION_MDM;
GRANT BIND SERVICE ENDPOINT ON ACCOUNT TO APPLICATION LAKEFUSION_MDM;
GRANT CREATE DATABASE ON ACCOUNT TO APPLICATION LAKEFUSION_MDM;
GRANT CREATE WAREHOUSE ON ACCOUNT TO APPLICATION LAKEFUSION_MDM;

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 URL

Open 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:

PrivilegeUsed for
CREATE COMPUTE POOLone pool, <app name>_POOL, CPU_X64_M, 1 to 3 nodes, auto-suspend
BIND SERVICE ENDPOINTthe single HTTPS URL of the LakeFusion UI
CREATE DATABASELAKEFUSION_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):

ProcedureWhat 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

TaskCommand
Service statusCALL 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 serviceCALL LAKEFUSION_MDM.APP_PUBLIC.RESTART_SERVICE('<name from SERVICE_STATUS>');
Let another role open the UIGRANT 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:

CALL LAKEFUSION_MDM.APP_PUBLIC.STOP_APP();
DROP APPLICATION LAKEFUSION_MDM CASCADE;

Your own databases and the grants you made to other roles are not touched.

Troubleshooting

SymptomCauseFix
Listing shows App ReplicatingThe app is being copied to your regionWait; usually under an hour. Then Get.
Private listing not visible, or FROM LISTING says not accessibleAccount is not a target of the listingSend LakeFusion your account identifier and region; retry after confirmation.
Get greyed out or "request sent to your admin"Role is not ACCOUNTADMINUSE ROLE ACCOUNTADMIN; or install with SQL.
Get asks you to complete your profileSnowsight needs name and email for Marketplace installsFill the profile, or install with SQL.
Unknown user-defined function ...START_APPThe app was installed under another nameSHOW APPLICATIONS; and use that name.
Warehouse is required when installing an applicationNo active warehouse in the sessionUSE WAREHOUSE COMPUTE_WH; (create it first if needed).
Insufficient privileges to operate on account in START_APPAn account privilege was not grantedRun the four GRANT statements under "From a private listing".
Object 'LAKEFUSION_AI' already exists or no privileges on it in START_APPA database of that name exists and the app does not own itSET_CONFIG('snowflake_database', 'LAKEFUSION_DATA'), then START_APP.
START_APP slow, or SYSTEM$WAIT_FOR_SERVICES not READYFirst pool node takes about 5 minutes; image pulls and health checks pendingWait; 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:// onlyEndpoint still provisioningRetry after 1 to 2 minutes.
Snowflake error page at the URL for a non-admin userRole lacks the app roleGRANT APPLICATION ROLE LAKEFUSION_MDM.APP_USER TO ROLE <role>;
Blank page after loginCached assets from an older version, or a script-blocking extensionHard-refresh or use a private window; send console errors to support if it persists.
401 missing Sf-Context-Current-UserURL reached without Snowflake's ingress (a proxy stripping headers)Open the exact APP_URL directly.
Table list empty in LakeFusionNo grants on your source databasesRun the GRANT statements under "Give the app access to your data".
Compute page shows nothing for the appApp-owned objects are hidden from your rolesCompute tab on the app page, or SERVICE_STATUS.
Unreachable after suspending the pool manuallyServices stopped behind the app's backRESUME_APP; use STOP_APP and RESUME_APP instead of the pool.
Credits consumed while idlePool runs while the app is startedSTOP_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.