Steps for migrating from SDK 1 to SDK 2
mindset-sdk.js
by mindset-sdk-2.js
The MINDSET-SDK-URL
is also a new URL (not anymore your mindset AI app URL).
MINDSET-SDK-URL
with the URL provided by Mindset AI.<mindset-agent>
HTML tag in your HTML body
initApp()
and render()
or startAgentThread()
). Your existing script should look like this:
authToken
from your back-end script into an async
method:
mindset.init()
method