In this tutorial you will learn how to copy a bot and all of its resources.
sb-cli bot download BOTNAME
This will include all workers, baas, and the default endpoint related to the bot.
SRN
and ID
fields from all of the resources.Name
fieldName
Address
Alias
sb-cli bot upload .
The .
just denotes current directory.
Secrets are not exported or imported, but since they are referenced by Alias, all that is needed is to make sure that secrets still exist in the destination organization.
You should be all set to test your bot in the platform now.