Connect Downloadable file with MetaMask

I have a site builder web app that allowed guest to build their own crypto landingpage site into HTML5 template as they want. It’s comes with downloadable too after designed.

The question is, How can I connect the downloadable file (designed by guest) to MetaMask to make it payable before download.

Could anyone help me?