How to install it

Hi guys i have my site which has a custom PHP template for the home page. If i need to make wordpress now as my home page in order to use the integration what should I do?

Should I install wordpress in the public.html main page first (basically after i backup my database?