Adding HTML5/hybrid app in Smartapp

I am working on a zigbee enabled product which can be connected to smartthings hub. This product will require some special settings which can be downloaded from a website/cloud after authentication. How can I add a hybrid app inside the smartapp.