Pick the engine you build with to see its integration guide.
GameMaker Studio 2.3+. Integration via the GML extension.
Godot 4.5+ with GDScript. Integration via an addon with a global node.