# Installation

* Download and extract the [SOFA distribution package](/quick-start/downloads.md). It consists of one JAR files with the Java classes.
* Add the files `SOFA.jar`to your Java classpath, e.g.

```bash
java -cp .:../lib/SOFA.jar 
```

* Import the SOFA class in your code, e.g.

```java
import ch.k43.tools.SOFA;
```


---

# 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://sofa.k43.ch/quick-start/installation.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.
