Prerequisites
Before you start, you’ll need:- A Resend API key
- A verified domain
Guide
Install
We’ve created a Resend template using the Resend Node.js SDK as an introduction to using Resend on Railway.To get started, you deploy the template to Railway.


Add your API key
Add an API key from Resend and click Deploy.

Send your first email
Once your deployment finishes, click the deploy URL to open the app and send your first email.
While this example uses the Resend Node.js SDK, you can add Resend using any of our Official SDKs that Railway supports.You can also set up the project locally and make changes to the projectusing the Railway CLI.

Keep in mind that as a basic project, this template sends an email with your
account each time someone visits your deployment URL, so share the link with
discretion.
Examples
Railway Template
See the full source code.