# How to install

#### STEP BY STEP

1. Download the source code available at [github.com/fgrandini/Delphai](https://github.com/fgrandini/Delphai).

   <figure><img src="/files/rqHgcVDJbZOhKvTPvzmT" alt=""><figcaption></figcaption></figure>
2. In Delphi, go to *Tools > Options...* .

   <figure><img src="/files/Uh30t4roVygUgkcbv5IX" alt=""><figcaption></figcaption></figure>
3. Find the library, usually at *Language > Delphi > Library*, then open the *Library Path* options.

   <figure><img src="/files/OexCVCxZSIEhcUbxtXdo" alt=""><figcaption></figcaption></figure>
4. Add the path where you saved the 'Source' folder of the repository and save.

   <figure><img src="/files/ZAyjvKDVK4BH9Ip9Uk7i" alt=""><figcaption></figcaption></figure>
5. Repeat the same process for the x64 platform if necessary.

   <figure><img src="/files/fX6qyJNBqilynXrcaV2i" alt="" width="563"><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://delphai.gitbook.io/delphai/en/overview/how-to-install.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.
