# Install the Client SDK

Load the Embedded SDK and set an end-user token before calling its methods.

Load the Embedded Client SDK on your integrations page. The SDK script creates `window.MindCloud`.

```html
<script src="https://connect.mindcloud.co/assets/embedded/sdk.1.0.0.min.js"></script>
```

Create one SDK instance after the script loads:

```js
const mindCloud = window.MindCloud();
```

Your backend must [create an end user](/docs/embedded/embedded-api/api-reference/create-an-end-user) and [get an end-user token](/docs/embedded/embedded-api/api-reference/get-an-end-user-token). Give that token to the signed-in customer, then set it before calling SDK methods:

```js
mindCloud.setToken(token);
```

Keep the MindCloud API key on your backend. The browser receives the end-user token, never the API key. The SDK uses that token for the customer's integrations and installations. Check `mindCloud.getTokenExpiration()` and get a new token before it expires.

Next, [build the integrations page](/docs/embedded/embedded-sdk/build-an-integrations-page/use-the-client-sdk).