Hi,
In your screenshot, select Custom App Setting, then enter values similar to below:
Key:
subAdatabasename_COSMOSDB
Value:
AccountEndpoint=https://subAdatabasename.documents.azure.com:443/;AccountKey=WrjnoAFNkYHambsY3lK8DzQgIAcn32RKbjH4BepDiQbexlyTu2af6UKfhqk2zW0gbDP57RH1D8ooACDbrHdamQ==;
You obtain the connection string for Value above by navigating in portal to the target Cosmos DB -- Keys -- Primary Connection String
-TP