# How to add a data module?
Open .ksmile file, define the
datamodule under the respective section.To define a
datamodule 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 ... }
Enter sbt shell, run command
smileRefresh project in eclipse, respective .kdata file will appear.