Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

On this pageOverview

Send emails with Railway

Railway enables you to focus on building product instead of managing infrastructure, automatically scaling to support your needs as you grow.

Before you start, you'll need:

  1. 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.

    Deploy on Railway

    Deploy button highlighted on Railway

  2. Add your API key

    Add an API key from Resend and click Deploy.

    Template modal with API key field highlighted

  3. Send your first email

    Once your deployment finishes, click the deploy URL to open the app and send your first email.

    Deployment link highlighted

    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.

Railway Template

See the full source code.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu