# How to use CallbackInput channel?

**URL:** <https://forum.rasa.com/t/how-to-use-callbackinput-channel/17313>\
**Category:** Rasa Open Source\
**Created:** [September 26, 2019, 1:03pm UTC](https://forum.rasa.com/t/how-to-use-callbackinput-channel/17313 "2019-09-26T13:03:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabeer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kabeer/32/5310_2.png) [@kabeer](https://forum.rasa.com/u/kabeer)\
**Post date:** [September 26, 2019, 1:03pm UTC](https://forum.rasa.com/t/how-to-use-callbackinput-channel/17313/1 "2019-09-26T13:03:16Z")

</div>

Hi all i am beginner in rasa. Now i need to try callbackinput. In the rasa doc i saw this,

```
callback:
 # URL to which Core will send the bot responses
 url: "http://localhost:5034/bot"

```

My question is, in which file or where i can write controller function for the route `http://localhost:5034/bot` or `http://myip:5005/mycustomcode`

Thank you all.

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 27, 2019, 7:32am UTC](https://forum.rasa.com/t/how-to-use-callbackinput-channel/17313/2 "2019-09-27T07:32:34Z")

</div>

You can write it anywhere you want. It is independent from the Rasa code. You just should implement the interface defined in [Your Own Website](https://rasa.com/docs/rasa/user-guide/connectors/your-own-website/#callbackinput). You need to start the controller next to Rasa. Otherwise Rasa will not be able to call the URL you defined in your `credentials.yml`.
