# CosmosOptions.ConfigureCosmosClient(string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.cosmos/orleans.persistence.cosmos.cosmosoptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.persistence.cosmos/orleans.persistence.cosmos.cosmosoptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Shared/Cosmos/CosmosOptions.cs#L74-L75)

```csharp
public void ConfigureCosmosClient(string connectionString)
```

Configures the Cosmos DB client.

### Parameters

- `connectionString` (`string`): The connection string.
