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

Prerequisites

To get the most out of this guide, you’ll need to:

1. Install

We’ve created a Emailr template using the Emailr Node.js SDK as an introduction to using Emailr on Railway. To get started, you deploy the template to Railway. Screenshot placeholder Screenshot placeholder

2. Add your API key

Add an API key from Emailr and click Deploy. Screenshot placeholder

3. Send your first email

Once your deployment finishes, click the deploy URL to open the app and send your first email. Screenshot placeholder While this example uses the Emailr Node.js SDK, you can add Emailr using any of our Official SDKs that Railway supports.
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.
You can also set up the project locally and make changes to the projectusing the Railway CLI.

4. Try it yourself

Railway Template

See the full source code.