# Create a Simple 'Knowledge Base' using our Elements

The Snack Prompt platform offers a powerful feature called **KMS (Knowledge Management System)**, enabling users to create, organize, and manage structured knowledge bases for AI applications, automation, and business processes.

## Turn a Table into an AI Knowledge Base

In Snackprompt, anything you create—from a simple document to a prompt—can become a Knowledge Base. This allows AI Agents to read and use your specific data.

In this tutorial, you will learn how to create a simple table and instantly convert it into a Knowledge Base for your AI agents.

#### What you will achieve

By the end of this tutorial, you will have a structured table filled with data that is fully accessible by AI Agents.

## Turn a Table into an AI Knowledge Base

In Snackprompt, anything you create—from a simple document to a prompt—can become a Knowledge Base. This allows AI Agents to read and use your specific data.

In this tutorial, you will learn how to create a simple table and instantly convert it into a Knowledge Base for your AI agents.

#### What you will achieve

By the end of this tutorial, you will have a structured table filled with data that is fully accessible by AI Agents.

***

#### Step 1: Create a new Table

First, we need to create the table structure.

1. On the left-hand navigation bar, click the **+ (Plus)** button.
2. From the dropdown menu, select **Table**.

<figure><img src="/files/Gw98ljLHw1aEZ9G7xKrN" alt=""><figcaption></figcaption></figure>

#### Step 2: Add your data

Now that you have your table, it's time to populate it with the information you want the AI to learn.

1. Give your table a title (e.g., "My First Table").
2. Fill in the columns and rows with your information. You can use the expanded side-view to easily edit the content of each cell.

<figure><img src="/files/E1GsXoyDzYGeR6S5vLRP" alt=""><figcaption></figcaption></figure>

#### Step 3: Enable the Knowledge Base

The final step is to make this data available to AI.

1. Navigate to the top right corner of the screen and click the **⋮ (Three dots)** menu.
2. Find the **Knowledge Base** option.
3. Click the toggle switch to turn it **ON**.

<figure><img src="/files/YHDl5cNZvnDCZaO7zJv6" alt=""><figcaption></figcaption></figure>

#### 🎉 Success!

Congratulations! Your table is now an active Knowledge Base. Any AI Agent connected to this base can now consume, query, and utilize the data you just organized.

\
**Next Steps:** Try creating an AI Agent and connecting it to this new Knowledge Base to test how it answers questions based on your table, using our [Knowledge Base API](/bring-your-data-into-ai/get-started/how-to-use-your-knowledge-bases.md)<br>

What if I only want to save the style of my element? Mark it as a template.


---

# Agent Instructions: 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:

```
GET https://docs.snackprompt.com/get-started/create-a-simple-knowledge-base-using-our-elements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
