Let's get you started with Truv by walking through this C# Quickstart app. You'll need a set of API keys which you can get by signing up at https://dashboard.truv.com
You'll have two different API keys used by the back end, Client ID and Access key.
Full documentation is available at https://docs.truv.com/docs/quickstart-guide
.NET Core 6.0, .NET SDK 6.0
Once you have your API keys, it's time to run the Truv C# Quickstart app locally.
-
git clone https://github.com/truvhq/quickstart -
cd quickstart -
make env -
Update the
.envfile in the root of the project. The contents of the.envhas to look like this (values with <> should be replaced by the proper keys or values):API_CLIENT_ID=<YOUR CLIENT_ID HERE> API_SECRET=<YOUR SECRET KEY MUST BE HERE> API_PRODUCT_TYPE=<employment, income, deposit_switch or pll> IS_ORDER=<true or false - optional, defaults to true>
Note: The default flow uses the Orders API for
incomeandemploymentproducts, designed for home lending and social services use cases where multiple employer connections are expected. SetIS_ORDER=falsefor a single connection flow. Thedeposit_switchandpllproducts always use the single connection flow. -
make csharp_localAfter running this command, you should see:
info: Microsoft.Hosting.Lifetime[0] Now listening on: http://localhost:5000 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: DevelopmentTo access the app, open
http://127.0.0.1:5000/in your browser.