***

title: getApp
slug: /reference/typescript/agents/swml-service/get-app
description: Get the Hono application for mounting or testing.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Get the underlying Hono application instance for mounting into an existing
application or for testing purposes.

## **Parameters**

None.

## **Returns**

`Hono` -- The configured Hono application with CORS, security headers,
basic auth (if configured), and SWML-serving routes.

## **Example**

```typescript {7}
import { SWMLService } from '@signalwire/sdk';

const service = new SWMLService({ name: 'my-ivr' });
service.addVerb('answer', {});
service.addVerb('hangup', {});

const app = service.getApp();
// Mount into another Hono app, or use for testing
```