The bot contains three items:
Chrome Extesnion in a self-hosted mode. This is optional. You need to use it only to get notifications from TradingView.
Bot database. It accepts alerts from the Chrome Extension and another platforms and store them until you bot send them. NOTE: the current version of the database doesn't start automatically after installation. You need to restart your PC or start it manually.
The bot server. You can get server for your own bot at Windows Store
Register your bots. You this manual for Telegram.
For the Discord bot you need to create an app here.
You can you both or only one of the bots.
As a result in both cases you should get bot token. Put these tokens into the bot server app and push the start button.