
Deploy AgentiSend Next.js contact form
Next.js contact form that sends email via AgentiSend
nextjs-starter
Just deployed
Deploy and Host AgentiSend Next.js contact form on Railway
A Next.js App Router contact form that sends email through AgentiSend from a Server Action. AgentiSend is a Resend alternative: an email API for apps, with per-key budgets and a kill switch for AI agents.
About Hosting AgentiSend Next.js contact form
Deploy the starter from GitHub, set AGENTISEND_API_KEY (a key with sending_access from https://console.agentisend.com/api-keys), MAIL_FROM (an address on a domain you have verified in AgentiSend) and CONTACT_TO (where messages go). Railway builds and serves the app on a public domain.
Common Use Cases
- Website contact form
- Starter for transactional email in Next.js
- Testing AgentiSend sending
Dependencies for AgentiSend Next.js contact form Hosting
- An AgentiSend account and API key
- A verified sending domain
Why Deploy AgentiSend Next.js contact form on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying AgentiSend Next.js contact form on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
nextjs-starter
agentisend/nextjs-starterMAIL_FROM
The From address, on a domain you have verified in AgentiSend
CONTACT_TO
Where messages from the form go
AGENTISEND_API_KEY
A key with sending_access, from https://console.agentisend.com/api-keys