Front end
The front end displays the button that the customer clicks to start the ComPilot Widget.
There are two stages to developing the front-end integration.
- Create the
AuthAdapter
based on the API endpoint callingcreateSession
. - Create the
widgetConfiguration
based on theAuthAdapter
.
📄️ Step by step with React or Next.js
1. Install @compilot/react-sdk.
📄️ Step by step with other JavaScript-based applications
1. Install @compilot/web-sdk.