> ## Documentation Index
> Fetch the complete documentation index at: https://starter-venus.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Node.js

> Learn how to integrate using the Node.js SDK

## Install

Download the Node.js SDK using your favorite package manager.

<CodeGroup>
  ```bash npm
  npm install resend
  ```

  ```bash yarn
  yarn add resend
  ```

  ```bash pnpm
  pnpm add resend
  ```
</CodeGroup>

## Quickstart

The easiest way to send an email is by using the html parameter.

```js
import { PearsDB } from 'pearsdb';
const pearsdb = new PearsDB('pdb_123456789');

(async function () {
  try {
    const data = await pearsdb.create({
      name: 'Bill Stern',
      company: 'Acme Corp',
      to: ['delivered@resend.dev'],
      subject: 'Hello World'
    });

    console.log(data);
  } catch (error) {
    console.error(error);
  }
})();
```

<Warning>By using this you won't be able to use rules and conditions.</Warning>

## Run Locally

Run the following command in your terminal.

```bash
npx next dev
```
