> 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/~/revisions/cIYk4huBoAvhOouMPj2d/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="https://3232460952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIabFtGTeQzwfWCzp8vd6%2Fuploads%2FbcMXPLhr4EwH1YThH0AF%2F(E)%20Bot%20Creator.gif?alt=media&amp;token=5d0a1a5b-6579-4ecb-8a95-6bbd2e859e9e" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
