In that case you should be checking out threads for help:
If i am not mistaken env variables should be passed in the backend so the code behaves in some way. You should check the metabase repo around pull requests that do similar things like this one and see what the developer is doing: