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