> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wavebybemobi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK

> How to install the web SDK

## Initialization

Initialize Wave.js with your public `client_id`.

```js client.js theme={null}
const wave = Wave("your_client_id")
```

## Mount offers

Include the Wave.js script on your page by adding it to the head of your HTML file. Next, create an empty DOM node (container) to use for mounting.

```html index.html theme={null}
<head>
    <script src="https://js.wavebybemobi.com/v1/"></script>
</head>
<body>
    <div id="offers-list">
    <!-- Script will insert the offers screen here -->
    </div>
</body>
```

You can start the offers list screen adding the following code:

```js client.js theme={null}
// Initialize list offers
const offers = await wave.initEmbeddedOffersList();

// Mount offers list
offers.mount('#offers-list');
```

Screen renders in an iframe that securely exchange information with Wave over an HTTPS connection.

Also, you can choose to mount: `.initEmbeddedProfile()` or `.initEmbeddedOfferDetail()`
