Say 👋 hello to BusyBee, your AI-powered learning & teaching companion for Buzz. Learn more!

Administrator

How do I enable a user to create their own account?

  • Updated:
    info
    Created:

Buzz allows users to self-register their accounts and be automatically enrolled into defined courses

In order to set this up, you need to edit your Domain Settings and create a token using the Agilix API. When enabled, this feature allows users to create an account from Buzz's sign in screen by providing first and last name, email, password, and a code (the token you create).

Edit Domain Settings

  1. Open the vertical menu in the toolbar of Domain Details.  
  2. Select Domain Settings.
  1. Check the Allow users to create their own accounts box in the Authentication cards. This option is not available with single-sign on configurations.
  2. Save.

Create the token

To create a token (code) for the user to use upon registration:

  1. Use theCreateCommandTokensAPI command to update your domain.
  2. Choose your preferred registration action:
  • Create user and enroll into defined course(s)
<requests>
  <commandtoken scopeentityid="//userspace" description="Create account and enroll into multiple courses" allowunauthenticatedredemption="true" codelength="6">
    <action>
    <batch>
      <request cmd="createusers2">
        <requests>
          <user username="$email$" password="$password$" firstname="$first$" lastname="$last$" email="$email$" domainid="//userspace"></user>
        </requests>
      </request>
      <request cmd="createenrollments" disallowduplicates="true">
        <requests>
          <enrollment domainid="//userspace" entityid="courseid" userid="//userspace//$email$" flags="131073" status="1" schema="2"/>
        </requests>
      </request>
    </batch>
    </action>
  </commandtoken>
</requests>
Click to copy

Replace userspace and courseid in the code

Make sure to replace the following values:

  • Every occurence of userspace needs to be replaced with the login prefix for the domain the user will register at (this is a text value, not numeric; it can be found in Domain details).
  • Every occurence of courseid needs to be replaced with the ID of the course the user is to be enrolled in (this can be found in the Courses tool). Also, you can copy the enrollment element to enroll the user into multiple courses. Simply have a unique courseid value for each enrollment.
  • Create user only
<requests>
  <commandtoken scopeentityid="//userspace" description="Create account" allowunauthenticatedredemption="true" codelength="6">
    <action>
      <request cmd="createusers2">
        <requests>
          <user username="$email$" password="$password$" firstname="$first$" lastname="$last$" email="$email$" domainid="//userspace"></user>
        </requests>
      </request>
    </action>
  </commandtoken>
</requests>
Click to copy

Replace userspace in the code

Every occurence of userspace needs to be replaced with the login prefix for the domain the user will register at (this is a text value, not numeric; it can be found in Domain details).

  1. Post the API command.
    • Note: Copy the command token code value.
  2. Share the URL for the login page and the code that the user is supposed to use upon registration.
forum

Have a question or feedback? Let us know over in Discussions!