---
title: 'How to Build AI ChatBot with Custom Knowledge Base in 10 mins'
source: 'https://youtube.com/watch?v=6hQF80_xMkQ'
video_id: '6hQF80_xMkQ'
date: 2026-06-17
duration_sec: 0
---

# How to Build AI ChatBot with Custom Knowledge Base in 10 mins

> Source: [How to Build AI ChatBot with Custom Knowledge Base in 10 mins](https://youtube.com/watch?v=6hQF80_xMkQ)

## Summary

This video demonstrates how to build a custom AI chatbot using Google Cloud's Vertex AI Agent Builder, without any coding. The chatbot can be trained on documents like PDFs, manuals, and ebooks, and then integrated into a website or messaging platforms. The entire process takes less than 10 minutes.

### Key Points

- **No-Code Chatbot Creation** [0:00] — The video shows how to create a chatbot using Vertex AI Agent Builder (Dialogflow CX) with a custom knowledge base from documents like PDFs, HTML, text files, CSVs, Word docs, and PowerPoint files.
- **Example Data Source** [1:24] — The data source used is a 188-page PDF of the US government budget, uploaded to Google Cloud Storage.
- **Setting Up the Agent** [1:37] — Steps include logging into Google Cloud Console, enabling Vertex AI and Dialogflow APIs, creating a new agent, and setting up a data store by importing the PDF from Cloud Storage.
- **Testing the Chatbot** [4:36] — The chatbot is tested by asking questions like 'What are the president's top priorities for 2025?' and it responds with grounded answers, showing the source page (e.g., page 9).
- **Integration Options** [5:42] — The chatbot can be integrated into a website by enabling an unauthenticated API and copying the provided code. It can also be connected to Facebook Messenger, Slack, Discord, or Telegram.
- **Analytics and History** [9:01] — Conversation history and analytics can be enabled to track user interactions and improve the chatbot.

## Transcript

what if you could turn your website in
all of those PDF documents manuals
guides uh ebooks and reports into a
helpful chatbot imagine asking questions
and getting instant answers directly
from your website your documents or any
ebook will guess what I found a way to
do this in less than 10 minutes in this
video I'll show you how easy it is to
build your own AI chatbot with custom
knowledge base without any coding skills
you can do this for your business or
other businesses and start making money
by the end of this tutorial video not
only you'll be able to create a chatbot
and train your AI based on your own data
using PDF HTML txt CSV Word documents
and PowerPoint presentation files but
also integrate the chatbot into your
website Facebook Messenger Flack Discord
or Telegram in this video you learn how
to create a data story agent how to add
add structure data to your data agent
data store how to enable voice and chat
experiences for your agent how to test
agent and simulate customer questions
how to V conversation history and
analytics for your agent all of that in
about 10 minutes without any further Ado
let's get
[Music]
started all right so before we start let
me show you the document that we'll be
using thing as the data source this is
budget of the US government and it's 188
pages long so to get started we'll go to
cloud.google.com
uh log in with your account and click on
console from the console click search
for agent
Builder click on agent Builder before
creating a new app make sure that the
vertex AI API and the dialog flow apis
are enabled if they're not enabled get a
prompt and then you can enable it on the
screen select
chat and provide the company
name provide the agent
name click
continue we'll create a data store this
is where we can create a data store
click on create data store you get three
options
here you can provide a website URL and
it will automatically crawl website
content from a list of domains that you
defined you can provide the data from
your storage bucket or you can import
data manually by calling the
API I'll select the cloud storage and um
you can import a folder or you can
import a file I'll select file and head
browse I created this bucket earlier
where I uploaded that PDF document that
I showed you uh I've already uploaded
uploaded it um but for your case you can
upload any document to your uh cloud
storage and you'll be able to select it
from here click
select so PDF html text files CSV Word
document and presentation files fall
under the unstructured documents now you
can use that as the data source or you
can use Json L for unstructured
documents with metadata information and
click on this link for more information
or you can use CSV file for structured
um frequently Asked data this is only
for chat but for our example we're going
to be using the unstructured document
click on continue I'm going to name the
data store us um budget 2025 25 and
click on create it's going to create the
data store okay so it created a data
store I will select the data store and
click on create
okay so the data store has been created
over here I can click on over um on this
link uh to see more
information um on this screen I can see
the
activity and I need to make sure that
data has been imported successfully with
without any
errors and we are using the digital
parser now we can hit um preview to see
the
preview uh now we will test our agent uh
testing is an important part of working
with conversational agents to find box
identify limitations and simulate a
customer experience you can start an
interactive session with your chat bot
to see how it responds to various
questions that a customer might ask
click on the test agent Link at the top
right hand
corner um this is where we can uh test
the chat bot we can write
hello and we have more control over
customizing the response of the agent
from this screen um we can enable
logging um by going here and checking
this enable conversational history by
checking this box uh we will get the
conversation history uh let's suppose we
put this on our website and people
interact with our chatbot and if you
want to be able to see those
interactions you need to check this box
and hit save we click on manage click on
integration let me show you a very cool
thing uh you can add a phone gateway to
your Bot which will make use of speech
to text and text to speech capabilities
in the Google Cloud you can head on this
manage uh button to enable that feature
but for now I'm happy with the text
uh chatbot and text based I can click on
connect we can enable this
unauthenticated API which means that
will allow people without authentication
to interact with the chat bot and I'll
click on enable an authenticated API
this is the code that you can use to put
on your website and you'll get the
chatbot on your website so to see how it
would look like click on try it now and
you get this um you get this icon at the
bottom uh right hand corner so you click
on this and this is the chat box that
you you can put on your website what are
president's top
priorities for year
2025 the chatbot read the document and
responded with present stop economic
prorities lowering cost for American
families the administration is working
to bring down the uh prescription drug
cost health insurance premiums utility
bills cost for everyday Goods all while
taking on junk fee studs some Airlines
Banks and other companies use to rip off
Americans and also it's grounded the
data and if I click on this link it will
show me exactly where it found that
information from and as you can see it's
on page nine and this is where the
chatbot found that information is
lowering cost for hardworking Americans
the administration is working to bring
down prescription dve cost health
Assurance we're we are grounding it with
our own data source so let me ask it
another question let me ask what has
president invested
in the president has invested in America
and American people by signing into law
historic legislation such as the
American Rescue plan the bipartisan
infrastructure law the chips uh and
science Act and the inflation reduction
act let me ask it another question like
um what are some of the
accomplishment of the Biden
Administration the bid Administration
has made historic Investments and mental
healthc care including nearly 1 billion
to support the 988 suicide and crisis
Lifeline the administration is also
committed to investing in training more
mental health professionals in his
expanded certified community behavioral
health clinics Nationwide when testing
your virtual agent if you find that your
bot's answers do not meet your
expectations you can always add more
URLs to the data source to improve how
your Bot handles questions and answers
you can add more URLs it can add more
documents um other than testing many
different paths the customer might make
how else can you determine where the
problem in friction points or in your
version ual agent conversation history
in analytics help uh so we enabled I
showed you where you can enable that uh
conversation history under the agents I
already enabled that and to get to that
conversation history you can click on
conversation history and this is where
you're going to see the conversation
history and I can click on any of these
uh and it will show me uh my interaction
with uh the chat bot I've asked it's
going to show the history of my
conversation and once you put that on
your website and you would be able to
see the interaction of your chat bot
with your visitors website visitors
congratulations using the verx AI
conversation in dialog flow CX you have
successfully created a data store agent
your virtual agent can answer hundreds
of different questions about your
website or any document PDF manual
guides ebooks and reports at sector that
you may have you don't have to go
through the manual process of creating a
large number of intense training phrases
response messages we literally created
this in less than 10 minutes this video
was requested in the comment section by
a few of my subscribers I read all of
the comments and i' love to hear your
thoughts um feel free to share your
ideas for upcoming videos if you don't
have any questions or feedback you can
support my work by just typing coding
money in the comment section it really
helps with the YouTube algorithms if you
found this video useful a thumbs up
would be highly appreciated stay tuned
for exciting new videos to ensure you
don't miss out please subscribe and hit
the notification Bell icon you may also
want to check out the video that pops up
on the screen somewhere until next time
thank you for watching
