Best way to add existing hosts to Foreman/Katello

I have just tried it. The resulting register script can register the host with a activation key to subscription manager. I don’t know what you have tried…