Installation Guide
This comprehensive guide covers everything you need to install, configure, and deploy the YouTube Automation Agent.Prerequisites
Node.js 18+
Google Account
AI Provider Account
10 Minutes
System Requirements
- Minimum
- Recommended
- OS: Windows 10+, macOS 10.15+, Ubuntu 20.04+
- CPU: 2 cores
- RAM: 2 GB available
- Storage: 5 GB free space
- Network: Stable internet connection
Step 1: Install Node.js
Download Node.js
Verify Installation
Step 2: Clone Repository
Step 3: Install Dependencies
Install all required npm packages:Core Dependencies
Core Dependencies
AI Providers
AI Providers
Automation Tools
Automation Tools
Media Processing
Media Processing
Step 4: Configure API Credentials
YouTube Data API Setup
Create Google Cloud Project
- Navigate to Google Cloud Console
- Click βSelect a projectβ β βNew Projectβ
- Enter project name:
YouTube Automation Agent - Click βCreateβ
Enable YouTube Data API v3
- In the left sidebar: βAPIs & Servicesβ β βLibraryβ
- Search for:
YouTube Data API v3 - Click on the API in results
- Click βEnableβ button
Create OAuth 2.0 Credentials
- Navigate to: βAPIs & Servicesβ β βCredentialsβ
- Click βCreate Credentialsβ β βOAuth client IDβ
- If prompted, configure OAuth consent screen:
- User Type: External
- App name:
YouTube Automation Agent - Support email: Your email
- Scopes: Add
youtube.upload,youtube.readonly
- Back to credentials, choose application type: Desktop app
- Name it:
YouTube Automation Desktop - Click βCreateβ
Download Credentials
- Click the download icon (β¬οΈ) next to your new OAuth client
- Save the JSON file
- Rename to
credentials.json - Move to
config/credentials.jsonin your project:
AI Provider Setup
Choose one of the following AI providers:- OpenAI (Recommended)
- Google Gemini (FREE)
- Custom (Advanced)
OpenAI Setup
Create Account
Generate API Key
- Go to API Keys
- Click βCreate new secret keyβ
- Name it:
YouTube Automation - Copy the key (starts with
sk-proj-)
Add Credits
- Go to Billing
- Click βAdd payment methodβ
- Add $5-10 to start (lasts 20-50 videos)
Configure in .env
- GPT-4: $0.01 per 1K tokens (~750 words)
- DALL-E 3: $0.040 per image (1024x1024)
- Total per video: ~$0.10-0.30
Step 5: Run Setup Wizard
The interactive setup wizard configures everything:Setup Wizard Flow
Create Directories
Initialize Database
Configure Credentials
- YouTube channel selection
- AI provider preference
- API keys validation
- Content preferences
- Posting schedule
Generate Environment File
Validate Setup
Step 6: Start the Application
Launch the automation agent:Deployment Options
Local Development
Run on your computer during development:Production Deployment
- PM2 (Recommended)
- Docker
- VPS (DigitalOcean/Linode)
Configuration Reference
Environment Variables
Application Settings
Application Settings
YouTube Settings
YouTube Settings
Content Settings
Content Settings
Automation Settings
Automation Settings
Verification
Confirm everything is working:Health Check
Test Content Generation
Check Logs