# TestCluster.DeployAsync(CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.TestingHost/TestCluster.cs#L330)

```csharp
public Task DeployAsync(CancellationToken cancellationToken)
```

Deploys the cluster using the specified configuration and starts the client in-process.

### Parameters

- `cancellationToken` (`CancellationToken`): The token used to cancel deployment.
