Add SendGrid to Your Node.js Applications With Modulus

Posted on

modulus-logo-progress-colorWe are excited about working with innovative, like-minded companies, so today we’re pleased to announce our partnership with with Modulus, a Progress company.

Modulus is a platform-as-a-service (PaaS) that allows you to easily host, deploy, scale, and monitor your Node.js applications. The Modulus platform is ideally suited for developers who are building real-time mobile, SaaS, social, and big data apps that run across distributed devices and require built-in performance monitoring and powerful analytics.

Modulus is offered both as a hosted service and can be deployed by enterprises in public, private, and hybrid clouds as well as on-premise. For the enterprise, Modulus provides a unique offering with a licensed enterprise Node.js PaaS, allowing businesses and ISVs to deploy next-generation apps faster and at a lower total cost.

Benefits of Partnership

With SendGrid powering email for applications on the Modulus platform, developers will now be able to deploy their app and easily deliver email into the inbox without needing to set up and manage their own SMTP servers or worry about delivery rates, spam folders, ISP blacklists, or scaling to meet high user volume – all resulting in more time available to create and scale their awesome applications.

Getting Started

We’ve created a simple tutorial using a sample app on GitHub, to show you how to integrate SendGrid in an app being built on

To run this app on Modulus follow the next steps:

1) Install the Modulus CLI tool if you do not already have it:

2) Log in with Modulus credentials or with your github credentials:

3) Clone the sample app repo on your local dev environment.

4) Create a new project and deploy it on

Modulus_Example 1

5) Provision the SendGrid Addon

When the addon is provisioned, the environment of the project is modified to include the following variables: SENDGRID_USERNAME, SENDGRID_PASSWORD
Modulus_Example 2

In addition to Free, other SendGrid plans are available for provision:

Pricing Example

6) Deploy the application to

After deploy, you can see the app on modulus interface:

Modulus_Example 3

7) Access the URL provided at the end of the deploy process:

[✓] sendgrid_sample_app running at

And you should see this form:
Modulus_Example 5Now you can test sending and email.

Your SendGrid credentials are taken automatically from the environment parameters:

Your message will be sent, waiting for you to open it.

This basic tutorial shows you how simple it is to incorporate SendGrid email into your application. As a next step, start building email into your own awesome node.js application on

Getting started is simple. Sign up now with a free SendGrid account and $15 Free Modulus Credits.

Erika Berkland is the Partner Marketing Manager at SendGrid. Her background is in both emerging technology and global corporations where she thrives in working with partners to deliver impactful and measurable marketing programs. Outside of SendGrid, Erika enjoys spending time outdoors with all the great activities Colorado has to offer.

Have thoughts on this post?
Chat with us about it on Twitter and Google+