***

title: createAzureHandler
slug: /reference/typescript/agents/configuration/serverless-adapter/create-azure-handler
description: Create an Azure Functions-compatible handler from a Hono app.
max-toc-depth: 3
---------------------

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

Static method that creates an Azure Functions-compatible handler from a Hono
app. The returned function accepts an Azure context and request object.

## **Parameters**

<ParamField path="app" type="{ fetch: (req: Request) => Promise<Response> }" required={true} toc={true}>
  A Hono-compatible application with a `fetch` method.
</ParamField>

## **Returns**

`(context: any, req: any) => Promise<void>` -- An Azure Functions handler.

## **Example**

```typescript {4}
import { ServerlessAdapter } from '@signalwire/sdk';

// Export as Azure Function
export const handler = ServerlessAdapter.createAzureHandler(app);
```