Rest api implementation

Hey @chinnusujitha, just follow the below steps to connect your bot to custom channel using REST api,

Step1: you need to ensure your credentials.yml has the following content:

Step2: Once you have trained your bot, you can start your bot server by running the below command

rasa run -m models --enable-api --cors “*” --debug

Once you run this command, you can see the below output in the terminal image

Step3: Once your server is up and running you can access your bot throught REST api, given below:

http://localhost:5005/webhooks/rest/webhook

Step4: Now you can test the api:

You can try out my custom UI : https://github.com/JiteshGaikwad/Rasa_CustomUI-v_2.0

I hope this will help you :slight_smile:

7 Likes