◷ Reading Time: 5 minutes
In this tutorial, you will learn how to add a new package to FlexRule Server. We will upload the sample decision package and enable the status of the uploaded package.
A package can be uploaded in two ways.
- Directly from the Designer
- Upload a package file (.frdp)
Upload a package from the Designer
Uploading a package from the designer is explained under ‘Publish your project‘.
Upload a package file
Decision Scenario
This tutorial is based on one of our default sample projects, Car-Insurance-Sample.
This car insurance premium calculator has two inputs:
- Input from operator/user about their car information
- Input from a database for a list of high-risk cars
Prerequisites
Database preparation
Follow the instruction at Car-Insurance-Sample and prepare your database, tables, and sample records.
Download Decision Module Package
Download the decision package using the attachment (car-insurance-sample-package.zip) at the end of this page.
FlexRule Server
FlexRule Server will need to be installed and configured.
Run FlexRule Server
Run your FlexRule Server in the console mode and open the FlexRule Workbench application in your browser.
Get It Started
Login to the Workbench as Admin
Log into Workbench using the admin user account and the password you set during configuration. When you are logged in you will see the Workbench home page.

Upload Package
From the left side navigation menu, select Execution Server and then choose Packages.
Click on New Package.

Download and Unzip the sample decision package file (car-insurance-sample-package-v9.zip), and you will find a file called car-insurance-sample-package.frdp.
Click the “Browse” button and select the .frdp file,

Press the “Save” button in the top-left corner.
You will then be redirected to the packages list screen.

Congratulations! Your package has been successfully uploaded and registered in FlexRule Server.
Provide Package Authorization
After adding the package, Users need to be granted access to the package.
Select Details from the Actions dropdown for the required User (Admin in this case)
Administration --> Accounts --> Users

Tick the checkbox for the package in the Packages tab.

Click on Update in the top-left corner.
You will see a success notification that the Package is linked to the User.

Follow the same steps to provide access to Application accounts.
Enabling Package
You will see in the package list (Execution Server --> Packages), the status of the new package is “off”. Toggle the status to “on” to use the package.
![]()


You can also toggle the package on by selecting the Actions dropdown and choosing “Start”.

Now you will see that the package status has changed to “on”.

A message will appear in notifications when the package is enabled.
The package is ready to be used.
