Skip to main content

How to connect the Salut channel

To connect Salut:

Connect a channel in JAICP

  1. Open your project in JAICP.

  2. Click Channels → Inbound → Connect channel in the dashboard.

  3. Select Sber Salut under Voice assistants.

  4. Configure the parameters:

    • Name — specify a name for the channel or keep the default one.
    • Branch — specify the project branch you want to deploy into the channel (master by default). You can also select a Git tag or enter a specific commit hash.
    • Deployment — select Automatic (whenever any change made to the project is saved) or Manual (using the Deploy button in the channel description line).
    caution
    You have to deploy a script before starting the bot. At this stage, the system builds the bot, checks the script syntax, and performs tests.
  5. Click Create.

  6. Click Get webhook under the name of the newly created channel. The webhook URL will be copied to the clipboard. You will need the webhook when configuring your SmartApp.

Create a SmartApp

To make your bot available for devices with Salut, you need to publish it in the SmartMarket store.

  1. Sign in to SmartMarket Studio via your Sber ID.
  2. In your personal workspace, create a project.
  3. Select SmartApp.
  4. Configure parameters:
    • Specify the application name to be displayed in the store and used to invoke that application.
    • Select Chat App as a SmartApp type.
  5. Complete project creation.
  6. On the project page, select SmartApp webhook from the right column.
  7. Configure webhook parameters:
    • Select SmartApp API as a project type.
    • Paste the webhook URL you have copied before in JAICP.
  8. Save your SmartApp.

Go through the review process

Each SmartApp goes through review before the rollout: it is checked for legal, ethic, technical, reputation, and other compliance.

On the right side of the SmartApp page, you will see what sections you need to fill out. Specify all information about your SmartApp according to the requirements and submit it for review.

You will be able to submit your SmartApp for rollout after it is approved.

Test your SmartApp

You can test your SmartApp on the device or in the Sber Salut application while it is still under review.

To run the SmartApp on your device or in the application, say the following phrase:

start command + SmartApp name