# Prodigy Database

**URL:** <https://support.prodi.gy/t/prodigy-database/2910>\
**Category:** Uncategorized\
**Tags:** database, custom, usage\
**Created:** [May 14, 2020, 8:04pm UTC](https://support.prodi.gy/t/prodigy-database/2910 "2020-05-14T20:04:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yw2903](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/yw2903/32/1614_2.png) [@yw2903](https://support.prodi.gy/u/yw2903)\
**Post date:** [May 14, 2020, 8:04pm UTC](https://support.prodi.gy/t/prodigy-database/2910/1 "2020-05-14T20:04:06Z")

</div>

Currently, I'm using the default SQLite database to store prodigy dataset. As my documents are stored in Neo4j, I wonder can I link prodigy to Neo4j database? If not, is there any other options? Thanks!

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [May 15, 2020, 9:49am UTC](https://support.prodi.gy/t/prodigy-database/2910/2 "2020-05-15T09:49:34Z")

</div>

Yes, that should be no problem!

If you want to store your data differently, you can always implement a custom `Database` class that implements the same method's as [Prodigy's `Database` wrapper](https://prodi.gy/docs/api-database#database) – for instance, a `get_dataset` method that takes a dataset name and returns the annotations in the dataset, an `add_examples` method that adds examples to one or more datasets, and so on. Within those methods, you can then handle the saving and loading however you want. Also see here for details: [https://prodi.gy/docs/api-database#custom](https://prodi.gy/docs/api-database#custom)

You can then provide that custom database the `"db"` returned by a custom recipe or expose it [via an entry point](https://prodi.gy/docs/install#entry-points) (which would also let you write something like `"db": "neo4j"` in your Prodigy config).
