You would need to run MultiChain on the back-end of your server, and expose some limited APIs to your front-end code that would trigger MlutiChain API calls. You cannot give your front-end code direct access to the MultiChain API, because this would not be safe.