<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseXAPI](./x-components.basexapi.md) &gt; [init](./x-components.basexapi.init.md)

## BaseXAPI.init() method

Initializes the Application passing the [SnippetConfig](./x-components.snippetconfig.md)<!-- -->.

**Signature:**

```typescript
init(config: SnippetConfig): Promise<void>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  config | [SnippetConfig](./x-components.snippetconfig.md) | The config coming from the customer snippet. |

**Returns:**

Promise&lt;void&gt;

A promise that will be resolved once x components are initialized.

