Installing WebAR SDK

Learn more on the various methods of SDK kit installation

Introduction

This section covers how to download the SDK kit or directly use a CDN link of the SDK.

Local Installation

  • Download the zip file from the Blippar Hub.

  • Extract the contents of the file into your website's directory. Only the script file - webar-sdk-v1.7.1.min.js and libs folder are necessary for operating the SDK. The example folder contains the basic scene walked through here.​

  • Note the location of the script file - webar-sdk-v1.7.1.min.js, as you will need to reference it when you are writing your HTML. The simplest option is to keep the script file in the same location as the HTML file, in which case the script line will look like this:

<script src="./webar-sdk-v1.7.1.min.js"></script>

CDN

Include the following line in your app and get started.

<script src="https://webar-sdk.blippar.com/releases/1.7.1/webar-sdk-v1.7.1.min.js"></script>