Make it part of your base template. Presumably you've got something like a base.phtml that all you other pages extend. Just throw the script tag in there.
Information how to include css & js in phalcon https://docs.phalcon.io/3.4/en/assets.html
Glad to help. If one of the answers solved your problem, please [ Accept Answer ] so the title gets updated with "[ SOLVED ]"