---
updatedAt: 2026-03-31T09:17:12.000Z
agentTools:
  projectIndex: https://docs.zerohash.com/llms.txt
---

# Installation

### Option 1: NPM package (recommended)

Install the SDK from NPM page ([zh-web-sdk](https://www.npmjs.com/package/zh-web-sdk)).

```shell shell
npm i zh-web-sdk
```

### Option 2: Download Release Bundle

Download the Zero Hash web SDK release bundle: <https://github.com/seedcx/zh-web-sdk/releases>

Copy `index.js` to somewhere in your code where it is public and accessible (alternatively you may include it in your build process with other frontend assets).

Add the following code to your HTML `<head>` section:

```html Html
<! -- Note: "type" property_must be "module" --> 
<script type="module" src="zh_web_sdk/dist/index.js"></script>
```

The Zero Hash SDK class will be available at `window.zerohash`.