> ## 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.

# InitOptions Type

> InitOptions type represents the configuration options for initializing the SDK

<Callout title="Updates" color="orange" icon="bell">
  **Web SDK `v3.X.X+`:** Pass a `SukiAuthManager` instance from `@suki-sdk/core` using the `authManager` field on `initialize` or `init` instead of supplying partner fields only on those calls.

  Refer to [Migrating to Web SDK v3](/web-sdk/product-updates/migration-to-v3) for more details.
</Callout>

InitOptions type represents the configuration options for initializing the SDK. The code snippet below shows how to use the `InitOptions` type to create an init options object.

```js JavaScript theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
type InitOptions = PartnerDetails & {
  enableDebug?: boolean;
  logLevel?: LogLevel;
  isTestMode?: boolean;
  theme?: ThemeOptions;
};
```

## Properties

The following properties are available on the `InitOptions` type:

<Expandable title="properties" defaultOpen="true">
  <ResponseField name="enableDebug" type="boolean" default="false">
    Whether to enable debug mode. This will log additional information to the console
  </ResponseField>

  <ResponseField name="logLevel" type="LogLevel" href="/web-sdk/api-reference/types/log-level">
    The log level to use when debug mode is enabled. Controls which messages are output to the console
  </ResponseField>

  <ResponseField name="isTestMode" type="boolean" default="false">
    Whether to connect to stage environment. This will use stage endpoints. From **Web SDK v3.0.0+:** do not use this field to choose staging vs production; use `environment` on `SukiAuthManager` instead. Refer to [Migrating to Web SDK v3](/web-sdk/product-updates/migration-to-v3) for more details.
  </ResponseField>

  <ResponseField name="theme" type="ThemeOptions" href="/web-sdk/api-reference/types/theme-options">
    The theme configuration for the SDK
  </ResponseField>
</Expandable>

**Extends**: [`PartnerDetails`](/web-sdk/api-reference/types/partner-details)
