> This page is for Designer API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Get Launch Context

> Identifies how the Designer Extension was launched and provides context about the launching element.

## `webflow.getLaunchContext()`

The `getLaunchContext` API helps you understand how your Designer Extension was launched and provides contextual information about the launching element.

Use this method on initial load to identify how the extension was launched and provide context about the launching element. The App can use this information to show a customized UI or behavior to manage the element from where it was launched.

**Launch Types**

Your extension can be launched in three ways:

1. **Apps Panel** - Launched directly from the Webflow Designer's Apps Panel
2. **App Connection** - Launched through an existing [App Connection](/designer/reference/app-intents-and-connections)
3. **App Intent** - Launched with a specific intent (e.g., to create/manage a form or image)

### Syntax

```typescript
 webflow.getLaunchContext(): Promise<LaunchContext | null>;
```

### Returns

A Promise that resolves to a `LaunchContext` object or null.

**LaunchContext**

```typescript
{
  type: 'AppIntent',
  value: { form: 'create' }
}
```

An object with the following properties:

* **type:** `'AppConnection' | 'AppIntent' | 'AppsPanel'`
  Indicates how the extension was launched.

* **value:** `null | string | Record<'form' | 'image', 'create' | 'manage'>`
  Additional context about the launch:
  * `null` - For basic App Panel launches
  * `string` - For deep links or custom values
  * Object with form/image context - For specific creation or management intents

### Example

```typescript
async function getLaunchContext() {
      const context = await webflow.getLaunchContext();
      if (context) {
        await webflow.notify({ type: "Success", message: `App was launched through ${context.type}` });
      }
    }
```

[Try this example](https://webflow.com/oauth/authorize?response_type=code\&client_id=19511de1ec410f9228d8dcbc9420e67916dea80d86d18f0c9a533eb475ea0f62)

### Designer Ability

| Designer Ability      | Locale | Branch | Workflow | Sitemode |
| :-------------------- | :----- | :----- | :------- | :------- |
| **canDEAccessCanvas** | Any    | Any    | Any      | Any      |