Start at "Loading A Custom Driver" about halfway down the page.
https://docs.hubitat.com/index.php?title=How_to_Install_Custom_Drivers
Also there are instructions in the iPhone presence thread, first post. [UPDATED] iPhone WiFi Presence Sensor - Code Share - Hubitat