# How to add a stream module?
Open .ksmile file, define the
streammodule under the respective section.To define a
streammodule you need the following:module name (unique to a project)
dependent module list (if any)
module package path (unique to a section)
section lottery{ stream-module LotteryStream at com.metastay.lotterystream ... }
Enter sbt shell, run command
smileRefresh project in eclipse, respective .kstream file will appear.