Set up SDK
The simplest way to use Integration.app from your app's front-end is by adding our SDK. If you use NPM, you can install @integration-app/sdk package. If you don't use a package manager, simply add our javascript bundle to your web page.
NPM
HTML + Javascript
Add the NPM package @integration-app/sdk to your code:
  1. 1.
    Run npm i @integration-app/sdk
  2. 2.
    Import IntegrationEngineClient
import { IntegrationAppClient } from "@integration-app/sdk"
3. Initialize client:
const iApp = new IntegrationAppClient({
accessToken: "my-access-token"
})
<script src="https://unpkg.com/@integration-app/sdk/dist/bundle.js"></script>
Then use iApp variable in your code - it will be added to the global scope.
For this demo, you can use a test access token available on your app's Settings page:
Getting Test Access token
In the real application, you would use approach described in Users & Authentication to generate the token.
Copy link