# Komment setup

### Data Connection Settings

In Qlik SaaS editions you don’t have to specify your data connection when setting up Komment. You just keep it as is:

<figure><img src="https://4099892881-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXdGSelEVi2ug2LCBzJx5%2Fuploads%2FJxEXNxq0OpFHIJkbZrxQ%2Fimage.png?alt=media&#x26;token=0f962100-790a-40ea-a51b-83ad3aed574e" alt=""><figcaption><p>Data connection</p></figcaption></figure>

This is the only change you need to do in the UI inside your Qlik Sense app when you have configured what your writeback objects should contain. You can now move to the last setup step which is to add the needed logic to the Data load script.

### Load script‍

While still in the UI of Komment, go to the **Setup** section and press the **Preview Load Script** button. Press **Initialize Data Model** to have your load script updated with a new section in the data load editor.

&#x20;As you have not chosen a specific QVD Data Connection you need to modify the script slightly but as you can see here it is very easy to do. Just replace "**undefined**" or **"undefined/"** with the name of your desired Data Storage. In the below example "**undefined**" is replaced with "**DataFiles**".

<figure><img src="https://4099892881-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXdGSelEVi2ug2LCBzJx5%2Fuploads%2FJUgSjGSpaEGEVqZcqH3X%2Fimage.png?alt=media&#x26;token=3ec317ce-f92c-444b-b9a1-fb68b7ab9ca5" alt=""><figcaption><p>Change in Load Script</p></figcaption></figure>

As the SaaS edition works a bit different from Enterprise edition, you must use “**/**” after **DataFiles** instead of "**\\**".

<figure><img src="https://4099892881-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXdGSelEVi2ug2LCBzJx5%2Fuploads%2F1OQPGpJJGzp2P0lPEL6N%2Fimage.png?alt=media&#x26;token=8f1fa041-2676-4be2-8d23-61d2f58d4a1d" alt=""><figcaption></figcaption></figure>

### QVD access

The QVDs that are saved when users save data using Komment can be accessed either via the hub or directly in the data load editor:

<figure><img src="https://4099892881-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXdGSelEVi2ug2LCBzJx5%2Fuploads%2FmwYhzUSzDY7JY3CIcqax%2Fimage.png?alt=media&#x26;token=9e0fa41d-0d8b-4559-aae4-0f082024ba44" alt=""><figcaption><p>Hub - Data</p></figcaption></figure>

<figure><img src="https://4099892881-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXdGSelEVi2ug2LCBzJx5%2Fuploads%2FZYSHIE2mdfTFUDpjOz5S%2Fimage.png?alt=media&#x26;token=b7fe66a6-7d16-48bd-ae9d-b655602d4732" alt=""><figcaption><p>Data Load Editor - Data Connections</p></figcaption></figure>
