# TestClusterBuilder.ConfigureHostConfiguration(Action&lt;IConfigurationBuilder&gt;)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterBuilder.cs#L103-L104)

```csharp
public TestClusterBuilder ConfigureHostConfiguration(Action<IConfigurationBuilder> configureDelegate)
```

Set up the configuration for the builder itself. This will be used as a base to initialize each silo host for use later in the build process. This can be called multiple times and the results will be additive.

### Parameters

- `configureDelegate` (`Action<IConfigurationBuilder>`): The delegate for configuring the `Microsoft.Extensions.Configuration.IConfigurationBuilder` that will be used to construct the `Microsoft.Extensions.Configuration.IConfiguration` for the host.

### Returns

The same instance of the host builder for chaining.
