# Instance

**Kind**: interface | **Module**: [App Management](https://docs.interop.io/browser/reference/javascript/app%20management/index.md) | **Access**: `io.appManager.myInstance`

**Source**: https://docs.interop.io/browser/reference/javascript/app management/instance/index.html

Object describing an application instance.

## Properties

- **`agm`** (`Interop.Instance`, required)
  Interop instance. Use this to invoke Interop methods for that instance.
- **`application`** (`Application`, required)
- **`id`** (`string`, required)
  Instance ID.

## Methods

### getContext

The starting context of the instance.

```ts
() => Promise<object>
```

**Returns**: `Promise<object>`

### stop

Stops the instance.

```ts
() => Promise<void>
```

**Returns**: `Promise<void>` - Promise that resolves when the instance has been stopped.

## Related types

- [Application](https://docs.interop.io/browser/reference/javascript/app%20management/application/index.md)
