code: def launch_keyword_wizard(self):
          
          # make sure selected layer is the output layer
          if self.iface.activeLayer() != self.output_layer:
              return
  
          # launch wizard dialog
          keyword_wizard = WizardDialog(
              self.iface.mainWindow(), self.iface, self.dock_widget)
          keyword_wizard.set_keywords_creation_mode(self.output_layer)
          keyword_wizard.exec_()
docs: Launch keyword creation wizard.