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

# startaleConnector

> Wagmi connector for the Startale App SDK.

A [wagmi](https://wagmi.sh) connector that integrates the Startale App SDK with wagmi's connection lifecycle, account events, and chain switching.

```ts theme={null}
import { startaleConnector } from '@startale/app-sdk'
import { createConfig, http } from 'wagmi'
import { soneium, soneiumMinato } from 'wagmi/chains'

export const config = createConfig({
  chains: [soneium, soneiumMinato],
  connectors: [
    startaleConnector({
      appName: 'My App',
      appLogoUrl: 'https://my-app.com/logo.png',
    }),
  ],
  transports: {
    [soneium.id]: http(),
    [soneiumMinato.id]: http(),
  },
})
```

## Signature

```ts theme={null}
function startaleConnector(parameters?: BaseAccountParameters): Connector
```

## Parameters

<ParamField path="appName" type="string">
  Display name shown in the connection popup. Defaults to `document.title`.
</ParamField>

<ParamField path="appLogoUrl" type="string">
  HTTPS URL to a square logo.
</ParamField>

<ParamField path="preference" type="Preference">
  Optional. Configures `authType`, `eoaRequired`, `walletUrl`. Chains are derived from the wagmi `createConfig({ chains })` array, not from `preference`.
</ParamField>

<ParamField path="subAccounts" type="SubAccountOptions">
  Sub-account configuration.
</ParamField>

## Returns

A wagmi `Connector` instance. Use it inside `connectors: [...]` in `createConfig`.

## Related

* [`createStartaleAccountSDK`](/api-reference/create-startale-account-sdk), the underlying factory.
* [Quickstart](/quickstart), full wagmi-based integration.
* [Connect a wallet](/app-sdk/connect), connection patterns.
