Goodman Gas pack wiring

Hello all!

Have a quick question, looking to wire up my new thermostat at the gas pack and noticed that I don’t have the wiring diagram as shown on the setup.
I’m assuming that I can wire the C- wire adapter where the thermostat cable comes into the panel but not fully sure.
Can anyone advise differently?

Also where does the C-wire on the adapter plug into?

The blue circle shows where the thermostat wires come in.
The red show s they go into a power block on the panel.

The red arrow shows a 24-volt transformer

I was able to wire the black wire to the 24v transformer at the top and power thermostat. Everything works great!