Resend Integration
Resend Integration
Section titled “Resend Integration”Send reliable, production-ready emails from your CodePup project using Resend.
With Resend integration, CodePup automatically connects your project to a modern email delivery system — no SMTP setup, no boilerplate, no extra infrastructure.
Transactional Emails High Deliverability Auto ConfiguredWhat Is Resend?
Section titled “What Is Resend?”Resend is a modern email API built for developers, focused on excellent deliverability and a simple API.
With CodePup + Resend, you can send:
- Authentication emails (OTP, magic links)
- Contact form submissions
- Notifications and alerts
- System-generated emails from your app
Before You Start
Section titled “Before You Start”Make sure you have:
- A Resend account
- At least one verified sender email or domain in Resend
How Resend Integration Works in CodePup
Section titled “How Resend Integration Works in CodePup”- Generate an API key in the Resend dashboard
- Add the API key to your CodePup project
- CodePup wires email functionality automatically
- Emails are sent securely using Resend
Step-by-Step Setup
Section titled “Step-by-Step Setup”Step 1: Create a Resend API Key
Section titled “Step 1: Create a Resend API Key”- Log in to your Resend Dashboard
- Open API Keys from the sidebar
- Click Add API Key
- Copy the generated key (
re_...)

Step 2: Add the API Key in CodePup
Section titled “Step 2: Add the API Key in CodePup”- Open your CodePup project
- Navigate to E-Commerce Project
- Open E-Commerce Store (Resend is configured here)
- Paste your Resend API Key
- Click Continue to save

Step 3: Generate Your Project
Section titled “Step 3: Generate Your Project”Once Stripe is connected:
- Enter your project prompt
- Click Generate

CodePup automatically wires Stripe checkout and billing logic into your project.
Step 4: Configure a Sender Email in Resend
Section titled “Step 4: Configure a Sender Email in Resend”Before emails can be sent, you must verify a sender in Resend.
You can verify:
- A single email (e.g.
no-reply@yourdomain.com), or - An entire domain (recommended for production)
This sender is automatically used by CodePup.
Using Resend in Your Project
Section titled “Using Resend in Your Project”Once connected, CodePup enables email sending automatically for:
- Contact forms
- Authentication workflows
- App notifications
- Workflow-triggered system emails
You don’t need to configure SMTP or write email infrastructure code.
Environment Variables (Auto-Managed)
Section titled “Environment Variables (Auto-Managed)”CodePup securely manages the required environment variables for you:
RESEND_API_KEY=********
FROM_EMAIL=no-reply@yourdomain.com