# AlchemyAccountProvider | @account-kit/react-native

> Overview of the AlchemyAccountProvider component from @account-kit/react-native

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function AlchemyAccountProvider(props): Element;
```

Defined in: [account-kit/react-native/src/context.tsx:58](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/react-native/src/context.tsx#L58)

Provider for Alchemy accounts.

## Example

```tsx
import { AlchemyAccountProvider, createConfig } from "@account-kit/react";
import { sepolia } from "@account-kit/infra";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";

const config = createConfig({
  apiKey: "your-api-key",
  chain: sepolia,
});

const queryClient = new QueryClient();

function App({ children }: React.PropsWithChildren) {
  return (
    <QueryClientProvider queryClient={queryClient}>
      <AlchemyAccountProvider config={config} queryClient={queryClient}>
        {children}
      </AlchemyAccountProvider>
    </QueryClientProvider>
  );
}
```

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `props`
      </td>

      <td>
        `PropsWithChildren`\<[`AlchemyAccountsProviderProps`](../type-aliases/AlchemyAccountsProviderProps)>
      </td>

      <td>
        alchemy accounts provider props
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Element`

The element to wrap your application in for Alchemy Accounts context.