> For the complete documentation index, see [llms.txt](https://ciusji.gitbook.io/guinsoo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ciusji.gitbook.io/guinsoo/guides/quickstart.md).

# Quickstart

## Embedding Guisnoo in an Application

This database can be used in application mode, or in server mode. To use it in embedded mode, you need to:

* Add the guinsoo\*.jar to the classpath
* Use the JDBC driver class: **`org.guinsoo.Driver`**
* The database URL **`jdbc:guinsoo:~/test`** opens the database test in your user home directory
* A new database is automatically created

### Step 1: Add maven dependency

```java
<dependency>
    <groupId>io.github.ciusji</groupId>
    <artifactId>guinsoo</artifactId>
    <version>0.2.2</version>
</dependency>
```

### Step 2: Connect and Execute your SQL

```java
Class.forName("org.guinsoo.Driver");
Connection conn = DriverManager.getConnection("jdbc:guinsoo:mem:");
Statement stat = conn.createStatement();

stat.execute("select 1+2");

stat.close();
conn.close();
```

For more languages, such as Python, Java, C++, Rust, Node, or others, please refer as follow:

{% content-ref url="/pages/IafgH60uZxhVYu51JvvM" %}
[Clients for Guinsoo](/guinsoo/guides/tutorial/clients-for-guinsoo.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://ciusji.gitbook.io/guinsoo/guides/quickstart.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.
