Create accounts for the services we need, install coding tools on your computer, and get the AI receptionist app running on your machine.
Lab Overview
What You'll Do: Create accounts for the services we need, install coding tools on your computer, and get the AI receptionist app running on your machine
Lab Collaborators:
- Edward Lampoh - Software Developer & Collaborator
- Oluwafemi Adebayo, PhD - Academic Professor & Collaborator
This lab has 3 main parts. Complete each part fully before moving to the next.
Lab Parts Overview
- Part A: Create Your Accounts (GitHub, Google Gemini, AWS, Neon, Resend)
- Part B: Install Development Tools (Node.js, Python, Git, VS Code)
- Part C: Project Setup (Fork, clone, install, configure, test)
All these services have free tiers - you won't pay anything during this course.
Part A: Create Your Accounts
Good news: All these services have free tiers - you won't pay anything during this course.
1. GitHub Setup
Create Account:
- Go to github.com and click "Sign up"
- Use your student email if available (gets you free GitHub Pro features!)
- Choose a professional username (you'll use this publicly)
- Verify your email address
Connect Git to GitHub:
Video Tutorials by Platform:
- Windows: Git & GitHub Setup Tutorial
- Mac: Git & GitHub Setup for Mac
- Linux: Git & GitHub Setup for Linux
Quick Setup Commands:
# Tell Git your name (use your real name)
git config --global user.name "Your Full Name"
# Tell Git your email (use the SAME email as your GitHub account)
git config --global user.email "your.email@example.com"Test Your Connection:
# This should show your name and email
git config --global --list✅ Success Check: If you see your name and email listed, you're ready to go!
2. Google Gemini API
What You Need: A Gmail or Google account (most people already have this!)
Get Your AI Key:
- Search "google gemini api" in your browser
- Click on the "Google AI Studio" link that appears
- Sign in with your Google account
- Click "Get Started"
- Click "Get a new API key"
- Follow the instructions to create your key
- Copy and save this key somewhere safe
3. AWS Account
Sign Up:
- Go to aws.amazon.com
- Click "Create a Free Account"
- You'll need to verify your phone number and add a payment method (but you won't be charged)
- Choose "Basic Support - Free" when asked
Note: We'll only use free services! This is for later when we deploy your app.
4. Neon Database
Sign Up:
- Go to neon.tech
- Click "Sign up with GitHub" (easiest option)
- Create a new project and name it: "ai-receptionist-lab"
- Copy the connection string - it looks like:
postgresql://neondb_owner:abc123@ep-cool-name-123456.us-east-1.aws.neon.tech/neondb?sslmode=requireSave this entire string - you'll paste it into your .env file next
5. Resend Email Service
Note: Email functionality is not yet implemented in the codebase. This is a placeholder for future implementation.
Sign Up:
- Go to resend.com
- Sign up for a free account
- Once logged in, get your API key from the dashboard
- Save this key
Part A Completion Check
Before proceeding to Part B, ensure you have:
- ✓ GitHub account created and Git configured
- ✓ Google Gemini API key saved
- ✓ AWS account created
- ✓ Neon database project created with connection string saved
- ✓ Resend API key saved
Have all 5 items checked? → Proceed to Part B
Missing something? → Complete the missing steps above
Part B: Install Development Tools
1. Node.js Installation
All Platforms:
- Go to nodejs.org
- Download LTS version (v18 or v20)
- Install with default settings
Verify:
node --version
npm --version2. Python Installation
Windows:
- Go to python.org/downloads
- Download Python 3.9 or newer
- Check "Add Python to PATH" during installation
macOS:
brew install python@3.9Linux (Ubuntu/Debian):
sudo apt update
sudo apt install python3 python3-pip python3-venvVerify:
python --version # or python3 --version
pip --version # or pip3 --version3. Git Installation
Windows:
- Download from git-scm.com
- Install with default settings
macOS:
# Git usually comes pre-installed, if not:
brew install gitLinux:
sudo apt install gitVerify:
git --version4. Code Editor (Recommended)
Visual Studio Code:
- Download from code.visualstudio.com
- Install helpful extensions:
- • Python
- • JavaScript ES6 code snippets
- • Prettier - Code formatter
Part B Completion Check
Before proceeding to Part C, ensure you have:
- ✓ Node.js and npm installed and verified
- ✓ Python 3.9+ installed and verified
- ✓ Git installed and verified
- ✓ VS Code installed with recommended extensions
Have all 4 items checked? → Proceed to Part C
Missing something? → Complete the missing steps above
Part C: Project Setup
1. Fork Repository
Why Fork? You need your own copy to make changes throughout the course.
- Go to: https://github.com/edielam/ai-solutions-lab
- Click the "Fork" button (top-right corner)
- This creates your personal copy at
https://github.com/YOUR_USERNAME/ai-solutions-lab
2. Clone Your Fork
Important: Clone YOUR fork, not the original repository!
# Replace YOUR_USERNAME with your actual GitHub username
git clone https://github.com/YOUR_USERNAME/ai-solutions-lab.git
cd ai-solutions-lab3. Install Dependencies
Frontend (Next.js):
npm installBackend (Python):
No backend setup needed for Lab 1 - we'll do this in later labs.
4. Environment Configuration
Create .env file in the root directory:
# Database (from Neon)
DATABASE_URL=your_neon_connection_string_here
# AI API (from Google)
GOOGLE_GENERATIVE_AI_API_KEY=your_gemini_api_key_here
# Email Service (from Resend) - NOTE: Not yet implemented, placeholder for future
RESEND_API_KEY=your_resend_api_key_here
# App Settings
NEXT_PUBLIC_APP_URL=http://localhost:3000
SECRET_KEY=change_this_to_something_secure
DEBUG=true5. Run the Application
Start Frontend:
npm run devOpen Browser:
Go to http://localhost:3000
6. Test the Complete Flow
- Landing Page: Click "TRY IT FREE - NO SIGNUP"
- Business Setup:
- • Enter business name and description
- • Choose a brand color
- • Click "Continue to Documents"
- Document Upload:
- • Skip for now or upload a sample document
- • Click "Continue"
- Generated URL:
- • Copy your unique chat URL
- • Click "Try Your AI Receptionist"
- Chat Interface:
- • Test asking questions
- • Try booking an appointment
- • Verify emails are sent (check spam folder)
Part C Completion Check
Before completing Lab 1, ensure you have:
- ✓ Forked the repository to your GitHub account
- ✓ Cloned your fork to your computer
- ✓ Installed frontend dependencies
- ✓ Created .env file with all API keys
- ✓ Application runs at http://localhost:3000
- ✓ Free trial flow works end-to-end
- ✓ Chat interface responds to messages
- ✓ Appointment booking functions
Have all 8 items checked? → Lab 1 Complete! 🎉
Missing something? → Complete the missing steps above
Troubleshooting & Next Steps
Common Issues
"npm install" fails:
Try deleting node_modules and package-lock.json, then run npm install again
Python virtual environment issues:
Make sure you're in the project directory. Try python3 -m venv venv instead of python -m venv venv
Database connection errors:
Verify your Neon connection string is correct. Make sure there are no extra spaces in .env file
API key not working:
Double-check the key is copied correctly
Prepare for Lab 2
- Keep all your API keys handy
- Familiarize yourself with the chat interface
- Try uploading different business documents
- Think about how the AI decides when to book appointments
Ready for Lab 2? You'll integrate real AI capabilities and start tracking performance with MLOps!
Pro Tips
- Save your API keys securely - never commit them to Git
- Use meaningful commit messages when pushing code
- Test thoroughly - the free trial flow is what your users will experience
Docker Setup (Optional)
Install Docker Desktop:
- 1. Go to docker.com/get-started
- 2. Download for your OS
- 3. Install and start Docker Desktop
Note: We'll use Docker in Lab 5 for containerization