Banuba SDK Web AR demo
Requirements
- Banuba client token
- git client
- Nodejs installed
Obtaining Banuba SDK Web AR
To get the latest Banuba SDK Web AR release please fill in the form on banuba.com website, or contact us via info@banuba.com.
Setting up environment and running Web AR demo app
- Clone the Web AR demo app git repository:
git clone https://github.com/Banuba/quickstart-web
- Place Banuba client token into
BanubaClientToken.js
inside the cloned folder:BanubaClientToken.jswindow.BANUBA_CLIENT_TOKEN = "PUT YOUR CLIENT TOKEN HERE"
- Run a local web server from terminal inside the folder:
npx live-server
Open localhost:8080 and start clicking :)
Follow the instructions of the demo app README.md to get more info.
note
The demo app leverages jsDelivr CDN for ease of getting started, for a real life application please use the @banuba/webar npm package.
Check out the Tutorials section and WebAR JS API Reference for more recipes and code examples.