Convert App & Model from Shiny Server to Shinyapps.io

...I have a model with a UI created in Shiny server. But now we need to convert this to Shinyapps.io. Is there a process to do that? Or do I need to rewrite the UI?

Thanks.

Shinyapps.io is a shiny-server hosted by RStudio so (ass long as you are not using absolute paths to local files) you just have to create an account and publish your app.

Thanks so I would just have a Server.R and UI.R to deploy to Shinyapps.io?