Register your site
  • 05 Apr 2022
  • 1 minute to read

Register your site


Article Summary

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:

  1. 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
  2. Next, as a Site Administrator, log in to the site you want to register and click Quick-access menu > Totara Registration.
  3. Select Type of site as Production and paste the registration code into the text box (you should not need to adjust other settings).
  4. 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.

You can find out about the minimum requirements for your server on the Server system requirements page.

© Copyright 2024 Totara Learning Solutions. All rights reserved.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.