> For the complete documentation index, see [llms.txt](https://docs.whisk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whisk.com/shopping-list-sdk/basic-setup/basic-setup.md).

# Basic Setup

The Whisk Javascript SDK provides a rich set of client-side functionality that simplifies usage of the Whisk platform.

Include following code on your page:

```markup
<script
  async="true"
  src="https://cdn.whisk.com/sdk/shopping-list.js"
  type="text/javascript"
>
</script>
<script>
  var whisk = whisk || {};
  whisk.queue = whisk.queue || [];
</script>
```

When the script is included, you will be able to use Whisk SDK functionality.

## Execution queue

Since SDK is loading asynchronously there is a chance that your code will be executed before Whisk SDK is loaded. To handle this situation wrap all your Whisk SDK related code into whisk.queue.push call.&#x20;

For example:

```javascript
whisk.queue.push(function() {
  whisk.shoppingList.viewList();
});
```
