---
title: "B24Frame Initialization"
description: "Function is designed to initialize a B24Frame"
canonical_url: "https://bitrix24.github.io/b24jssdk/docs/working-with-the-rest-api/frame-initialize-b24-frame"
last_updated: "2026-05-08"
---
# B24Frame Initialization

> Function is designed to initialize a B24Frame

> [!WARNING]
> We are still updating this page. Some data may be missing here — we will complete it shortly.

```ts
initializeB24Frame(): Promise<B24Frame>
```

The `initializeB24Frame` function is designed to initialize a [`B24Frame`](https://bitrix24.github.io/b24jssdk/raw/docs/working-with-the-rest-api/frame.md) object, which is used for working with Bitrix24 applications.

It manages the initialization process and handles potential connection errors.

> [!NOTE]
> Supports repeated calls until initialization is complete, using a callback queue.

**Return Value**

- **Promise<B24Frame>**: Returns a promise that resolves to a [`B24Frame`](https://bitrix24.github.io/b24jssdk/raw/docs/working-with-the-rest-api/frame.md) object upon successful initialization.

## Usage

```ts
import { initializeB24Frame } from '@bitrix24/b24jssdk'
```

## Sitemap

See the full [sitemap](/b24jssdk/sitemap.md) for all pages.
