Setup a Service Client

To get started, we need to setup a service client for the Event library. If you are not familiar with how Recuro Health uses service clients, you can learn more here.

Configuration

Using the example below, swap the placeholder value for SubscriptionKey with the Subscription Key that was provided to you.

using WellViaSDK.Core;

// Variables
var mySubscriptionKey = "your_subscription_key";

// Create Client Configuration
var config = new WellViaClientConfig(mySubscriptionKey);

var coreClient = new WellViaCoreServiceClient(config);

Our new service client has been assigned to a variable called coreClient. You will see this variable referenced throughout the rest of the Core library guide.