> ## Documentation Index
> Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Functions Reference

> Web SDK utility functions, initialization methods, and helper functions

This section provides a detailed reference for all functions available in the Suki Web SDK.

## Initialize function

The `initialize` function is used to initialize the SDK with the provided options and returns a configured client instance.

The code snippet below shows how to use the `initialize` function to initialize the SDK with the provided options and returns a configured client instance.

```js JavaScript theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
import { initialize } from "@suki-sdk/js";

initialize(options: InitOptions): SDKClientInstance
```

Initializes the SDK with the provided options and returns a configured client instance.

Web SDK v3 expects an `authManager` instance from `@suki-sdk/core` on the options object instead of partner fields alone on `initialize()`. See [Migrating to Web SDK v3](/web-sdk/product-updates/migration-to-v3).

### Parameters

<ResponseField name="options" type="InitOptions" href="/web-sdk/api-reference/types#initoptions" required>
  The configuration options required to initialize the SDK.
</ResponseField>

### Returns

It returns a [`SDKClientInstance`](/web-sdk/api-reference/classes#sdkclient-instance) - The initialized SDK client instance is ready for use.

## Next steps

<Icon icon="file-lines" iconType="solid" /> Refer to [Hooks](/web-sdk/api-reference/hooks) for more information on the available hooks.
