To get started with Truv, we recommend following a step-by-step walkthrough in our docs https://docs.truv.com/docs/quickstart-guide
- Clone the repository
git clone https://github.com/truvhq/quickstart.git
- Open
quickstart
directory and create.env
file:
cd quickstart
make env
- 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 true to use Embedded Orders API instead of Users API
IS_ORDER=false
Note about Orders API: Set IS_ORDER=true
to use the Orders API instead of the Users API for creating bridge tokens. The Orders API allows you to pre-configure employer and account information, which can be useful for certain integration patterns.
- Run all-in-one docker-compose
docker-compose up
or run specific image
make [python_docker|ruby_docker|golang_docker|node_docker|csharp_docker]
- Check the quickstart demo for your programming language:
- http://localhost:5001 Python
- http://localhost:5002 Ruby
- http://localhost:5003 Go
- http://localhost:5004 Node.Js
- http://localhost:5005 C#