# createConfig | @account-kit/core

> Overview of the createConfig function from @account-kit/core

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

```ts
function createConfig(params): AlchemyAccountsConfig;
```

Defined in: [account-kit/core/src/createConfig.ts:37](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/core/src/createConfig.ts#L37)

Creates an AlchemyAccountsConfig object that can be used in conjunction with
the actions exported from `@account-kit/core`.

The config contains core and client stores that can be used to manage account state
in your application.

## Example

```ts
import { createConfig } from "@account-kit/core";
import { sepolia } from "@account-kit/infra";

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

## Parameters

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

  <tbody>
    <tr>
      <td>
        `params`
      </td>

      <td>
        [`CreateConfigProps`](../type-aliases/CreateConfigProps)
      </td>

      <td>
        The parameters to create the config with
      </td>
    </tr>

  </tbody>
</table>

## Returns

[`AlchemyAccountsConfig`](../type-aliases/AlchemyAccountsConfig)

An alchemy account config object containing the core and client store