Learn how to integrate using the Node.js SDK
npm install resend
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); } })();
npx next dev