I Failed 5 Times Setting Up MoltBot Before I Finally Got It Working - Complete Beginner Guide With Every Step Explained 2026

|

I Failed 5 Times Setting Up MoltBot Before I Finally Got It Working

The complete beginner guide with every single step explained - no coding experience needed

20 min read • Step by Step • Troubleshooting Included

Real talk. The first time I tried to install MoltBot I broke something on my computer and had to reinstall the whole operating system.

Second time I got stuck on a permission error for three hours.

Third time the bot connected but it would not respond to any messages.

Fourth time it worked for 10 minutes then crashed and never came back.

Fifth time I almost gave up completely.

If any of this sounds familiar, keep reading. I am going to save you from the same frustration.

😤 Why Is It So Hard?

Most tutorials online assume you already know things. They say stuff like "just clone the repo and run the setup wizard" like everyone knows what that means.

Or they skip steps because it seems obvious to them. But if you are not a developer, nothing is obvious.

And the official documentation is written by developers for developers. Great if you speak that language. Useless if you do not.

The Real Problems I Faced (And How I Fixed Them)

Let me share every single problem I encountered so you can avoid them:

Problem 1

Ollama Not Starting Properly

What happened: I installed Ollama but when I tried to use it, nothing worked. The command just hung there doing nothing.

✅ Solution: Ollama needs to run as a background service, not just be installed. On Linux run: sudo systemctl start ollama and then sudo systemctl enable ollama to make it start automatically.

Problem 2

The Environment File Confusion

What happened: I edited the .env.example file directly and nothing worked. Spent hours wondering why my settings were being ignored.

✅ Solution: You must COPY the example file and rename it. Run: cp .env.example .env first, then edit the new .env file. The example file is just a template.

Problem 3

Telegram Bot Not Responding

What happened: I created the bot with BotFather and got the token, but when I messaged the bot it just ignored me completely.

✅ Solution: You need to START a conversation with your bot first by clicking the Start button in Telegram. Also make sure MoltBot is actually running. Check with: pm2 status or look for the process.

Problem 4

Firewall Blocking Connections

What happened: Everything seemed configured correctly but MoltBot could not connect to Ollama. No error message, just silence.

✅ Solution: Your firewall might be blocking local connections. On Linux, allow the Ollama port: sudo ufw allow 11434. On Windows, add an exception in Windows Firewall for port 11434.

Problem 5

Out of Memory Crashes

What happened: The model would start loading then my computer would freeze or the process would just die. No clear error message.

✅ Solution: Your model is too big for your RAM. If you have 8GB use llama3.2:3b. If you have 16GB use qwen2.5:7b. Also close Chrome and other memory-hungry apps.

💡 What Finally Worked

I found a guide that was written for normal people. Not developers. It explained every single step with screenshots. Every command you need to type. Every setting you need to change. Every common error and how to fix it.

I followed it step by step and in about 2 hours I had everything running. The same thing that took me weeks of failed attempts before.

The Complete Setup Process (Actually Explained)

Here is the full process broken down into steps that actually make sense:

📦 Phase 1: Preparing Your Computer

1.1

Choose Your Operating System

MoltBot works on Windows, Mac, and Linux. But Linux is recommended because it is more stable for running 24/7.

Best options for beginners:
Ubuntu Desktop 22.04 - Easiest Linux for beginners
Ubuntu Server 22.04 - If you do not need a graphical interface
Windows 11 - Works but needs more RAM
macOS - Works great on M1/M2/M3 Macs

1.2

Check Your Hardware

Before you start, make sure your computer meets these requirements:

RAM 8GB minimum (16GB recommended)
Storage 20GB free space (SSD preferred)
Processor Any dual-core from 2015+
GPU Not required (optional speed boost)

⚙️ Phase 2: Installing Ollama

2.1

Download and Install Ollama

On Linux or Mac - Open Terminal and paste this command:

curl -fsSL https://ollama.com/install.sh | sh

On Windows - Go to ollama.com/download and download the Windows installer. Run it like any normal program.

⚠️ Wait for it to finish! The installation might take 2-5 minutes. Do not close the terminal window.

2.2

Start Ollama Service

On Linux - Run these commands to start Ollama and make it run automatically:

sudo systemctl start ollama
sudo systemctl enable ollama

On Mac - Ollama starts automatically. You will see a llama icon in your menu bar.

On Windows - Ollama runs automatically after installation. Look for the icon in your system tray.

2.3

Download an AI Model

Now download a model based on your RAM:

# If you have 8GB RAM:
ollama pull llama3.2:3b

# If you have 16GB RAM:
ollama pull qwen2.5:7b

# If you have 32GB+ RAM:
ollama pull qwen2.5:32b

ℹ️ This takes time! Models are 2-20GB depending on size. Could take 10-30 minutes on slow internet. Be patient.

2.4

Test Ollama

Before continuing, make sure Ollama works. Run this command:

ollama run qwen2.5:7b "Hello, are you working?"

If you get a response, Ollama is working. If not, check the troubleshooting section below.

🤖 Phase 3: Installing MoltBot

3.1

Install Node.js (Required)

MoltBot needs Node.js to run. Install it first:

# On Ubuntu/Debian:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs

# On Mac:
brew install node

On Windows: Download from nodejs.org and install normally.

3.2

Download MoltBot

Clone the MoltBot repository from GitHub:

git clone https://github.com/steipete/moltbot
cd moltbot

⚠️ Don't have git? Install it first: sudo apt install git on Linux or download from git-scm.com

3.3

Create Configuration File (IMPORTANT!)

This is where most people mess up. You MUST copy the example file:

cp .env.example .env

🚫 DO NOT edit .env.example directly! Always copy it to .env first. This is the #1 mistake beginners make.

3.4

Configure MoltBot for Ollama

Open the .env file in a text editor and add these settings:

# Ollama Configuration
OLLAMA_HOST=http://localhost:11434
DEFAULT_MODEL=qwen2.5:7b
DEFAULT_PROVIDER=ollama

# Your Telegram Bot Token (get from @BotFather)
TELEGRAM_BOT_TOKEN=your_token_here

To edit on Linux: nano .env then Ctrl+X to save.

📱 Phase 4: Setting Up Telegram

4.1

Create a Telegram Bot

Open Telegram and search for @BotFather. Start a chat and follow these steps:

  1. Send the command: /newbot
  2. Choose a name for your bot (example: "My AI Assistant")
  3. Choose a username ending in "bot" (example: "myai_helper_bot")
  4. BotFather will give you a token that looks like: 123456789:ABCdefGHIjklMNOpqrSTUvwxYZ
  5. Copy this token and paste it in your .env file
4.2

Start Your Bot

Search for your bot username in Telegram and click START. This is required before the bot can send you messages.

✅ Important: You MUST click Start first. Many people skip this step and wonder why the bot does not respond.

🚀 Phase 5: Launch and Test

5.1

Install Dependencies and Run

Install required packages and start MoltBot:

npm install
npm start

You should see messages indicating MoltBot is connected and waiting for messages.

5.2

Test Your AI Assistant

Open Telegram and send a message to your bot. Try something simple like:

"Hello! Can you tell me a joke?"

🎉 If you get a response, congratulations! Your personal AI assistant is now running on your own hardware.

Common Errors and Quick Fixes

If something goes wrong, check these common issues:

Error Message Solution
Connection refused Ollama is not running. Start it with: sudo systemctl start ollama
Model not found Download the model first: ollama pull qwen2.5:7b
Out of memory Use a smaller model. Try llama3.2:3b instead.
Telegram timeout Check your bot token is correct. Get a new one from @BotFather.
Permission denied Add sudo before the command, or fix folder permissions.
npm not found Node.js is not installed. Install it first.

💻 My Current Setup (Working for 4 Months)

Hardware

Old ThinkPad T460

RAM

16GB (upgraded)

OS

Ubuntu Server 24.04

Model

Qwen 2.5 7B

Uptime

4 months, zero issues

Monthly Cost

~$3 electricity

Still Struggling With Setup?

I spent weeks figuring all this out through trial and error. You do not have to. Everything is documented in one place with screenshots for every single step.

MoltBot ClawdBot AI Automation Book
MoltBot & ClawdBot: A.I Automation That Works While You Sleep
  • ✓ 231 pages of step-by-step instructions
  • ✓ Screenshots of every single screen
  • ✓ Troubleshooting for 50+ common errors
  • ✓ Copy-paste configurations included
  • ✓ Works on Windows, Mac, and Linux
Get the Complete Guide on Amazon

This book saved me from weeks of frustration. It can save you too.

Final Words

Setting up MoltBot and Ollama is not hard once you know the right steps. The problem is most guides skip important details or assume you already know things.

I failed five times before getting it right. Now I have an AI assistant that has been running 24/7 for four months without a single issue. The investment of time was absolutely worth it.

Your own AI assistant is closer than you think. Follow this guide step by step and you will get there.

✅ What You Learned Today

The 5 most common setup problems and how to fix them • Complete installation process for Ollama • How to configure MoltBot correctly • Setting up Telegram bot integration • Troubleshooting common errors • My working setup after 4 months

Made for everyone who struggled with the setup like I did

MoltBot and ClawdBot are open source projects. This blog is not officially affiliated.

I Was Spending $50/Month on AI APIs Until I Discovered This Free Alternative - Complete Guide to Running MoltBot and Ollama Locally in 2026

|

I Was Spending $50/Month on AI APIs Until I Discovered This Free Alternative

The complete guide to running your own AI assistant with zero monthly costs

15 min read • Complete Tutorial • Free Resources Inside

Let me tell you something embarrassing. For almost four months I was paying around $50 every single month on AI APIs. ChatGPT Plus here. Claude API there. A little bit of OpenAI credits for my side projects.

Then one day I looked at my credit card statement and thought... wait, what am I doing?

😤 The Problem Most of Us Face

You want to use AI for real work. Not just asking random questions but actually automating stuff. Sending emails. Organizing files. Getting summaries of documents. The useful stuff.

But every time you do that with cloud APIs, the meter is running. Every token costs money. Every request adds up. And before you know it, you are paying more for AI than you pay for Netflix, Spotify, and your phone bill combined.

The Real Cost of Cloud AI

Let me show you what I was actually spending before I found the alternative:

❌ What I Was Paying

$50+
Every single month

ChatGPT Plus: $20
Claude API: ~$30
Random credits: $10+

✅ What I Pay Now

$3-5
Maximum per month

Electricity only
Zero subscriptions
Zero API fees

💰 Your Potential Savings Calculator

ChatGPT Plus (12 months) - $240
Claude Pro (12 months) - $240
API Credits (average use) - $120
Local AI Setup (one time) - $0 to $200
Electricity (12 months) - $36 to $60
Your First Year Savings $340 to $540+

💡 What Changed Everything For Me

I discovered you can run AI models on your own computer. Like, actually on your own hardware. No monthly fees. No per-token charges. Nothing.

The setup is called Ollama + MoltBot. Ollama runs the AI brain. MoltBot connects it to your phone through Telegram or WhatsApp. So you can text your AI assistant just like texting a friend.

The crazy part? It runs on old hardware. I am using a laptop from 2018 and it works fine.

How This Actually Works

Let me break down the comparison in simple terms:

Feature Cloud AI Local AI
Monthly Cost $20 to $100+ $0 to $5
Data Privacy ❌ Sent to servers ✅ Stays on your machine
Usage Limits ❌ Rate limits ✅ Unlimited
Internet Required ❌ Always ✅ Works offline
Complex Reasoning ✅ Excellent Good (not as advanced)

ℹ️ Important to Understand

Local AI is not meant to fully replace GPT-4 or Claude. For really complex reasoning tasks, cloud models are still better. But for 90% of daily tasks like writing emails, summarizing documents, answering questions, and organizing files, local models work perfectly.

What You Need to Get Started

Here is the minimum hardware that will work:

💾

RAM

8GB minimum

16GB recommended

💿

Storage

20GB free

SSD preferred

Processor

Any dual-core

2015 or newer

🎮

GPU

Not required

Optional boost

✅ Good News

That old laptop from 2015 you were going to throw away? It can probably run this. You do not need expensive gaming hardware or a new computer.

Step by Step Setup Guide

Here is the basic process to get your own AI assistant running:

1

Install Ollama

Ollama is the engine that runs AI models locally. Installation takes about 2 minutes.

# On Linux or Mac, run this command:
curl -fsSL https://ollama.com/install.sh | sh
2

Download an AI Model

Choose a model based on your RAM. Smaller models are faster but less capable.

# For 8GB RAM:
ollama pull llama3.2:3b

# For 16GB RAM:
ollama pull qwen2.5:7b

# For 32GB+ RAM:
ollama pull qwen2.5:32b
3

Install MoltBot

MoltBot connects your AI to messaging apps like Telegram and WhatsApp.

# Clone and setup:
git clone https://github.com/steipete/moltbot
cd moltbot
cp .env.example .env
./moltbot setup
4

Configure and Connect

Edit the configuration file to use your local Ollama model.

# In your .env file:
OLLAMA_HOST=http://localhost:11434
DEFAULT_MODEL=qwen2.5:7b
DEFAULT_PROVIDER=ollama
5

Start Using Your AI

Send a message to your bot on Telegram. It responds using your local AI. No internet required after setup. No fees ever.

⚠️ Heads Up

The steps above are simplified. The actual setup involves more configuration, troubleshooting, and security settings. This is where most people get stuck and give up.

Where to Get Free APIs (For Backup)

Even though local AI handles most tasks, sometimes you need more power. Here are completely free API options to use as backup:

Google AI Studio

FREE

Models: Gemini 1.5 Pro & Flash
Limit: 60 requests/minute
Get it: aistudio.google.com

Groq

FREE

Models: Llama 3.1 70B, Mixtral
Limit: 30 requests/minute
Get it: groq.com

OpenRouter

FREE

Models: Dozens of free models
Limit: Varies by model
Get it: openrouter.ai

HuggingFace

FREE

Models: Thousands available
Limit: Generous for personal use
Get it: huggingface.co

💡 Pro Tip: Hybrid Setup

Configure MoltBot to use local Ollama for 90% of requests, and only call free cloud APIs for complex tasks. This gives you the best of both worlds: privacy and power, all for free.

What I Actually Use It For

Here are real examples of how my local AI assistant helps me every day:

  • Morning email summary - It reads my inbox and gives me a 3-sentence summary of what needs attention
  • Writing help - Draft emails, messages, and documents in my tone
  • Quick research - Answer questions without opening a browser
  • File organization - Help sort and rename files based on content
  • Code assistance - Explain errors and suggest fixes
  • Brainstorming - Generate ideas when I am stuck
  • Document summaries - Condense long PDFs into key points
  • Translation - Quick translations for work

All of this runs on hardware I already owned, costs me nothing per month, and keeps my data completely private.

"

The best part is not the money I save. It is knowing that my questions, my documents, and my private thoughts never leave my computer. That peace of mind is priceless.

The Honest Downsides

I want to be completely transparent about the limitations:

  • Not as smart as GPT-4 - For complex reasoning and analysis, cloud models are still better
  • Setup takes time - Expect a weekend of configuration if you are new to this
  • Troubleshooting required - Things will break and you will need to fix them
  • No real-time information - Local models do not know current events
  • Hardware dependent - Response speed depends on your computer

For me, these tradeoffs are worth it. 90% of my AI usage does not need GPT-4 level intelligence. The local model handles it perfectly, and I keep my money and my privacy.

Is This Right For You?

This is perfect if you:

  • Are tired of monthly AI subscriptions
  • Care about data privacy
  • Have an old computer you can dedicate to this
  • Mostly use AI for everyday tasks, not complex analysis
  • Enjoy learning new tech (or can follow instructions)

This might not be for you if:

  • You need bleeding-edge AI capabilities constantly
  • You have zero patience for technical setup
  • You do not have any spare hardware
  • You are happy paying for the convenience of cloud AI

Want the Complete Step-by-Step Guide?

Everything I learned in months of trial and error is documented in one place. 231 pages of detailed instructions, screenshots, troubleshooting guides, and advanced configurations.

MoltBot ClawdBot AI Automation Book
MoltBot & ClawdBot: A.I Automation That Works While You Sleep
  • ✓ Complete setup from zero to working assistant
  • ✓ Screenshots of every single step
  • ✓ Troubleshooting for 50+ common errors
  • ✓ Security configuration guide
  • ✓ Free API setup and hybrid configs
Get the Book on Amazon

This book completely changed how I use AI. No more monthly bills. No more watching the meter.

Final Thoughts

Six months ago I was spending $50+ every month on AI services. Today I spend less than $5 on electricity and have a more capable setup that respects my privacy.

The technology to run AI locally has gotten incredibly good. You do not need a computer science degree. You do not need expensive hardware. You just need patience and good instructions.

Your own AI assistant, running 24/7, completely free. It sounds too good to be true, but it is not. It is just technology that most people do not know about yet.

I hope this guide helps you get started. If you have questions, drop them in the comments below.

✅ What You Learned Today

How cloud AI costs add up over time • Why local AI is a viable alternative • What hardware you actually need • The basic setup process • Where to get free backup APIs • Real use cases and honest limitations • How to decide if this is right for you

Made with dedication to helping people use AI without breaking the bank

MoltBot and ClawdBot are open source projects. This blog is not officially affiliated.