# session

Learn how to access the session instance.

This property holds a reference to the session instance.

Please refer to the [Session API reference](/reference/sdk/javascript/api/session) for more details.

## Signature

This property has the following signature:

```ts
public get session(): Session
```

## Example

Here is a basic example of how to use this property:

```ts
import croct from '@croct/plug';

croct.session.edit()
  .set('plan', 'starter')
  .save()
```
