Ai Coding Tools

How to Build Your Own Chatbot using AI Tools in 2 Hours

By BTW Team4 min read

Comparing tools? See the AI tools tested on the show.

In short

A step-by-step guide to creating a functional chatbot using leading AI coding tools, perfect for anyone looking to dive into AI development quickly.

Building a chatbot might seem like a daunting task, but with the right tools and a clear plan, you can create one in just two hours. Whether you're a solo founder looking to automate customer support or an indie hacker wanting to add some flair to your product, this guide will walk you through the process using the best AI coding tools available in 2026.

Prerequisites: What You Need Before You Start

Before diving in, make sure you have the following:

  • A computer with internet access
  • Basic programming knowledge (HTML, CSS, and JavaScript will help)
  • Accounts for the AI tools we’ll be using (most offer free tiers)

Step 1: Choose Your Chatbot Platform

There are numerous platforms to build chatbots, each with its strengths and weaknesses. Here’s a breakdown of some popular options:

| Tool | Pricing | Best For | Limitations | Our Take | |-------------------|--------------------------|------------------------------|--------------------------------------|--------------------------------------| | Dialogflow | Free tier + $20/mo pro | NLP-driven bots | Limited integrations | We use this for complex conversations. | | Chatfuel | Free tier + $15/mo pro | Facebook Messenger bots | Less flexibility for custom coding | Great for simple use cases. | | ManyChat | Free tier + $10/mo pro | Marketing bots | Limited to Messenger and Instagram | We don’t use this; too niche. | | Tidio | Free tier + $18/mo pro | Customer service | Limited customization options | Works well for quick support setups. | | Landbot | Free tier + $30/mo pro | Interactive web chatbots | Can get expensive at scale | Good for lead generation forms. | | Microsoft Bot Framework | Free | Enterprise-level bots | Steeper learning curve | We don’t use this due to complexity. | | Botpress | Free + open-source | Fully customizable bots | Requires hosting skills | We love this for custom solutions. | | OpenAI GPT-3 API | $0.006 per token | Conversational AI | Costs can add up with high usage | We use this for AI-driven chats. |

Step 2: Define Your Chatbot’s Purpose

Decide what you want your chatbot to do. Common use cases include:

  • Answering FAQs
  • Collecting user information
  • Providing product recommendations
  • Booking appointments

Our Take: Start simple. If you try to do too much at once, you’ll end up with a complicated mess.

Step 3: Design the Conversation Flow

Create a flowchart outlining the conversation paths. Tools like Lucidchart or Miro can help you visualize this. Here’s a basic example:

  1. User greets the bot.
  2. Bot responds with options (e.g., "How can I help you today?").
  3. User selects an option.
  4. Bot provides relevant information or asks for more details.

What Could Go Wrong: If the flow is too complicated, users might get lost. Keep it straightforward and test it thoroughly.

Step 4: Build the Chatbot

Using your chosen platform, start building:

  • For Dialogflow: Create intents that match user queries and set responses.
  • For Chatfuel: Use blocks to create conversation paths with quick replies.
  • For Botpress: Define intents and create a custom code for dynamic responses.

Expected Outputs: By the end of this step, you should have a functioning chatbot that can respond to basic queries.

Step 5: Test Your Chatbot

Testing is crucial. Have a few friends or colleagues interact with it. Take notes on where it falls short or confuses users.

Troubleshooting Tips:

  • If the bot doesn’t understand certain queries, add more intents.
  • If it gives incorrect responses, refine your answers.

What's Next: Launch and Iterate

Once you’re satisfied with the performance, deploy your chatbot on your website or chosen platform. Monitor its interactions and gather user feedback to make improvements.

Our Take: Don’t expect perfection right away. Chatbots require ongoing tweaks based on user interactions.

Conclusion: Start Building Your Chatbot Today

Building a chatbot in two hours is entirely possible with the right tools and a clear plan. Start with a simple use case, choose a platform that fits your needs, and iterate based on user feedback. If you're ready to dive in, we recommend starting with Dialogflow for its balance of power and usability.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read