> 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 %}
