# withDbx

- Module: [CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions](/reference/api/typescript/communitytoolkit.aspire.hosting.postgresql.extensions.md)
- Version: `13.6.1`
- Kind: `method`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Adds an administration and development platform for PostgreSQL to the application model using dbx.

## Definition

```typescript
interface PostgresServerResource {
  // ... omitted for brevity
  withDbx(
    containerName?: string,
    imageTag?: string): PostgresServerResource
}
```

## Parameters

- `containerName` (`string`) `optional`
- `imageTag` (`string`) `optional`

## Returns

`PostgresServerResource` `builder`

## Applies to

- [PostgresServerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.postgresql.extensions/postgresserverresource.md)
