# Configure the plugin

**Note that by default the plugin now runs in background mode via a cron task to avoid blocking page responses. This can be changed on the configuration page.**

1. Set your “endpoint” to your LRS endpoint (e.g. “<http://your.lrs/xAPI>”).
1. Set your “username” to your LRS basic auth key/username (e.g. “d416e6220812740d3922eb09813ebb4163e8eb3e”).
1. Set your “password” to your LRS basic auth secret/password (e.g. “bc7e0a2edd5d1969b6d774e679d4eb4e7a35be13”).
1. Click “Save changes”.

You can change this configuration anytime by navigating to "http://your.moodle/admin/settings.php?section=logsettingxapi".

