# sessionApp method

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

qlik.sessionApp(config)

Creates a session app JavaScript object with app methods.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | Qlik Sense June 2017 |

## Parameters

### config

Type: Object

Parameter updated in version 2.2.

Optional.

Additional configuration parameters:

Additional configuration parameters

| Name | Type | Descr |
| --- | --- | --- |
| host | String | Optional.<br><br>Qlik host. |
| port | String or integer | Optional.<br><br>Port number. |
| prefix | String | Optional.<br><br>Qlik virtual proxy. "/" if no proxy. |
| isSecure | Boolean | Optional.<br><br>Use SSL. |
| identity | String | Optional.<br><br>Unique identity for the session. If omitted, the session will be shared. |

## Returns

An app JavaScript object with app methods.

[App API](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/qlik-app-interface.htm)

## Example

Example 1

```
var sessionApp = qlik.sessionApp();
```

Example 2

```
var config = {
  host: "myhost.com",
  prefix: "/",
  port: window.location.port,
  isSecure: true
};
var sessionApp = qlik.sessionApp(config);
```