# runAsFoundryLocal

- Module: [Aspire.Hosting.Foundry](/reference/api/typescript/aspire.hosting.foundry.md)
- Version: `13.3.0-preview.1.26254.5`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Configures the Microsoft Foundry resource to run by using Foundry Local.

## Definition

```typescript
interface FoundryResource {
  // ... omitted for brevity
  runAsFoundryLocal(): FoundryResource
}
```

## Returns

[FoundryResource](/reference/api/typescript/aspire.hosting.foundry/foundryresource.md) `builder`

## Applies to

- [FoundryResource](/reference/api/typescript/aspire.hosting.foundry/foundryresource.md)
