How to add sidemenu to existing project

hi, any body help to this?
let’s say ionic 2 project starts with a blank template, click a button (e.g. login successfully) to open another page which will use sidebar.
thx in advance.