To find which lib depends on goth in your project you can use mix deps.tree.
goth is a mix project that has an application module defined in its mix.exs file, this gets started automatically, that’s why sometimes you have to add runtime: false to a dependency to not have it start automatically.
For how to configure goth programmatically, the newer version seems to document that on Hexdocs.