By using this website you implicitly accept our cookies. For more informations read our Cookie policy

Javascript Quickstart

Create a Marketcloud application

In order to create an application, you need to create a Marketcloud account first.

Create an account

An application is where your store's data will live. Simply create one choosing an application name and a plan. We’ve got several plans including our favorite, Free!

Create your first product

Add data using the dashboard

Once you created your application you can log into its dashboard just by clicking on it. Here you can open the "products" section and create your first product You can also add images and variants!

Bootstrap your frontend

Install the SDK

The easiest way to install the Javascript SDK is using Bower:

bower install marketcloud-js

But you can also clone from GitHub:

git clone

At this point you are ready to include it into your web application with a script tag:

<script src="path/to/marketcloud-js/marketcloud.min.js"></script>

Configure the client

In order to query the API, you must set your application's public key into the client, You can find the public key under the information section.

var marketcloud = new Marketcloud.Client({
	publicKey : 'your-public-key'

Query the API

Use the Javascript client

Congratulations you are ready to query the API! Use the client to retrieve the product you created earlier:


The code above will retrieve a paginated list of products, you can also use the first parameter to filter them by any key. For example, assuming that we added some books with a "author" property to the application, we could easily retrieve books writter by George Martin:

var query = { author : "George Martin"};

Well done!

You have a Marketcloud powered application!

In these 5 little steps you obtained:

  • Full featured dashboard to manage your store

  • Infinite frontend flexibility

  • A fast and scalable backend for your eCommerce applications

Now you can add more features to your app by checking the documentation, or you can spend more time on the dashboard adding more stuff!

More information


We're super happy to help with any question you might have! Send us an email, or get in touch with us in our Slack channel !