# withExternalDomain

- Module: [CommunityToolkit.Aspire.Hosting.Zitadel](/reference/api/typescript/communitytoolkit.aspire.hosting.zitadel.md)
- Version: `13.4.0`
- Kind: `method`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire)

Configures the external domain for the Zitadel resource

## Definition

```typescript
interface ZitadelResource {
  // ... omitted for brevity
  withExternalDomain(externalDomain: string): ZitadelResource
}
```

## Parameters

- `externalDomain` (`string`)

## Returns

[ZitadelResource](/reference/api/typescript/communitytoolkit.aspire.hosting.zitadel/zitadelresource.md) `builder`

## Applies to

- [ZitadelResource](/reference/api/typescript/communitytoolkit.aspire.hosting.zitadel/zitadelresource.md)
