# How to add a process module?

  1. Open .ksmile file, define the process module under the respective section.

  2. To define a process module you need the following:

    1. module name (unique to a project)

    2. dependent module list (if any)

    3. module package path (unique to a section)


       



      section lottery{
      	process-module LotteryProcess at com.metastay.lotteryprocess
        ...
      }
      
  3. Enter sbt shell, run command smile

  4. Refresh project in eclipse, respective .kprocess file will appear.