Free cookie consent management tool by TermsFeed Connect Mining Prep and Process Mining [Process Mining v5.9]
Page not found in the selected version; redirected to the home page.
Connect Mining Prep and Process Mining
Process Mining is deprecated with Appian 24.2 and will no longer be available in an upcoming release.

Instead, we encourage customers to use Process HQ to explore and analyze business processes and data.

Mining Prep and Process Mining complement each other to show you opportunities to improve your business processes. Mining Prep is where you prepare and transform your event data, while Process Mining is the tool that analyzes that data and visualizes both the discovered and target models.

This page discusses how to connect Mining Prep and Process Mining to seamlessly transfer the transformed data and analyze it.

Running Mining Prep and Process Mining on the same server

As both Mining Prep and Process Mining require SSL encryption for productive use, you will need to modify the ports for the nginx proxy on one of the two applications.

We recommend running Mining Prep under a port other than 443 by modifying the docker-compose.yml file in the Mining Prep installation folder:

1
2
3
4
5
6
7
8
services:
...
  nginx:
    image: "$NGINX_IMAGE"
    hostname: nginx
    ports:
    #  - "80:8080"
      - "9443:8443"

This would make Mining Prep reachable on port 9443.

System connectivity

To establish the connection between Mining Prep and Process Mining, you need to update the prep_config.yaml file in the Mining Prep installation directory.

The following block defines the instances you can run the transformation and upload the logs to:

1
2
3
4
5
mining:
  instances:
    - name: "Example Process Mining"
      url: "https://mining.example.com/"
  trust_unknown_ca: false

Replace https://mining.example.com with your own Process Mining installation URL.

Next, you may need to set up the server to trust the certificate you're using for Process Mining, since the connection will be done over cURL.

To do this, you can also enable a setting to trust any certs using the following entry in the same file:

1
  trust_unknown_ca: true

After you configured this in your Mining Prep installation and restarted the rukh.local service, the Process Mining instance will show up the dropdown when you run a transformation.

Connect Mining Prep and Process Mining via API

When you prepare to transform and load data from Mining Prep to Process Mining, Mining Prep automatically populates your Process Mining API key for you. Appian recommends using the automatically populated key, but you can manually update it if necessary.

You can find your API Key in the settings section of Process Mining.

  1. Go to Process Mining.
  2. Click More pm-expand-icon.png to expand the navigation menu.
  3. In the Account section, select Edit Profile.
  4. In the API Key section, click Copy API Key pm-copy-api-icon.png.
  5. Go to Mining Prep.
  6. Select a transformation project and click Transform & Load.
  7. Paste the key into the empty field on the Customize API Key dialog window.
  8. Click Ok.

Note:  Protect your API key as you do with all your private credentials. Publicly exposing your credentials can result in your account being compromised. To help keep your API key secure, do not share your API key or embed API keys directly in code. API keys that are embedded in code can be accidentally exposed to the public. You can renew your API key in your user settings.

Switch between Process Mining and Mining Prep

The navigation menu contains a link from Process Mining to Mining Prep and vice versa. This allows you to quickly switch from one module to another.

Navigation menu

To access the navigation menu, you must configure the miningBaseUrl option during installation.

Connect Mining Prep and Process Mining

FEEDBACK