To install Assistant Client, execute the following command:
$ npm i @sberdevices/assistant-client
For Smart App development and local testing using Assistant Client, you will need a token for authorization of requests for an assistant. This
token is to be transferred in
To get the token for authorization:
- Log in to SmartMarket Studio.
- Press your profile icon in the right upper corner of the window and select Profile settings.
Go to Emulator. You will see a unique token for authorization.
The token is valid for all your Smart Apps for 24 hours.
- Press the button Copy the key. The token will be copied to the clipboard.
If the period of token validity has expired, update the token by pressing the button Update the key.