> For the complete documentation index, see [llms.txt](https://dev-anirban.gitbook.io/jetchart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-anirban.gitbook.io/jetchart/plot-tool-kit/setting-up.md).

# Setting up

## Introduction

To start with setting up the Jet Chart Library, follow the steps given on this page, and you will be set to build your own cool user interface.

*Firstly, you need to add the following piece of code to your **root settings.gradle** file :-*&#x20;

{% tabs %}
{% tab title="Kotlin DSL" %}

```kotlin
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        mavenCentral()
        maven(url = "https://jitpack.io")
    }
}
```

{% endtab %}

{% tab title="Gradle" %}

<pre class="language-gradle"><code class="lang-gradle">dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
<strong>    repositories {
</strong>        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}
</code></pre>

{% endtab %}

{% tab title="Maven" %}

<pre class="language-xml"><code class="lang-xml">&#x3C;repositories>
    &#x3C;repository>
        &#x3C;id>jitpack.io&#x3C;/id>
<strong>        &#x3C;url>https://jitpack.io&#x3C;/url>
</strong>    &#x3C;/repository>
&#x3C;/repositories>
</code></pre>

{% endtab %}
{% endtabs %}

*Secondly, you need to add the following dependency to your **module's build.gradle** file :-*

{% tabs %}
{% tab title="Kotlin DSL" %}

<pre class="language-kotlin"><code class="lang-kotlin">dependencies {
<strong>    implementation("com.github.basakjeet08:JetChart:(insert latest version)")
</strong>}
</code></pre>

{% endtab %}

{% tab title="Gradle" %}

```gradle
dependencies {
    implementation 'com.github.basakjeet08:JetChart:(insert latest version)'
}
```

{% endtab %}

{% tab title="Maven" %}

```xml
<dependency>
  <groupId>com.github.basakjeet08</groupId>
  <artifactId>JetChart</artifactId>
  <version>(insert latest version)</version>
</dependency>
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Note :** After you are done with these steps you need to sync the Gradle file before you can start using the library in your projects.
{% endhint %}
