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

# Installation

> Install the Sidenet AI SDK via npm or CDN.

## NPM (React/Next.js/Vite)

```bash theme={null}
npm install sidenetai-sdk
```

```typescript theme={null}
import { initSidenet } from 'sidenetai-sdk';

initSidenet({
  orgId: 'your-org-id',
  copilotId: 'your-copilot-id',
});
```

## CDN (Static sites, WordPress, vanilla JS)

```html theme={null}
<script src="https://unpkg.com/sidenetai-sdk@latest/dist/sidenetai-sdk.standalone.umd.js"></script>
<script>
  Sidenet.initSidenet({
    orgId: 'your-org-id',
    copilotId: 'your-copilot-id',
  });
</script>
```

The standalone bundle (\~13MB uncompressed, \~2.8MB gzipped) includes React and all dependencies. Use the NPM package if you already have React.
