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

# Getting Started

## Installation

To start, install the npm package [@smokeballdev/smokeball-client-sdk](https://www.npmjs.com/package/@smokeballdev/smokeball-client-sdk) to your app.

## Usage

After installing the npm package, load the sdk using the below snippet.

```javascript theme={"dark"}
const sdk = SmokeballClientSdk.get();

if (sdk != null) {

// Interoperability with Smokeball is possible.

}
```

A non-null sdk will indicate that interopability with Smokeball is possible and the sdk can now be be initialized with the following asynchronous call:

```javascript theme={"dark"}
await sdk.init();
```

After initialization, the sdk [context](/docs/sdk-docs/api/@smokeballdev/namespaces/common/interfaces/Context) item will be set which can be accessed using the following call:

```javascript theme={"dark"}
const context = sdk.context;
```

Other components of the api can now be utilized. Navigate through the documentation on the left hand-side for more detailed information.
