it has loaded to register callbacks. const callbacks = { onUpdate(state) { if ('spin' in state) { spin = state.spin; } }, }; assistantCanvas.ready(callbacks); // Sends a text query to the conversational action assistantCanvas.sendTextQuery('instructions');