# CreateApp Method

## Overloads

| [CreateApp(String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CreateApp.htm#Qlik_Engine_IHub_CreateApp_System_String_System_String_System_String_) |  | Creates an app.<br><br>Logs<br><br>When this method is called, audit activity logs are produced to track the user activity.<br><br>In the case of errors, both audit activity logs and system services logs are produced.<br><br>The log files are named as follows:<br><br>Please refer to Engine API reference for table definition.<br><br>Where to find the log files<br><br>The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.<br><br>Please refer to Engine API reference for table definition. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CreateApp.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CreateApp.htm)

## CreateApp(String, String, String)

Creates an app.

#### Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

#### Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

### Declaration

```

          CreateAppResult CreateApp([QixName("qAppName")] string appName, [QixName("qLocalizedScriptMainSection")] string localizedScriptMainSection = null, [QixName("qLocale")] string locale = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | appName | Name of the app. |
| System.String | localizedScriptMainSection | Name of the first section in the script editor.<br>The default value is `Main`. |
| System.String | locale | Set custom locale for the app instead of system default. |

### Returns

| Type | Description |
| --- | --- |
| [CreateAppResult](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.CreateAppResult.htm) |  |

### Remarks

The operation is successful if **qSuccess** is set to true.