bower install marketcloud-js
git clone https://github.com/Marketcloud/marketcloud-js.git
Then add the javascript sources directly into your web application:
<script type="text/javascript" src="dist/marketcloud.min.js"></script>
At this point the marketcloud sdk is available as the marketcloud variable:
marketcloud.public = 'replace-with-your-public-key';
marketcloud.products.list({},function(err,products) {
//your code here
});
For further informations check the official documentation