Get started with Resend
Tags: webdev, javascript, programming, beginners
Published: 2023-11-19 18:42:48

{% embed https://youtu.be/D-NVNPuzFtU %}

Resend, the email platform designed with developers in mind, is making waves in the world of transactional email sending. With a recent $3 million seed round reported by TechCrunch and PEGN, Resend is on a mission to redefine the developer experience when it comes to sending emails. In this article, we'll guide you through the process of getting started with Resend and explore how it can streamline your transactional email needs.

## Resend's Rapid Growth

Since its launch in January, Resend has gained impressive traction among developers. Over 10,000 developers have already signed up for the platform, and they've collectively sent over 7 million transactional emails. This growth is a testament to Resend's effectiveness in meeting the needs of developers looking for a reliable email sending solution.

Resend is already the secret sauce behind some of the fastest-growing companies. Its versatility enables businesses in various domains, from platforms for artists to investment products backed by data sourced from Nasdaq and S&P.

Notably, Resend's open-source project, "React Email," has become a significant hit on GitHub, amassing over 10,000 stars and garnering contributions from more than 80 developers. Teams of all sizes are leveraging React Email to enhance their email capabilities.

## The Resend Discord Community

Today, Resend is taking its commitment to developer community engagement to the next level by launching the Resend Discord. This platform aims to connect developers, facilitating knowledge sharing and collaboration within the Resend ecosystem. It's a space where developers can exchange ideas, ask questions, and explore innovative ways to use Resend effectively.

## The First-Class Developer Experience

Resend is engineered by developers for developers, and its primary goal is to create an email platform that simply works. Whether you're a seasoned developer or just getting started with email integration, Resend aims to provide you with a seamless and intuitive experience.

## Getting Started with Resend: A Quick Guide

To embark on your journey with Resend, follow these essential steps:

### Step 1: Sign Up and Verify Your Domain

Visit the Resend website and create an account. Resend offers various pricing plans, including a free trial, so you can choose the one that suits your needs.
Verify your domain to establish trust and ensure your emails reach recipients' inboxes.

### Step 2: Install the Resend Node.js SDK

Use your preferred package manager (npm, yarn, pnpm) to install the Resend Node.js SDK.

```
npm install resend
```

### Step 3: Create an Email Template

Start by crafting your email template using React. Customize it to match your brand's style and content requirements.

### Step 4: Send Your First Email

Utilize the Resend Node.js SDK to send your first email. You can configure various parameters such as sender details, recipients, subject, and the React-based email template you created.
Here's a simple example of sending an email using the Resend Node.js SDK:

```
import { Resend } from 'resend';

const resend = new Resend(process.env.RESEND_API_KEY);

const data = await resend.emails.send({
  from: 'Acme <onboarding@resend.dev>',
  to: ['delivered@resend.dev'],
  subject: 'Hello world',
  react: EmailTemplate({ firstName: 'John' }),
});
```

That's it! With these steps, you can start harnessing the power of Resend to send transactional emails efficiently and effectively.

In conclusion, Resend is changing the game when it comes to transactional email sending for developers. With its developer-centric approach, rapid growth, and commitment to fostering a strong developer community, Resend is poised to become a go-to solution for anyone seeking to simplify their email integration processes.

Guillaume Duhan