Setting up SendGrid mailer for NodeBB
One of the first important things to do after setting up NodeBB is to set up an emailer plugin. While NodeBB does include a local emailer, if your forum is particularly active we recommend using an third-party emailer such as SendGrid which provides better deliverability for sites that send a high volume of email. Setting up SendGrid in NodeBB is very easy.
- Open the administrative dashboard using the 'gear' icon on your forum.
- Open the Extend > Plugins menu, and select the Find Plugins tab.
- Use the search on the right. Type 'SendGrid' and the plugin should appear -- select Install when you see it.
- From Installed tab on the Plugins menu, search again for 'SendGrid' and select Activate.
- Activating the plugin will require a restart of your forum. To restart, select the Dashboard menu and press the Restart button to the right. After NodeBB restarts, the SendGrid plugin will be active.
After you restart, there should be a item called Emailer (SendGrid) under the Plugins menu -- if you don't see this right away, try refreshing your browser.
Sign up to SendGrid
- Go to the SendGrid website, open the pricing page and scroll to the bottom. Click on the link and create your free account.
- Once you've confirmed your SendGrid account via email, you should be able to login to the SendGrid website. On the left side of your SendGrid dashboard, open Settings and click on API Keys.
- Click the button in the top right to create a new key. Make sure that the key has Full Access for Send Mail and Alerts. When you are done, the new key to your clipboard.
Now, return to the SendGrid menu on your NodeBB admin panel. Paste the API key into the field, and save your changes. Now go back to the Dashboard to restart your forum one more time.
SendGrid should now be working for your forum.