- 02 Dec 2024
- 1 minute to read
Register your site
- Updated on 02 Dec 2024
- 1 minute to read
Registering your site is an important part of getting started with Totara. See Totara registration to find out why this is important, or check which data will be collected once you register your site.
Registering your site
Subscription registration codes are made available for a subscription as soon as the subscription is 'awaiting activation'. To obtain the registration code:
- Firstly you will need to obtain your registration code, this can be done in the following ways:
- By contacting your Totara Partner and requesting the code from them
- If you are a direct subscriber then you will be given the code directly from Totara Learning
- Next, as a Site Administrator, log in to the site you want to register and click Quick-access menu > Totara Registration.
- Select Type of site as Production and paste the registration code into the text box (you should not need to adjust other settings).
- Click Save to finish and submit the form.
Registering via config.php
Partners wishing to automate the registration process can register programmatically by specifying the following fields in the site's config.php file:
$CFG->sitetype = 'production'; // Options are 'production', 'qa', 'demo' or 'development'.
$CFG->registrationcode = 'xxxxxxxxxxxxxxxx'; // Unique 16 character long alphanumeric code.
Note the registration code must be provided for production sites and each site must have its own unique code.
We recommend developers working for partners include $CFG->sitetype = 'development'; in their default config.php file, and any automated deployment code be updated to set the correct value for staging and test sites.
You can find more information, including FAQs, in the Subscription portal documentation.
Join the Totara Community for more resources to help you get the most out of Totara. You can also book a call to have a chat about your Totara platform with a dedicated Customer Success Manager.
© Copyright 2024 Totara Learning Solutions. All rights reserved.