> For the complete documentation index, see [llms.txt](https://botsquare.gitbook.io/botsquare/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://botsquare.gitbook.io/botsquare/welcome-to-botsquare/quick-start.md).

# Quick Start

Let's build up a simple AI application to get you familiar with BotSquare! In the following example, we will build LLM that will answer your question for a research paper.

## 1. Create a new project

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FY9Du2eq1G223lXDKit9U%2FScreen%20Shot%202023-08-12%20at%206.54.23%20PM.png?alt=media&amp;token=a7ad08c4-ee78-449d-8826-cd4f8ac7d652" alt=""><figcaption></figcaption></figure>

## 2. Upload data source&#x20;

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FkOSFWch1CodWWSpQa11C%2FScreen%20Shot%202023-08-07%20at%205.16.45%20PM.png?alt=media&amp;token=43ef00da-bfa4-49b0-8b6d-7e350cbd36e3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FdMW8O58N9BsyvasEiG9X%2FScreen%20Shot%202023-08-12%20at%207.00.05%20PM.png?alt=media&amp;token=2d9f8660-7694-4a7f-bad7-057f972a424f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FSJuX2TTPb0bxyDt7f1qs%2FScreen%20Shot%202023-08-12%20at%207.03.33%20PM.png?alt=media&amp;token=817f5218-2c73-4045-9e8e-52ae965871fe" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2Fwez1ieiWyMRywEiJ4Lpu%2FScreen%20Shot%202023-08-12%20at%207.03.57%20PM.png?alt=media&amp;token=a188a782-7b13-4378-8fa2-80c9f6782b13" alt=""><figcaption></figcaption></figure>

When the research paper uploaded successfully, refresh the page and the data source will show as following:

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2Fwcb4aTm1r1JImi1Bawfb%2FScreen%20Shot%202023-08-07%20at%205.17.59%20PM.png?alt=media&amp;token=4f9f75c6-8482-46cd-860f-30b2cab63fb0" alt=""><figcaption></figcaption></figure>

## 3. Select the workflow modals

In this case, the user will only use text input to ask question about the research paper. For more detail of workflow modals, check [here](/botsquare/developer-guide/editor-dashboard.md).&#x20;

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FbT8DCp91KQNtsL7981IK%2FScreen%20Shot%202023-08-07%20at%205.11.03%20PM.png?alt=media&amp;token=510faf37-869e-4cbd-ba24-31ae71592638" alt=""><figcaption></figcaption></figure>

## 3. Explore the editor dashboard

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FSvdm3BSdspaylE0Gd5Ek%2FScreen%20Shot%202023-08-07%20at%205.37.14%20PM.png?alt=media&amp;token=78d63818-f767-4c77-b464-cbf03cb2f229" alt=""><figcaption></figcaption></figure>

## 4. Add the data source to the bot knowledge base

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FmNygKm3anZCwW9jFbMEk%2FScreen%20Shot%202023-08-07%20at%205.41.53%20PM.png?alt=media&amp;token=3d4558fe-1c8a-496a-aa54-acb1473006f6" alt="" width="563"><figcaption></figcaption></figure>

## 5. Add LLM

**Prompt:**

Search Result: `vd-s-0`

User Input: `start-0`

Task: Based on the Search Result and User Input, provide the proper response. Please include the reference url if needed.

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FANQ5Xirk3vMncNwxVGfA%2FScreen%20Shot%202023-08-07%20at%205.46.19%20PM.png?alt=media&amp;token=84bf1f5e-774c-4e37-864a-e43194e41523" alt=""><figcaption></figcaption></figure>

## 6. Output the response generated by LLM

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FIz7ucmWU2Z4WiFgPu2et%2FScreen%20Shot%202023-08-07%20at%205.49.56%20PM.png?alt=media&amp;token=c89cdec7-09ef-4761-acb4-9bcc525f2c27" alt=""><figcaption></figcaption></figure>

## 7. Run and test out the bot

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FyI06ILC1O2k2eXWYyRfq%2FScreen%20Shot%202023-08-07%20at%205.58.10%20PM.png?alt=media&amp;token=dffdc56d-23b0-4af7-b665-ab4946a2cbf8" alt="" width="375"><figcaption></figcaption></figure>

## 8. Deploy to other channels

Once you finished everything, click **Publish** the save your final project.

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FDclR6NbbJyJOsjTqP2Bd%2FScreen%20Shot%202023-08-12%20at%207.24.48%20PM.png?alt=media&amp;token=75552d69-9717-40f3-bf6f-7d73b5bc1611" alt=""><figcaption></figcaption></figure>

Go back to the project page and click **Deployment**&#x20;

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FNFnoIyhJ730WR8oiYamX%2FScreen%20Shot%202023-08-12%20at%207.29.24%20PM.png?alt=media&amp;token=cf96d3c3-699a-426c-9149-e3b0580b4999" alt=""><figcaption></figcaption></figure>

Select the channels to deploy with one click

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FGbinMBl9oPQyzq246DGh%2FScreen%20Shot%202023-08-12%20at%207.31.28%20PM.png?alt=media&amp;token=2fbbe930-f914-45d1-b12b-fddb293f27dc" alt=""><figcaption></figcaption></figure>
