How to add a “private” device?

I think what you're asking is how to install a custom device driver?

This documentation might help you:
https://docs2.hubitat.com/how-to/install-custom-drivers

Also, most custom drivers and apps have their own threads on here started by the creator. If you have questions about a specific one, that's a good place to start.