def METHOD_NAME(self):
    """
    This is called after the main window setup finishes, and the
    third time Spyder is started, to show Kite's installation dialog
    and onboarding if necessary.
    """
    spyder_runs = self.provider.get_conf('spyder_runs')
    installers_available = self.provider.get_conf('installers_available')
    if spyder_runs == 3 and installers_available:
        self.provider._kite_onboarding()
        show_dialog = self.provider.get_conf('show_installation_dialog')
        if show_dialog:
            # Only show the dialog once at startup
            self.provider.set_conf('show_installation_dialog', False)
            self.show_installation_dialog()
    else:
        if spyder_runs < 3:
            self.provider.set_conf('spyder_runs', spyder_runs + 1)