← Back to site
Docs • v0

Getting Started

Quickstart

Your first email in minutes

Install

BASH
npm i @pulsesend/sdk
# or
bun add @pulsesend/sdk

Get an API key

Create an API key in your dashboard and keep it secret.

Send an email

  1. 1. Initialize the client
    import { PulseSend } from "@pulsesend/sdk"
    
    const ps = new PulseSend({ apiKey: process.env.PULSE_API_KEY! })
  2. 2. Send
    await ps.emails.send({
      to: "ada@example.com",
      subject: "Welcome",
      html: "<h1>Hello</h1>",
      tracking: { opens: true },
    })
Was this helpful? Coming soon.