---
title: Installing the Embed SDK
description: Discover the step-by-step process to install PostNitro's Embed SDK and start creating stunning carousels in your web app.
canonical: https://postnitro.ai/docs/embed/sdk/installation
---

# Installation

To install the Postnitro Embed package, run the following command:
```bash
pnpm add @postnitro/embed
```

### Importing the Library

You can import the library in two ways:

1. As a Module (Recommended for React, Next.js, and other modern frameworks)

```typescript
import {createEditor} from "@postnitro/embed";
```

2. As a Script (Traditional Way)

Add the following script tag to your HTML file:
```html
<script src="https://cdn.jsdelivr.net/npm/@postnitro/embed/dist/index.umd.js"></script>
```
