Initialization
To initialize the SDK you need to provide an authentication token.
To get the token you need to create it in the server SDK and pass it to the Widgets SDK.
import { createClientSDK } from '@hautechai/client';
const sdk = createClientSDK({ authToken: async () => await getTokenFromServer() });