# Project Setup

Start a new project in IntelliJ IDEA, configuring it as follows:

<figure><img src="https://3915496693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRd9E855ViOcrHgpuE72h%2Fuploads%2FaKI8VlJDFnufhfYxznwz%2FQBkMc7a.png?alt=media&#x26;token=5b9929cd-e06c-4fb8-85c5-db9f2cf8cce4" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="136">Option</th><th>Value</th></tr></thead><tbody><tr><td>Name</td><td>The name of your project, the convention is your name in lowercase followed by "-bots", eg. "party-bots"</td></tr><tr><td>Location</td><td>Where your project will be located on your local machine</td></tr><tr><td>Create Git Repository</td><td>Off (we do recommend using a version control system to manage your code but we won't discuss that in this guide)</td></tr><tr><td>Build System</td><td>Gradle</td></tr><tr><td>JDK</td><td>JDK 17 (preferably Eclipse Temurin)</td></tr><tr><td>Gradle DSL</td><td>Preferably Kotlin</td></tr><tr><td>Add sample code</td><td>Off</td></tr><tr><td>Gradle dist.</td><td>Wrapper</td></tr><tr><td>Gradle version</td><td>I use 8.7 for this guide</td></tr><tr><td>Group ID</td><td>Similar to Java's package naming convention, eg. "com.runemate.<strong>yourusername</strong>"</td></tr><tr><td>Artifact ID</td><td>Same as project name. eg. "party-bots"</td></tr></tbody></table>

When you create this project, give Gradle some time to finish configuring your environment.

Take note of the following two buttons:

\- Left side: Project Browser, shows all of the files in your project.

\- Right side: Gradle tool window, easy access to Gradle tasks etc.

<figure><img src="https://3915496693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRd9E855ViOcrHgpuE72h%2Fuploads%2FiJm2BF65WgLgXQ0h5Fop%2FkVdCTb0.png?alt=media&#x26;token=c4ac594e-0949-4f9e-97bb-f2b7d66136c7" alt=""><figcaption></figcaption></figure>


---

# 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://runemate.gitbook.io/runemate-documentation/getting-started/project-setup.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.
