# Function: createLakebasePool()

```ts
function createLakebasePool(config?: Partial<LakebasePoolConfig>): Pool;

```

Create a Lakebase pool with appkit's logger integration. Telemetry automatically uses appkit's OpenTelemetry configuration via global registry.

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter | Type                                                                                       | Description                 |
| --------- | ------------------------------------------------------------------------------------------ | --------------------------- |
| `config?` | `Partial`<[`LakebasePoolConfig`](/appkit/docs/api/appkit/Interface.LakebasePoolConfig.md)> | Lakebase pool configuration |

## Returns[​](#returns "Direct link to Returns")

`Pool`

PostgreSQL pool with appkit integration
