Skip to main content
Version: v2.6

Installation and Update

Prerequisites​

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
Snowflake Marketplace

Alternatively, contact your MEHRWERK sales representative and provide them with the following information:

Warehouses​

Installing and using the app involves setting up various warehouses.

PurposeWarehouse Size
Installation
(Click to zoom)
(Click to zoom)
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
(Click to zoom)
(Click to zoom)
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.
Background Tasks
(Click to zoom)
(Click to zoom)
This warehouse is selected during the initial setup, but can be changed later. The default warehouse is used to run small tasks in the background. It is also used as a fallback for the process mining task. We recommend that you select a warehouse of size XSMALL and overwrite the process mining warehouse per scenario with a warehouse of an appropriate size for your dataset, as shown below.
Process Mining
(Click to zoom)
(Click to zoom)
This warehouse is used for process mining and can be configured with a warehouse of an appropriate size for each scenario , depending on your data set. See Task Execution and History » Task Execution Warehouse

Roles and permissions​

OWNER role​

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.

  1. Create MPMX_ADMIN account role

    Create Role
    Create Role
  2. Grant global privileges to MPMX_ADMIN

    Grant Global Privileges
    Grant Global Privileges

ACCOUNTADMIN role​

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.

Snowflake Documentation » Access control privileges » Global privileges (account-level privileges)

ACCOUNTADMIN Privileges
ACCOUNTADMIN Privileges

Installation​

You can find the mpmX Snowflake app as a privately shared listing in your Snowflake account.

  1. Make sure that your current role is correct, as this role will be the OWNER of the application after installation.

    You can see your current role in the bottom left corner

    Current User Role
    Current User Role
  2. Click on the "Get" button.

    Privately Shared Listings » mpmX
    Privately Shared Listings » mpmX
  3. Choose a warehouse to be used during the installation.

    Choose a Warehouse
    Choose a Warehouse
  4. If you want to change the application name, expand the Options block and enter the appropriate name.

    Continue with the "Get" button.

  5. The installation will take a moment and then you will see a confirmation screen telling you that the installation was successful.

    Click on "Configure" to open the application for the first time.

    Successfully Installed Pop-Up
    Successfully Installed Pop-Up
  6. The first time you access the application, you will be asked to select a warehouse from which to run the process mining.

    Warehouse USAGE Privilege
    Warehouse USAGE Privilege
  7. You will also need to grant the EXECUTE TASK privilege to allow for the scheduling of the process mining. This requires an ACCOUNTADMIN user.

    EXECUTE TASK Privilege
    EXECUTE TASK Privilege

This completes the setup and you are ready to take the first steps, e.g. create a process scenario.

Update​

When an updated version is provided for your account, it will be installed automatically.

Current version​

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
Data Products » Apps