I am trying to deploy my project on slack and what I did is:-
a) Firstly I downloaded ngrok and fire it up on port 80 and public url generated is like this https://—ngrok.io
b)Now when I am trying event subscriptions on slack I am putting my URL as https://—ngrok.io/webhooks/slack/webhook
But URL is not getting verified and showing 404 error.
my localhost:80 and https://—ngrok.io is working properly.
Anyone please help me here to deploy my chatbot on slack.
see the code of endpoints.yml and credentials.yml file
Hi @reena_kandari. In your credentials.yml you should provide the Slack authentication tokens rather than a url. For example, your credentials.yml should look like the following:
Here the slack_token is a token which you can find on your slack app configuration page.
One more important thing is that your ngrok should run on the same port as your Rasa server. So for example, when you start you Rasa server (run the assistant) with the command below:
thank you @Juste,It worked.
But now I have a question that is weather we have to change url every time we regenerate it through ngrok?
and also when I am trying to post a message in channel it is giving response there but if I post the input in App section it is responding but in channel.I dont understand why its happening like this.
my credentials file
Hi @reena_kandari. You should be able to use your bot on your mobile phone, it doesn’t matter on what platform you run Slack.
Regarding your issue - what happens if you don’t set the channel name? I think then you should be able to send DMs to your bot and talk to it on a channel if you @ the bot.