How to set Firebase API and Token in obfuscated text block?

hello to all,
I’m trying my app in connecting to Firebase URL using Web component and later show data using dynamic components.
However my FB token and URL i have set using designer instead of blocks method.
firebase1
websearch1

Can you guide me how to switch the FB token and URL from desginer to blocks using obfuscated text block?
Because earlier I tried to put under sccreen initialize block but failed.
Thank you.