How to use UGS on a foreign project?

Hello, there.

I’ve used a foreign project.
And now I want to deploy with UGS but it looks like UGS only supports native projects.
How can I use UGS on foreign project?