The install script should automatically run, copy the integration to the lua/autorun/ folder, remove the install script, and prompt the server owner to restart the server. It should also handle upgrading by using events to check the current version of the installed integration script and prompting if the version is lower or the same.