code: def get_integration_module(integration_path):
      
      # add custom paths so imports would work
      paths = [
          os.path.join(__file__, "..", ".."),  # to import integrationmanager
          os.path.join(integration_path, ".."),  # to import integration itself
          os.path.join(integration_path, DEPS_DIR),  # to import integration deps
      ]
  
      for path in paths:
          path = os.path.realpath(path)
          logger.debug("adding %s to path", path)
          sys.path.insert(0, path)
  
      # get our integration class instance
      integration_name = os.path.basename(integration_path)
      logger.debug("importing %s", ".".join([integration_name, INTEGRATION]))
      return importlib.import_module(".".join([integration_name, INTEGRATION]))
docs: Add custom paths to sys and import integration module.
  
      :param integration_path: Path to integration folder