public function renderInstance($instanceId, $instanceConfig)
    {
        $view = new ViewModel(
            [
                'instanceId' => $instanceId,
                'instanceConfig' => $instanceConfig,
                'config' => $this->config,
            ]
        );

        $view->setTemplate($this->template);

        return $view;
    }