> For the complete documentation index, see [llms.txt](https://docs.blockbrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockbrain.ai/for-builders/how-to-build-a-knowledge-bot.md).

# How to build a Knowledge Bot

Welcome to the Builder’s Guide. This section will walk you through what a **Knowledgebot** is, how it works, and the different ways you can create one in Blockbrain.

Creating a Knowledgebot is your first step toward building an AI-powered assistant tailored to your specific needs. It transforms your files, data, and documentation into an intelligent system that can answer questions, perform tasks, and support your team’s day-to-day operations.

{% embed url="<https://drive.google.com/file/d/1jlQq31rtnqaTLurBieXwBhB7mKLBSeJy/view?usp=sharing>" %}

{% hint style="warning" %}
Please note that not all steps are required for a quick bot setup. \
Specifically, steps 3, 4, 5, 6, and 9 are optional and delve deeper into the details. \
These steps can be configured at a later time if needed. \
For a quick bot setup, simply follow steps 0, 1, 2, 7, 8, and 10.
{% endhint %}

## Bot Creator

Use the **Bot Creator** to build bots for team-wide use. This allows you to configure sharing settings, add workflows, attach databases, and collaborate with others from the start.

<figure><img src="/files/3ShArbK4NerW90s8uESA" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.blockbrain.ai/for-builders/how-to-build-a-knowledge-bot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
