How to compile python3 script into grasshopper component? I know the methods in Rhino 7 IronPython, but it’s not working in Rhino8 python3 script.

Trying to embed ChatGPT into grasshopper, everything works fine but cannot compile it into a component.
I do support that question.
I´d like to know how a bunch of Python3 scripts can become a gh plugin…
If you’re happy keeping the source code visible, just select it, and go File → Create .ghuser