# can we pass environment variable PRODIGY\_HOME directly in the prodigy.serve argument

**URL:** <https://support.prodi.gy/t/can-we-pass-environment-variable-prodigy-home-directly-in-the-prodigy-serve-argument/2378>\
**Category:** Uncategorized\
**Tags:** usage, done, database\
**Created:** [December 29, 2019, 12:47am UTC](https://support.prodi.gy/t/can-we-pass-environment-variable-prodigy-home-directly-in-the-prodigy-serve-argument/2378 "2019-12-29T00:47:57Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![kirilov](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@kirilov](https://support.prodi.gy/u/kirilov)\
**Post date:** [July 2, 2021, 9:23am UTC](https://support.prodi.gy/t/can-we-pass-environment-variable-prodigy-home-directly-in-the-prodigy-serve-argument/2378/8 "2021-07-02T09:23:46Z")

</div>

Hey, thanks for the quick response!

> [@ines](#):
>
> Did you point the `PRODIGY_HOME` variable to the to the directory containing the `prodigy.json` with your custom database settings?

Yes.

> [@ines](#):
>
> And how does your custom database class work? If it's a fully custom class, you'll need to make sure it's available and Prodigy knows where to find it.

I'm using an adapted version of [this solution](https://github.com/jdagdelen/mondigy) that was mentioned on a [previous thread](https://support.prodi.gy/t/problems-exposing-a-custom-database-class-via-an-entry-point/3943).

I haven't tried the entry points option, will check that and let you know.

---

_[View the full topic](https://support.prodi.gy/t/can-we-pass-environment-variable-prodigy-home-directly-in-the-prodigy-serve-argument/2378)._
