How to connect the Salut channel
To enable Salut:
- Create a channel in JAICP
- Create a SmartApp in SmartApp Studio
- Prepare your SmartApp for review
- Test your SmartApp operation
JAICP channel
Go to the JAICP platform and click Channels > Create channel in the dashboard. Select Sber Salut under Voice assistants.
Fill out the following fields:
- Name — Specify a name for the channel or keep the default one.
- Branch — Specify the project branch you want to deploy to the channel (
masterby default). - Deploy — Select Automatic (each time any change made to the project is saved) or Manual (using the Publish button in the channel description line).
Please note the Deploy radio button. You have to roll out or deploy a script before starting the chat bot. At this stage, the system builds the chat bot, checks scenario and script syntax and performs tests.
Click Create. Click Get webhook under the name of the newly created channel. The hook URL will be copied to the clipboard. You will need the webhook copied to create your SmartApp.
Create SmartApp
You will need to release your bot in the SmartMarket application store to make it available for devices with Salut.
Your application (bot), a SmartApp, will be available on any device where Salut family virtual assistants are used.
Sign in to SmartApp Studio via your Sber ID to create a SmartApp.
Click Create SmartApp in the My SmartApps page. Fill out the following fields:
- SmartApp Name — Application name to be displayed in the store and used to invoke that app.
- Select SmartApp type — Select the Chat App type.
- Select Tool — Click Existing app here.
- Webhook — Paste the webhook copied when you enabled your channel in JAICP.
Click Create SmartApp.
Review
Each SmartApp undergoes pre-moderation before the rollout: it is checked for legal, ethic, technical, reputation, etc. compliance.
The General settings section will open after you create your SmartApp. Fill in the fields according to the requirements here and submit the SmartApp for review.
You will be able to submit your SmartApp for rollout by clicking Roll out after it is approved by the reviewer.
Testing
You can test your SmartApp on the devices or in the SBER Salut application even while it is still under review.
Say the following phrase to run the SmartApp on your device or in the application: start command + SmartApp name