Skip to main content

Installation Guide

This comprehensive guide covers everything you need to install, configure, and deploy the YouTube Automation Agent.

Prerequisites

Node.js 18+

JavaScript runtime required for the application

Google Account

For YouTube Data API access

AI Provider Account

OpenAI or Google AI Studio account

10 Minutes

Initial setup and configuration time

System Requirements

  • 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

1

Download Node.js

Visit nodejs.org and download the LTS version.
2

Verify Installation

Step 2: Clone Repository

Step 3: Install Dependencies

Install all required npm packages:
This installs:

Step 4: Configure API Credentials

YouTube Data API Setup

1

Create Google Cloud Project

  1. Navigate to Google Cloud Console
  2. Click “Select a project”“New Project”
  3. Enter project name: YouTube Automation Agent
  4. Click “Create”
Project creation takes 10-30 seconds. Wait for the notification before proceeding.
2

Enable YouTube Data API v3

  1. In the left sidebar: “APIs & Services”“Library”
  2. Search for: YouTube Data API v3
  3. Click on the API in results
  4. Click “Enable” button
3

Create OAuth 2.0 Credentials

  1. Navigate to: “APIs & Services”“Credentials”
  2. Click “Create Credentials”“OAuth client ID”
  3. If prompted, configure OAuth consent screen:
    • User Type: External
    • App name: YouTube Automation Agent
    • Support email: Your email
    • Scopes: Add youtube.upload, youtube.readonly
  4. Back to credentials, choose application type: Desktop app
  5. Name it: YouTube Automation Desktop
  6. Click “Create”
4

Download Credentials

  1. Click the download icon (⬇️) next to your new OAuth client
  2. Save the JSON file
  3. Rename to credentials.json
  4. Move to config/credentials.json in your project:

AI Provider Setup

Choose one of the following AI providers:

Step 5: Run Setup Wizard

The interactive setup wizard configures everything:

Setup Wizard Flow

1

Create Directories

2

Initialize Database

3

Configure Credentials

Interactive prompts for:
  • YouTube channel selection
  • AI provider preference
  • API keys validation
  • Content preferences
  • Posting schedule
4

Generate Environment File

5

Validate Setup

Step 6: Start the Application

Launch the automation agent:
Successful startup shows:

Deployment Options

Local Development

Run on your computer during development:

Production Deployment

Configuration Reference

Environment Variables

Verification

Confirm everything is working:
1

Health Check

Should return:
2

Test Content Generation

3

Check Logs

Next Steps

API Reference

Explore available API endpoints

Configuration

Advanced configuration options

Agents

Learn about each AI agent

Troubleshooting

Common issues and solutions
Installation Complete! Your YouTube Automation Agent is now running and will automatically generate and publish content according to your schedule.