Skip to content

Getting Started

Welcome to the Tiny Foundation tutorials! In this guide, you will learn how to: 1. Initialize a new knowledge base. 2. Push your first markdown files to the workspace. 3. Review and approve your documents. 4. Visualize the extracted knowledge graph.

1. Initializing your Knowledge Base

First, create a new directory for your markdown files and navigate into it:

mkdir my-knowledge-base
cd my-knowledge-base

Log in to the Tiny Foundation CLI:

tiny login

Now, link this directory to your remote workspace by passing your workspace name (or ID):

tiny init "test-a"
This will create a tiny.yaml configuration file.

2. Writing and Pushing Content

Create a simple markdown file, for example product-a.md:

# Product A

Product A is manufactured at Plant 1. It is our flagship offering.

Push your local changes up to the Tiny Foundation platform:

tiny push
Your file is now securely stored in the cloud as a "draft".

3. Reviewing and Approving

To see the status of your documents, run:

tiny status
You should see product-a.md listed as PENDING.

To approve it and finalize the draft, run:

tiny approve product-a.md
(Tip: Approving a document automatically triggers the backend pipeline to parse its contents and extract relationships for the knowledge graph.)

4. Visualizing the Knowledge Graph

Once the backend has finished parsing, you can explore the relationships it discovered!

Launch the interactive TUI (Terminal User Interface):

tiny tui
You can now navigate the graph, see the connections between "Product A" and "Plant 1", and explore your data in real time!