---
title: How to Install PIE with the Credit Card Dispute PAMlet
description: Install and configure a Process Improvement Environment (PIE) on a local machine along with a demonstration application. In this case, the CCD (Credit Card Dispute) demo.
image: https://blog.leonardo.com.au/hubfs/image-110.png
---

[![LeonardoUST_CMYK-1](https://blog.leonardo.com.au/hubfs/LeonardoUST_CMYK-1.svg "LeonardoUST_CMYK-1")](https://www.leonardo.com.au/)

[![Talk to Us](https://no-cache.hubspot.com/cta/default/430417/7eb77b0e-c703-49d8-930c-a6d73a5e986f.png)](https://cta-redirect.hubspot.com/cta/redirect/430417/7eb77b0e-c703-49d8-930c-a6d73a5e986f)

![cross-icon](https://blog.leonardo.com.au/hubfs/cross-icon.svg?t=1536031936288 "cross-icon")

![business-design](https://blog.leonardo.com.au/hubfs/business-design.svg "business-design")

###### [Business Design](https://www.leonardo.com.au/business-design-consulting-advisory)

![process-automation](https://blog.leonardo.com.au/hubfs/process-automation.svg "process-automation")

###### [Process Automation](https://www.leonardo.com.au/process-automation)

![data-integration](https://blog.leonardo.com.au/hubfs/data-integration.svg "data-integration")

###### [Integration & API](https://www.leonardo.com.au/integration)

![platform-engineering](https://blog.leonardo.com.au/hubfs/platform-engineering.svg "platform-engineering")

###### [Platform Engineering](https://www.leonardo.com.au/platform-engineering)

![Event_bg](https://cdn2.hubspot.net/hub/3842749/hubfs/Backgrounds%20/Event_bg.jpg?width=2000&name=Event_bg.jpg "Event_bg")

# The Leonardo Blog

## [How to Install PIE with the Credit Card Dispute PAMlet](https://blog.leonardo.com.au/how-to-install-pie-with-credit-card-dispute-pamlet)

Written by [Terry Lee](https://blog.leonardo.com.au/author/terry-lee) On July 30, 2019

[** ](https://www.linkedin.com/in/terryleelo)

- [Automation (2)](https://blog.leonardo.com.au/topic/automation)
- [bpm (3)](https://blog.leonardo.com.au/topic/bpm)
- [BPM - Business Process Management (111)](https://blog.leonardo.com.au/topic/bpm-business-process-management)
- [BPM/EA Technology (25)](https://blog.leonardo.com.au/topic/bpmea-technology)
- [Business Innovation (5)](https://blog.leonardo.com.au/topic/business-innovation)
- [CXM (1)](https://blog.leonardo.com.au/topic/cxm)
- [EA - Enterprise Architecture (7)](https://blog.leonardo.com.au/topic/ea-enterprise-architecture)
- [Intergration (12)](https://blog.leonardo.com.au/topic/intergration)

- [**](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fblog.leonardo.com.au%2Fhow-to-install-pie-with-credit-card-dispute-pamlet)
- [**](https://www.twitter.com/share?url=https%3A%2F%2Fblog.leonardo.com.au%2Fhow-to-install-pie-with-credit-card-dispute-pamlet)
- [**](http://www.linkedin.com/shareArticle?mini=true&url=https://blog.leonardo.com.au/how-to-install-pie-with-credit-card-dispute-pamlet)

[All Posts](https://blog.leonardo.com.au)

# How to Install PIE with the Credit Card Dispute PAMlet

- [Tweet](https://twitter.com/share)

> PIE and the associated PAMlets are installed using the Leonardo cdk-setup-config script available from the Leonardo Public Gitbucket.
> 
> There are a number of pre-requisites necessary to be able support PIE. These include:
> 
> 1. An Apple MacBook with at least 16 GB of RAM.
> 2. 25 Gb of free disk space per PIE.
> 3. A Red Hat developers account. Accounts can be created from here.
> 4. VirtualBox v6.0 or higher. VirtualBox can be downloaded from here.
> 5. The Git client needs to be installed (may be default with OS)
> 6. The Wget client needs to be installed.
> 
> Once you have confirmed the above and downloaded the cdk-setup-config script follow the instructions below. The script will download, install and configure cdk along with all the necessary PAM and UI components.
> 
> NOTE: the Credit Card Dispute PAMlet downloads approximately 5.8 Gb of necessary files

## Step 1 - Download Leoanrdo's PIE cdk-config Script

### Step 1.1

Move to the folder where you wish to install PIE installer (e.g. ~/PIE)

| `$ ``mkdir` `~``/pie` `$ ``cd` `~``/pie` |
| --- |

### Step 1.2

[![Access 'lc-cdk-setup-config' at Bitbucket](https://no-cache.hubspot.com/cta/default/430417/665b71cf-5804-4efb-9fbd-96f768c92b5d.png)](https://cta-redirect.hubspot.com/cta/redirect/430417/665b71cf-5804-4efb-9fbd-96f768c92b5d)

Obtain a local copy of the cdk-setup-config script from [Leonardo Public Gitbucket](https://bitbucket.org/leonardo-consulting/lc-cdk-setup-config/). If your machine does not have Git install, you can just download the "cdkget-setup-config.sh" script to your local machine.

| `pie $ git clone https:``//bitbucket``.org``/leonardo-consulting/lc-cdk-setup-config``.git` `Cloning into ``'cdk-setup-config'``... remote:` `Counting objects: 48, ``done``. remote:` `Compressing objects: 100% (48``/48``), ``done``. remote:` `Total 48 (delta 20), reused 0 (delta 0)` `Unpacking objects: 100% (48``/48``), ``done``.` |
| --- |

## Step 2 - Execute the script and follow the prompt to choose your PAMlet

### Step 2.1

Change into the directory for the cdk-setup-config script and Execute the script

| `pie $ ``cd` `lc-cdk-setup-config` `cdk-setup-config $ .``/cdkget-setup-config``.sh`   `[EXECUTING]: ``mkdir` `-p ~``/cdk390/bin` `[EXECUTING]: curl -w``'%{http_code}'` `https:``//lss-cdk``.s3-ap-southeast-2.amazonaws.com``/` `cdk-3``.9.0-1-minishift-darwin-amd64 -o ~``/cdk390/bin/cdk-3``.9.0-1.minishift-darwin-amd64` `  ``% Total    % Received % Xferd Average Speed Time Time Time Current` `                             ``Dload Upload Total Spent Left Speed` `100  470M  100  470M    0 0 7230k 0 0:01:06 0:01:06 --:--:-- 4069k`   `[EXECUTING]: ``cp` `/Users/admin/cdk390/bin/cdk-3``.9.0-1-minishift-darwin-amd64 ``/Users/admin/cdk390/bin/minishift` `&& ``chmod` `+x ``/Users/admin/cdk390/bin/minishift`   `[EXECUTING]: ``export` `PATH=``/Users/admin/cdk390/bin``:``/usr/local/bin``:``/usr/bin``:``/bin``:``/usr/sbin``:``/sbin` ```:``/Users/admin/bin``:``/Users/admin/bin` `[INFO] minishift binary is ``/Users/admin/cdk390/bin/minishift` `[EXECUTING]: ``export` `MINISHIFT_HOME=``/Users/admin/cdk390/minishift` `Current ~/.bashrc MINISHIFT_HOME is ``set` `as [``/Users/admin/cdk390/minishift``]` `[EXECUTING]: ``/Users/admin/cdk390/bin/minishift` `setup-cdk --minishift-home ``/Users/admin/cdk390/minishift` `Setting up CDK 3 on host using ``'/Users/admin/cdk390/minishift'` `as Minishift's home directory` `Copying minishift-rhel7.iso to ``'/Users/admin/cdk390/minishift/cache/iso/minishift-rhel7.iso'` `Copying oc to ``'/Users/admin/cdk390/minishift/cache/oc/v3.11.104/darwin/oc'` `Creating configuration ``file` `'/Users/admin/cdk390/minishift/config/config.json'` `Creating marker ``file` `'/Users/admin/cdk390/minishift/cdk'` `Default add-ons anyuid, admin-user, xpaas, registry-route, che, htpasswd-identity-provider, eap-``cd` `installed` `Default add-ons anyuid, admin-user, xpaas enabled` `CDK 3 setup complete.` `[EXECUTING]: ``export` `MINISHIFT_HOME=``"/Users/admin/cdk390/minishift"` `[INFO] MINISHIFT_HOME=``/Users/admin/cdk390/minishift` |
| --- |

### Step 2.2

As the cdk-setup-config script runs, provide the necessary details as prompted:

- Entering "1" - Allocates **1** vcpu for the Minishift VM;
- Entering "2" - Allocates **2** vcpus for the Minishift VM (Recommended);
- Entering "4" - Allocates **4** vcpus for the Minishift VM.

| `[Please enter the required information ``for` `your minishift VM configuration]`   `Minishift CPUs to be configured [1\|2\|4]: 2` |
| --- |

### Step 2.3

Based on the table in the Prerequisites section above, select the amount of RAM you want to allocate (10 GB is recommended when you want to edit a PAMlet in the DEV PIE/dev-sandbox).

| `Minishift RAM (GB) to be configured [6\|8\|10\|12\|16]: 10` |
| --- |

### Step 2.4

You will then be prompted to select the purpose for the PIE that you want to install:

- Entering "demo-ccd" will create the DEMO PIE environment for the Credit Card Dispute (CCD) DEMO;
- Entering "dev-sandbox" will create the DEV PIE environment without any PAMlets installed;
- Entering "pie-mortgage" will create the DEV PIE environment with the Mortgage Process PAMlet installed.

| `Your PIE and PAMlet to be configured [demo-ccd\|dev-sandbox\|pie-mortgage]: pie-mortgage` |
| --- |

 

Confirm that you wish to install the Mortgage PAMlet.

| `Install or Remove pie-mortgage [``install``\|remove\|scaledown]: ``install` |
| --- |

### Step 2.5

Enter your Red Hat Developer's credentials. If you don't have one, [click here](https://developers.redhat.com/auth/realms/rhd/protocol/openid-connect/auth?client_id=web&redirect_uri=https%3A%2F%2Fdevelopers.redhat.com%2F&state=bacdc982-06ee-4add-835a-0ef790f6f738&nonce=22edfe12-d153-45ae-93ae-5da728ed56b5&response_mode=fragment&response_type=code&scope=openid).

| `Your redhat developer username [E.g.: bob.brown@abc.com]: jon.snow@nights-``watch``.org` `Your redhat developer password:` |
| --- |

### Step 2.6

Enter "yes" if you want to launch the OpenShift Console in your browser when the installation is finished; Enter "no" if you want to remain in the "Terminal" window.

| `Start minishift cdk post configuration [``yes``\|no]: ``yes` |
| --- |

The script will then ask to review and confirm the attributes before you proceed.....

| `Hello ``"jon.snow@nights-watch.org"``. You've requested ``for` `a minishift VM of the following attributes:` `   ``VM vCPUs:                 2` `   ``VM RAM Size[GB]:          10` `   ``VM Hypervisor Type:       virtualbox` `   ``VM Minishift Addons:      pie-mortgage` `   ``VM Minishift Addon Task:  ``install` `   ``VM Minishift BaseEnv:     dev-sandbox` `   ``VM Minishift start:       ``yes` `Type ``'Y\|y'` `to proceed, ``'R\|r'` `to re-enter details and ``'C\|c'` `to cancel: y` |
| --- |

### Step 2.7

The script will then ask to review and confirm the attributes before you proceed.....

| `[EXCECUTING] ~``/cdk390/bin/minishift` `profile ``set` `pie-mortgage-profile-2vcpu-10gb` `...` `...` `[EXECUTING] oc login https:``//192``.168.99.121:8443 -u admin -p password -n pie-mortgage` `    ``Login successful.` `    `  `    ``You have access to the following projects and can switch between them with ``'oc project <projectname>'``:` `    `  `        ``default` `        ``dev-sandbox` `        ``kube-dns` `        ``kube-proxy` `        ``kube-public` `        ``kube-system` `        ``myproject` `        ``openshift` `        ``openshift-apiserver` `        ``openshift-controller-manager` `        ``openshift-core-operators` `        ``openshift-infra` `        ``openshift-node` `        ``openshift-service-cert-signer` `        ``openshift-web-console` `      ``* pie-mortgage` `    `  `    ``Using project ``"pie-mortgage"``.` `[INFO] Starting minishift console` `Opening the OpenShift Web console ``in` `the default browser...` |
| --- |

It takes approximately 10 minutes on a MacBook with a 2.2 GHz Intel iCore7 processor and 16 GB of RAM for the script to complete the installation and launch the OpenShift Web Console. The last few lines of a successful installation are shown above.

 

## Step 3 - Verify

### Step 3.1

Based on the attributes selected (in the case above, installing the Mortgage Process PAMlet on the Dev Sandbox), the OpenShift Web Console will look similar to the screenshot below:

(NOTE: The URL of your OpenShift Console will be http://your-VirtualBox-IPaddress/console/. In the case of the screenshots below it is [http://192.168.99.122/console/](http://192.168.99.122/console/) ).

This has installed 3 projects:

1. the base DEV environment (called dev-sandbox)
2. an area for developers to create their own project called "My Project" (this is installed by default by OpenShift)
3. the Mortgage Process PAMlet (called pie-mortgage)

![](https://blog.leonardo.com.au/hubfs/image-107.png)

#### Step 3.2

Depending on your machine, the Pods on CDK may take 5 to 10 minutes to be fully accessible.

Selecting the "pie-mortgage" project will present you with the applications inside the project:

![](https://blog.leonardo.com.au/hubfs/image-108.png)

#### Step 3.3

On the left-had side of the OpenShift Portal Console, if you move your mouse over the Applications >" button, a pop-up menu will appear as per the screenshot below:

![](https://blog.leonardo.com.au/hubfs/image-109.png)

#### Step 3.4

Move your mouse down the pop-up menu and select "Routes". The following screen will appear:

![](https://blog.leonardo.com.au/hubfs/image-110.png)

#### Step 3.5

Using the Routes screen above, clicking on this link in the Hostname column - [http://mortgage-entando-applicant.192.168.99.130.nip.io/mortgage-entando-applicant](http://mortgage-entando-applicant.192.168.99.130.nip.io/mortgage-entando-applicant) - will take you to the Customer UI for the Mortgage PAMlet:

![](https://blog.leonardo.com.au/hubfs/image-111.png)

#### Step 3.6

Using the Routes screen above, clicking on this link in the Hostname column - [http://mortgage-entando-lender.192.168.99.130.nip.io/mortgage-entando-lender](http://mortgage-entando-lender.192.168.99.130.nip.io/mortgage-entando-lender) - will take you to the Customer UI for the Mortgage PAMlet:

![](https://blog.leonardo.com.au/hubfs/image-112.png)

 

![Terry Lee](https://blog.leonardo.com.au/hubfs/Terry_0777_LI.jpg)

###### Terry Lee

Enterprise Application Integration Architect, specialising in webMethods, Red Hat. Solution architect and team lead experiences in global enterprise EAI implementation in HK, Taiwan, China, and Australia. Currently based in Melbourne, Australia. Extensive integration experience in Banking, Finance, High Tech Manufacturing, Logistics, Utility, Defence, Gambling, Superannuation, Garments Manufacturing, Beverage Manufacturing, and Consumer Electronic Manufacturing.

- Recent
- Popular
- Categories

### Lists by Topic

- [BPM - Business Process Management (111)](https://blog.leonardo.com.au/topic/bpm-business-process-management)
- [BPM/EA Technology (25)](https://blog.leonardo.com.au/topic/bpmea-technology)
- [The Process Session (23)](https://blog.leonardo.com.au/topic/the-process-session)
- [Process Modelling (18)](https://blog.leonardo.com.au/topic/process-modelling)
- [News (14)](https://blog.leonardo.com.au/topic/news)
- [Intergration (12)](https://blog.leonardo.com.au/topic/intergration)
- [EA - Enterprise Architecture (7)](https://blog.leonardo.com.au/topic/ea-enterprise-architecture)
- [Platform (6)](https://blog.leonardo.com.au/topic/platform)
- [Business Innovation (5)](https://blog.leonardo.com.au/topic/business-innovation)
- [Red Hat (4)](https://blog.leonardo.com.au/topic/red-hat)
- [bpm (3)](https://blog.leonardo.com.au/topic/bpm)
- [Automation (2)](https://blog.leonardo.com.au/topic/automation)
- [Process Automation (2)](https://blog.leonardo.com.au/topic/process-automation)
- [Process Mining (2)](https://blog.leonardo.com.au/topic/process-mining)
- [Regulatory Optimisation (2)](https://blog.leonardo.com.au/topic/regulatory-optimisation)
- [Video (2)](https://blog.leonardo.com.au/topic/video)
- [process (2)](https://blog.leonardo.com.au/topic/process)
- [redhat (2)](https://blog.leonardo.com.au/topic/redhat)
- [CXM (1)](https://blog.leonardo.com.au/topic/cxm)
- [RPA (1)](https://blog.leonardo.com.au/topic/rpa)

[see all](https://blog.leonardo.com.au/how-to-install-pie-with-credit-card-dispute-pamlet#)

## Subscribe and Get The Latest News

## Related Posts

<https://blog.leonardo.com.au/ust-acquires-leonardo>

## [UST Acquires Leading Australian Process Transformation Company Leonardo](https://blog.leonardo.com.au/ust-acquires-leonardo)

UST Acquires Leading Australian Process Transformation Company Leonardo - Strategic acquisition further strengthens UST’s position in the dynamic ANZ market Melbourne, Australia, 21 February 2024:UST, a leading digital transformation solutions company, has announced the strategic acquisition of Leonardo, a leading provider of business process improvement, automation, and integration services in the ANZ region. The acquisition by UST will empower Leonardo to expand its market reach and enhance its service offerings for clients, combining Leonardo's in-depth process expertise with UST's technology leadership, digital transformation capabilities, and global credentials, and strengthening UST's position in the Australian market.

- [Daniel Weatherhead](https://blog.leonardo.com.au/author/daniel-weatherhead)
- 5 min read
- Feb 21, 2024 9:00:00 AM

<https://blog.leonardo.com.au/presenting-business-process-models-to-stakeholders>

## [How to Present Business Process Models to Stakeholders](https://blog.leonardo.com.au/presenting-business-process-models-to-stakeholders)

Has an audience member ever interrupted in the middle of a presentation about process analysis to ask, “Can you show us the process models in a simple PowerPoint slide?” – or, ”I don’t want to look at the green and purple boxes, just show me the flow!” Perhaps you then felt that you had wasted some of your efforts in modelling the process with too much detail or in the wrong way. Embarrassed and demoralised, you must have wondered how else could these models be presented. Well, you are not alone! This is a common dilemma when there is a need to present process models to a variety of audiences. There is both art and science in presenting the right level of process detail to the right group of stakeholders, especially if they are not familiar with the process modelling language. Effective presentation is even more critical in larger and complex end-to-end process improvement work and in new automated business model implementations. You may need to use multiple model types to describe the same business processes to various audiences. Hence, it is very important to understand who the stakeholders are and what they would like to see before your audience with them. This article proposes an approach to the effective presentation of business process models based on three key elements: understand, organise, and communicate.

- [Daniel Weatherhead](https://blog.leonardo.com.au/author/daniel-weatherhead)
- 7 min read
- Oct 10, 2023 10:00:00 AM

<https://blog.leonardo.com.au/what-are-the-most-important-questions-in-business-process-management>

## [What Are The Most Important Questions In Business Process Management?](https://blog.leonardo.com.au/what-are-the-most-important-questions-in-business-process-management)

She who dies with the most answers wins. We seek the truth. We want to know the answers. Paul Harmon started me thinking recently when he invited members of the BPTrends Discussion group on LinkedIn to “describe the purpose of Business Process Management in 160 characters, including spaces and punctuation.” Not easy to do – have a go at it yourself. It felt like I was crafting The Ultimate BPM Answer, which, of course, begged The Ultimate BPM Question. That got me thinking that The Ultimate BPM Problem is that we have plenty of answers and not enough questions. So put all the answers aside for a moment and help me to work out what are the most important questions in Business Process Management?

- [Roger Tregear](https://blog.leonardo.com.au/author/roger-tregear)
- 6 min read
- Jul 30, 2023 10:30:00 AM

### Subscribe to Email Updates

[![LeonardoUST_CMYK](https://blog.leonardo.com.au/hs-fs/hubfs/LeonardoUST_CMYK.png?width=791&name=LeonardoUST_CMYK.png "LeonardoUST_CMYK")](https://www.leonardo.com.au)

Leonardo drives continuous process improvement through technology and has worked with many leading enterprises in APAC to enhance the performance of their business processes through architecture and automation as well as integrating their applications, platforms and data to enable disruptive technologies.

**What We Do**

**Resources**

##### Company

2022 ©Incotrade Australia Pty Ltd trading as Leonardo Consulting  |  All rights reserved   |   ACN 066 273 256. |  [Privacy Statement](https://www.leonardo.com.au/privacy) 

[**](http://www.facebook.com/leonardoconsultingAU) [**](https://www.linkedin.com/company/leonardo-consulting/) [**](http://www.twitter.com/leonardoBPM) [**](http://www.youtube.com/leonardoconsulting)