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

# createStartaleAccountSDK

> Initialize the Startale App SDK and obtain an EIP-1193 provider.

Creates an SDK instance and returns helpers for working with it.

```ts theme={null}
import { createStartaleAccountSDK } from '@startale/app-sdk'

const sdk = createStartaleAccountSDK({
  appName: 'My App',
  appLogoUrl: 'https://my-app.com/logo.png',
  appChainIds: [1868],
})
```

## Signature

```ts theme={null}
function createStartaleAccountSDK(options: CreateProviderOptions): {
  getProvider(): ProviderInterface
}
```

## Options

**appName** `string`

The display name shown in the connection popup. Defaults to `'App'` if omitted; recommended to set. Maximum length is unconstrained but keep it under 32 characters for readability.

**appLogoUrl** `string`

HTTPS URL to a square logo. Shown in the connection popup. Must be reachable.

**appChainIds** `number[]`

Chain IDs your app supports. Defaults to `[]` if omitted. Pass `1868` for Soneium Mainnet. See [Networks](https://docs.startale.com/concepts/networks.md).

**preference** `Preference`

Optional. Filters auth methods, requires linked EOA, sets the wallet popup URL.

**Preference fields**

**walletUrl** `string`

Override the wallet popup URL. Defaults to `https://app.startale.com`. Useful for staging.

**authType** `'google' | 'line' | 'apple'`

Limit which sign-in methods are offered. Omit to allow all.

**eoaRequired** `boolean`

Force the user to link a MetaMask wallet during connection. Default `false`.

**telemetry** `boolean`

Enable or disable SDK telemetry. Default `true`.

**paymasterOptions** `Record\<chainId, \{ url, id \}\>`

Optional. The ERC-7677 paymaster service that sponsors gas for a standalone application, keyed by chain id. Only `url` is transmitted, and only on `wallet_sendCalls`. Ignored inside the Startale App, where the host sponsors. See [Gas in a standalone application](https://docs.startale.com/app-sdk/gasless.md).

## Returns

**getProvider** `() =\> ProviderInterface`

Returns the EIP-1193 provider. Use it directly or wrap it in a wagmi connector.

## Related

* [`startaleConnector`](https://docs.startale.com/api-reference/startale-connector), the wagmi connector that wraps this SDK.
* [Initialization](https://docs.startale.com/app-sdk/initialization.md), guidance on which mode to use.


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