So I answered a few other posts on this. The short version of it is that I ended up using the Shop’s Metafield to make it work since it can be set from admin and can be read from the UI extension.
The longer version on how to implement it is in this blog post I wrote: https://liquidonate.com/blog/shopify-development-hacks-environment-variable-in-checkout-ui-extension