Documentation Index
Fetch the complete documentation index at: https://developers.partoo.co/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Use the Partoo JavaScript SDK to embed Partoo views into your website via an iframe. The SDK provides utilities to configure, initialize, and control the embedded experience.The SDK dynamically inserts an iframe and returns a helper instance that you can use to authenticate users and navigate pages.
Environments
Partoo offers two environments:-
Sandbox: For development and testing
URL:https://static.sandbox.partoo.co/jssdk/partoo.js -
Production: For live deployment
URL:https://static.partoo.co/jssdk/partoo.js
Integration Steps
Import the SDK
Include the SDK in your HTML This exposes a global
<head>:Partoo object for use in your scripts.Generate a Connection Token
Before rendering any views, generate a connection token for your authenticated user.
Refer to the authentication API documentation for details on generating this token.
Initialize and Login
Use the SDK to create and display the iframe:This logs in the user and displays the
startPage.Page Navigation
Use thepartooPage instance to programmatically navigate: