# How to add a domain module?
Open .ksmile file, define the
domainmodule under the respective section.To define a
domainmodule you need the following:module name (unique to a project)
dependent module list (if any)
module package path (unique to a section)
section lottery{ mongo-module LotteryMongo(LotteryData) at com.metastay.lotterymongo domain-module LotteryDomain(LotteryMongo) at com.metastay.lotterydomain ... }
Enter sbt shell, run command
smileRefresh project in eclipse, respective .kdomain file will appear.