Skip to content

truvhq/quickstart

Repository files navigation

Get started with Quickstart for web

To get started with Truv, we recommend following a step-by-step walkthrough in our docs https://docs.truv.com/docs/quickstart-guide

  1. Clone the repository
git clone https://github.com/truvhq/quickstart.git
  1. Open quickstart directory and create .env file:
cd quickstart
make env
  1. Update the values in .env file by adding in your Client ID and Sandbox Access key:
# please set your <Client ID>
API_CLIENT_ID=

# please set your <Access key>
API_SECRET=

# optional: set to false to use Users API instead of Embedded Orders API
IS_ORDER=true

Note about Orders API: The default flow uses the Orders API, which is best suited for use cases where multiple connections are required from the user. Set IS_ORDER=false for a single connection flow, which fits best consumer lending, deposit switching, and financial account aggregation use cases.

  1. Run all-in-one docker-compose
docker-compose up

or run specific image

make [python_docker|ruby_docker|golang_docker|node_docker|csharp_docker]
  1. Check the quickstart demo for your programming language:

Webhooks

To receive Truv webhooks locally, use ngrok to expose your local server:

ngrok http <port>

Where <port> matches the language you are running (e.g. 5001 for Python, 5004 for Node.js). Copy the forwarding URL and set https://<your-subdomain>.ngrok.io/webhook as the webhook URL in the Truv Dashboard.

About

Get up and running with Truv Bridge and the API in minutes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors