# TestClusterExtensions.GetConfiguration(IHostBuilder)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterextensions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterextensions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterExtensions.cs#L22-L28)

```csharp
public static IConfiguration GetConfiguration(this IHostBuilder builder)
```

Gets the configuration from the specified host builder.

### Parameters

- `builder` (`IHostBuilder`): The builder.
