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

# RhinestoneSDK

> Stateful entry point that holds shared configuration (auth, provider, bundler, paymaster) and creates accounts from it, delegating all work to the SDK-core composition.

The constructor example requires `apiKey`, your integrator's API key loaded
securely from your environment. Prefer the explicit `auth` configuration.

## Import

```ts theme={null}
import { RhinestoneSDK } from '@rhinestone/sdk'
```

## Usage

```ts theme={null}
import { RhinestoneSDK } from '@rhinestone/sdk'

const sdk = new RhinestoneSDK({
  auth: { mode: 'apiKey', apiKey },
})
```

## Parameters

**options** `RhinestoneSDKConfig` *required*

Shared configuration applied to every account created by this instance


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.