# How to use daml-on-sql

**URL:** <https://forum.canton.network/t/how-to-use-daml-on-sql/1838>\
**Category:** App Development\
**Created:** [December 22, 2020, 2:04pm UTC](https://forum.canton.network/t/how-to-use-daml-on-sql/1838 "2020-12-22T14:04:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nishant\_Bansal](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/nishant_bansal/32/1046_2.png) [@Nishant\_Bansal](https://forum.canton.network/u/Nishant_Bansal)\
**Post date:** [December 22, 2020, 2:04pm UTC](https://forum.canton.network/t/how-to-use-daml-on-sql/1838/1 "2020-12-22T14:04:05Z")

</div>

Hi,

I can see daml has provided this daml-on-sql jar

> **[Maven Repository: com.daml » daml-on-sql\_2.12 » 1.4.0](https://mvnrepository.com/artifact/com.daml/daml-on-sql_2.12/1.4.0)**

I just want to know how to use this with the sandbox  
Do i need to make a project like

> **[digital-asset/ex-java-bindings](https://github.com/digital-asset/ex-java-bindings)**
>
> Three examples demonstrating three different approaches to using the Java ledger API bindings

and do some configurations or can I directly use this with quickstart template.  
Any reference would be great.

---

<div class="post-metadata">

**Author:** ![anthony](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/anthony/32/419_2.png) [@anthony](https://forum.canton.network/u/anthony)\
**Post date:** [December 22, 2020, 2:09pm UTC](https://forum.canton.network/t/how-to-use-daml-on-sql/1838/2 "2020-12-22T14:09:01Z")

</div>

You can find the documentation on daml-for-postgresql here: [https://docs.daml.com/daml-driver-for-postgresql/1.8.0/](https://docs.daml.com/daml-driver-for-postgresql/1.8.0/) which supersedes daml-on-sql.

Also if you’re running daml 1.4.0 (or any version pre-1.8.0) then you can also use the now deprecated Daml Sandbox with persistence as described here: [https://docs.daml.com/tools/sandbox.html#running-with-persistence](https://docs.daml.com/tools/sandbox.html#running-with-persistence)
