The Snowflake native app can be installed via the Snowflake Marketplace. Simply search for mpmX - Process Mining for Snowflake and follow the setup instructions.
Snowflake Marketplace
Alternatively, contact your MEHRWERK sales representative and provide them with the following information:
Installing and using the app involves setting up various warehouses.
Purpose
Warehouse Size
Installation
An XSMALL warehouse is sufficient for this task. In most cases, a default warehouse has been set up for your user. This will then be used here.
Using the app
The Native App uses Streamlit to display the configuration UI, which in turn requires a warehouse to operate. The warehouse size XSMALL is sufficient here.
Process Mining/Background Task
This warehouse is selected during the initial setup, but can be changed later. The appropriate warehouse size depends largely on your event logs (data sets) and your time requirements.
For the installation of the mpmX Snowflake App, it is recommended to create an account role MPMX_ADMIN, which will be the OWNER of the application after installation.
In order for the app to be installed, the MPMX_ADMIN role must first be given the CREATE APPLICATION and IMPORT SHARE permissions.
Snowflake Web UI (Snowsight)
SQL
Create MPMX_ADMIN account role
Create Role
Grant global privileges to MPMX_ADMIN
Grant Global Privileges
CREATE ROLE IFNOTEXISTS MPMX_ADMIN COMMENT='mpmX Admin'; GRANTCREATE APPLICATION ON ACCOUNT TO ROLE MPMX_ADMIN; GRANTIMPORTSHAREON ACCOUNT TO ROLE MPMX_ADMIN;
Since the Native App uses Tasks to regularly run its application logic, you will be asked to select a warehouse to be used by the tasks and you also have to grant the Native App the EXECUTE TASK privilege to allow for the scheduling of the tasks. This privilege can only be granted by an ACCOUNTADMIN.
To view the current version of your app in Snowsight navigate to Data Products » Apps. Note, that the version is only shown in the List view.
Data Products » Apps
To check the current version of your app by running the following SQL statement.
BEGIN SHOW APPLICATIONS; LET res RESULTSET :=( SELECT"name"AS application ,"version"||'.'||"patch"AS version FROMTABLE(RESULT_SCAN(LAST_QUERY_ID())) WHERE"source"='GZSYZPF2MY' ); RETURNTABLE(res); END;