Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Box repository.
The Box repository enables users to copy files from Box into Moodle.
In order to use the Box repository, your Moodle site must use HTTPS. In addition, an administrator must obtain a Box client ID and secret. The client ID and secret can then be used to configure all Box plugins.
Obtaining a Box client ID and secret
- Go to https://app.box.com and create an account or log in
- Go to https://app.box.com/developers/services and click the link 'Create new application'
- Enter an application name and click the 'Content API' button
- Once the application is created, click the 'Edit this application' button
- On the Edit a Box Application page, scroll down to the section 'OAuth2 parameters' and make a note of the client ID and secret
The client ID and secret can then be used to configure the Box repository and Box portfolio.
Enabling the Box repository
- Go to Administration > Site administration > Plugins > Repositories > Manage Repositories
- Reactivate the Box.net repository by selecting 'Enabled and visible' in the dropdown menu
- Configure the repository plugin by entering the Box client ID and secret. Make sure you don't include any white space in the text boxes!
- Save changes
Enabling the Box portfolio
- Go to Administration > Site administration > Plugins > Portfolios > Manage Portfolios
- Reactivate the Box.net portfolio by selecting 'Enabled and visible' in the dropdown menu
- Configure the portfolio plugin by entering the Box client ID and secret
- Save changes
There is just one capability, View box.net repository, which is allowed for the default authenticated user role.