Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Before start using the chatbot, make sure the WS Functions installed with the Moodle Chatbot Plugin are externally accessible using Moodle’s API. This is how the Moodle Chatbot App is capable of reading and writing to Moodle’s database.

The following is a list with the steps needed to enable the WS Functions. For the official Moodle documentation, click here.

  1. Go to Site Administration > General > Advanced features. Search for an option named ‘Enable web services’ and check the box if it is disabled.

  2. Go to Site Administration > Server > Web services > Manage protocols. Make sure REST protocol is enabled.

  3. Go to Site Administration > Server > Web services > External services. In the ‘Built-in services’ section, edit ‘Moodle mobile web service’ and make sure the ‘Enabled’ option is checked.

  4. Finally, go to Site Administration > Server > Web services > Manage tokens. Click on ‘Create token’ and select a user with enough roles to use the Moodle mobile web service. This token serves as the login credential for the Moodle Chatbot App, when installing the chatbot, it is necessary to copy this token into the configuration file.

  • No labels