Smooch (Sunshine Conversations)
Requirements
An HTTPS Endpoint to your bot
Create a smooch.io account (you will need a business email)
Setup
Smooch App
Firstly, you need to create an app on smooch. To do so, please follow the steps below:
On the
app.smooch.io
home page, click onCreate new app
Enter a name for your app and click
Create App
Connect a channel to your app (Telegram, Whatsapp, or any other listed channel)
You should will see a channel in the
Overview
section of your app
Botpress Connection
Go in the
Settings
section of your appAt the bottom you will find an
API Keys
menu. Create a new API keyYou will need the
id
(the one that starts with app_) andsecret
key to setup your bot
Configuration
- Edit
data/bots/YOUR_BOT_ID/config/channel-smooch.json
(or create it) and set
- enabled: Set to
true
- keyId: Paste the
id
of your key fromSettings
section - secret: Paste the
secret
of your key fromSettings
section
The resulting json will appear as follows:
{
"$schema": "../../assets/modules/channel-smooch/config.schema.json",
"enabled": true,
"keyId": "app_5f079386f6480a000c121f71",
"secret": "g9XWmyPlfKfv4Q9B7mclI9R2CIIosxHncRO1PQeMkCmLNczWSw0I9B_lCmOiMR2Uof37fxLcJXwaxcHOw63ryQ",
"chatUserAuthDuration": "24h"
}
- Restart Botpress and test if your chatbot has been succesfully connected to your desired channel.