This guide will show you how to export a model from one Kiuwan account and import it into another account. 



There are various reasons why you would need to export and import a Kiuwan Model. For example, you may have two different Kiuwan accounts and need the same model in both, or you may have migrated to Kiuwan On-Premises from a Saas account. 

Exporting your model

  1. Go to Model Management from the drop-down menu on the upper right corner. 
  2. Select the model you want to export on the left (in this example: My Model). 

  3. To export the model, go to the Rules tab. Expand the hamburger menu and select ZIP.
  4. A zip file downloads.
  5. Unzip this file into a temporal directory.

  6. You find two directories (en and es). The en directory contains the exported model files you will import later.

  7. Now the file is ready for import.

Importing the model

  1. Log into your other account.
  2. Go to Model Management.
  3. Select New.
  4. Enter the Model Name, select Create from Scratch, and click Create Model to save.
  5. The new model appears in the menu on the right. This model has no active rules.
  6. Go to the Rules tab. 
  7. Expand the hamburger menu and select Import rulesets.

  8. A dialog window appears where you can upload the exported model files.

    Exported rules files follow this pattern:
    where <technology> is any of the technologies supported by Kiuwan (Java, JSP, C#, etc)

    These steps must be done for every technology file.

    Currently, there's not an option to upload more than one file at a time. Therefore, the next steps must be repeated for every technology.

    Be sure to select the en directory when uploading the files.

  9. Once the technology file is uploaded, select the target model (the one that was created in step 3).

  10. Click Next. and you will be presented with an import preview.

  11. Click Import to complete the action.

The model now contains the same configuration as the source model that you exported (activated rules, your priorities, rule parameters, etc.)

To import the configuration of another technology, please repeat the above steps.

Once done, do not forget to Publish the model, to make it publicly available.