This guide will walk you through deploying your AtomNext website to free Netlify hosting with full functionality.
- GitHub account
- Netlify account (free) - Sign up here
- Resend account (free) for sending emails - Sign up here
- Go to resend.com and sign up for a free account
- Verify your email address
- Go to your dashboard and click "API Keys"
- Create a new API key and copy it (you'll need this later)
Note: Resend free tier includes 100 emails/day which is more than enough for most small businesses.
# Initialize git if not already done
git init
git add .
git commit -m "Prepare for Netlify deployment"
# Create repo on GitHub and push
git remote add origin https://github.com/yourusername/atomnext.git
git branch -M main
git push -u origin main-
Log in to netlify.com
-
Click "Add new site" → "Import an existing project"
-
Choose "Deploy with GitHub"
-
Select your AtomNext repository
-
Configure build settings:
- Build command: Leave empty
- Publish directory:
. - Functions directory:
netlify/functions
-
Click "Deploy site"
-
Go to Site settings → Environment variables
-
Add the following variables:
Key Value RESEND_API_KEYYour Resend API key from Step 1 OWNER_EMAILatomnextai@gmail.com (or your business email) -
Click "Save"
-
Redeploy your site:
- Go to Deploys tab
- Click Trigger deploy → Deploy site
-
Visit your live site (e.g.,
https://your-site-name.netlify.app) -
Test Service Request Form:
- Go to
/order.html - Fill out all fields
- Submit
- ✅ Check your email for confirmation
- Go to
-
Test Book Call Form:
- Go to
/book-call.html - Fill out all fields
- Submit
- ✅ Check your email for confirmation
- Go to
-
Test Chatbot:
- Click chatbot icon
- Send a message like "Tell me about your services"
- ✅ Should respond instantly
- Go to Site settings → Domain management
- Click Add custom domain
- Follow instructions to add your domain (e.g.,
atomnext.ai) - Netlify provides free HTTPS automatically!
Every time you push to GitHub, Netlify automatically rebuilds and deploys your site. No manual steps needed!
# Make changes
git add .
git commit -m "Update homepage"
git push
# Netlify automatically deploys! 🎉Want to test your Netlify Functions locally?
# Install Netlify CLI
npm install -g netlify-cli
# Navigate to project
cd atomnext
# Start local dev server
netlify devThis runs your site at http://localhost:8888 with full Netlify Functions support!
- ✅ Check environment variables are set in Netlify
- ✅ Verify Resend API key is valid
- ✅ Check Netlify Functions logs: Functions tab in dashboard
- ✅ Check browser console for errors
- ✅ Verify
/netlify/functions/chat.jsexists - ✅ Check Netlify Functions logs
- ✅ Ensure publish directory is set to
.(root) - ✅ Check all file names are correct
Need help? Contact the development team atatomnextai@gmail.com
🎉 Congratulations! Your AtomNext website is now live on Netlify with:
- ✅ Free hosting
- ✅ Automatic HTTPS
- ✅ Form submissions with email notifications
- ✅ Working chatbot
- ✅ Continuous deployment from GitHub