Invite Users to Test

One of the key features of Rasa is the ability to learn from real conversations. You should get someone else to test your assistant as soon as possible, because real testers will always surprise you.

To share your assistant with someone, click on the ‘share’ icon in the models table


../_images/invite-users-to-test-models-table.png

In the popup, you can select which of your deployed models you want to test. You can also edit what testers will see and copy the link they can use to try out your assistant.


../_images/invite-users-to-test-metadata.png

Once you share this link, testers will be able to talk to your assistant, and their conversations will appear in the conversations tab.


../_images/invite-users-to-test-tester-view.png

Use Ngrok For Local Testing

You can use ngrok to create a connection to your local computer that is publicly available on the internet. You don’t need this when running Rasa on a server because you can set up a domain name to point to that server’s IP address.

Rasa X

By default, Rasa X runs on port 5002. The ngrok command to make that port publicly available is:

ngrok http 5002

ngrok will create a https address for your computer, for example https://xxxxxx.ngrok.io.

Testing Channel Integrations

If you are connecting your assistant to facebook or another service, you will need to set up an ngrok service pointing at port 5005. To do this, run:

    
ngrok http 5005; rasa run
copied!

Your webhook address will look like the following:

  • https://xxxxxx.ngrok.io/webhooks/facebook/webhook
  • https://xxxxxx.ngrok.io/webhooks/telegram/webhook
  • https://xxxxxx.ngrok.io/webhooks/{channel}/webhook