# How to create a SMILE component?

  1. define the component & the modules to include in the component in ksmile file.

    For example, to release just the apis in Lottery project:

    component release_api-0.1(LotteryPlay, LotteryProcess, LotteryQuery)
    
  2. enter sbt shell, run command export-component <component-name>

    [Lottery] $ export-component release_api
    
  3. component will be available inside lottery/component folder