Please check below guide to configure Teams channel for your bot service bot.
once the bot is tested for bugs and gaps, you can follow this guide to publish it.
Attached Sample bot examples for reference - https://github.com/microsoft/BotBuilder-Samples/tree/main/samples
Hope it helps
Thank you.