# SQLite

{% hint style="warning" %}
**This is the manual for older MicroStream versions (Version < 5.0).**

**The new documentation (Version >= 5.0) is located at:**

[https://docs.microstream.one/](https://docs.microstream.one/manual)
{% endhint %}

```markup
<dependency>
       <groupId>one.microstream</groupId>
       <artifactId>filesystem.sql</artifactId>
       <version>04.00.00-MS-GA</version>
</dependency>
<dependency>
       <groupId>org.xerial</groupId>
       <artifactId>sqlite-jdbc</artifactId>
       <version>3.32.3</version>
</dependency>
```

```java
SQLiteDataSource dataSource = new SQLiteDataSource();
dataSource.setUrl("jdbc:sqlite:microstreamdb");

SqlFileSystem fileSystem = SqlFileSystem.New(
     SqlConnector.Caching(
          SqlProviderSqlite.New(dataSource)
     )
);

EmbeddedStorage.start(fileSystem.ensureDirectoryPath("microstream_storage"));

```
