# Getting Started

{% embed url="<https://youtu.be/2RbZEcxgpQU>" %}

**Overview**

* Create a **'libs'** folder in your plugin
* Drag the **Universal Chat Plugin jar** into the libs folder
* Tweak **build.gradle.ks**
* Import UniversalChatAPI

## Create libs folder

In the root directory of your plugin create a libs folder

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

## Add Universal Chat Jar

Download Universal Chat, and place the plugin file into the newly created libs folder

<figure><img src="/files/0E3wBIAmcK7nt1iTtp5K" alt=""><figcaption></figcaption></figure>

## Build File Tweaking

Navigate to **build.gradle.kts** and add the following code under 'dependencies'

```gradle
implementation(files("libs/UniversalChat-17.0.0-Beta_4.jar"))
```

## Import Universal Chat's API

Import Universal Chat using the following code

```kotlin
import org.UniversalDevelopment.UniversalChat.UniversalPluginFramework.PluginKit.UniversalApi
```

## Notes

* <mark style="color:red;">**Once complete, the Universal Chat jar will be bundled with your plugin, however it will not function without the Universal Chat plugin installed in the plugins directory.**</mark>


---

# 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://universals-development.gitbook.io/universal-development/universalchat/developer-guide/getting-started.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.
