Skip to main content

Setting Groups

Setting Groups are named configuration profiles. Each group holds a set of settings — attendance display, notifications, email configuration, and integrations — and can be assigned to specific classes and forms. This lets different parts of your school run with different configurations.

For example, you might have one group for your main school (using the default ClassBuddy email sender) and another for a specific programme that uses its own Gmail account for notifications.

note

Managing setting groups requires the groupSettings:write permission. Editing individual settings within a group requires setting:update. See Roles & Permissions for details.

Go to Settings > Setting Groups to manage your groups.

Setting Groups list


The Default Group​

One group is designated as the default. Any class or form not explicitly assigned to another group inherits the default group's settings. Every school should have exactly one default group.

The default group is marked with (default) in the list.


Create a Group​

Tap the + button to create a new group.

Setting Groups create

FieldDescription
Group NameA descriptive name for this group
Is DefaultToggle on to make this the school's default group

Tap Create to save.


Edit or Delete a Group​

Tap the menu (three dots) on any group card to Edit or Delete it.

caution

Deleting a group removes all its settings. Any classes or forms assigned to it will fall back to the default group.


Assign Classes and Forms to a Group​

Open a group and go to the Members tab to see which classes and forms are assigned to it.

Tap the + button to add members. Select the member type (Class or Form), then choose one or more from the list.

Setting Groups create

To remove a member, tap the delete icon next to it.


Settings​

Open a group and go to the Info tab to view and edit its settings. Settings are organised into categories.

Setting Groups create

Tap the edit icon next to any setting to change its value.


Attendance​

Attendance Page Attributes

Select which custom student attributes appear on the attendance page alongside each student's name. Useful for showing relevant context at a glance — for example, a student's level or stream.


Notifications​

Include Contacts in Student notifications?

When enabled, a student's saved contacts (parents and guardians) also receive notification emails in addition to the student. Both this setting and the individual contact's Subscribe to notifications toggle must be on. See Contacts for details.

Email Configuration (SMTP)

When filled in, outgoing emails for this group (attendance notifications, form submissions, messages, etc.) are sent from your own email account instead of the default ClassBuddy sender. Leave blank to use the ClassBuddy default.

FieldDescription
HostSMTP server hostname
PortSMTP port (typically 587 for TLS)
TLSToggle on for encrypted connections
UsernameYour email address
PasswordYour email password or app password

Configuring Gmail as your email sender​

Google requires an App Password for third-party apps — your regular Google password will not work.

Step 1 — Generate an App Password

  1. Go to your Google Account settings and open the Security tab.
  2. Enable Two-Step Verification if you haven't already.
  3. Search for App passwords and open it. You may be asked to sign in again.
  4. Choose Mail as the app and Other (Custom name) as the device. Enter a label like "ClassBuddy".
  5. Click Generate. Copy the 16-character password immediately.

Step 2 — Enter the details in ClassBuddy

Click the edit icon next to Email Configuration and enter:

FieldValue
TLStrue
Hostsmtp.gmail.com
Port587
UsernameYour full Gmail address (e.g. you@gmail.com)
PasswordThe 16-character App Password from Step 1
Email configuration form


Integrations​

ClassBuddy Invoicing​

  1. Configure the settings for ClassBuddy invoicing. Fill in the following fields:
FieldValue
Currencyex - ZAR for South Africa
item_typechoose EXTERNAL_CHARGE
email_invoicechoose true if you would like to send an email once invoice is created
invoice_statuschoose DRAFT or COMMITTED
combine_invoiceIf there are 2 or more students under one email, choose to combine the invoice or not
ClassBuddy Invoice settings

After the integration has been configured for your group, tap Activate to initialise it, then Sync Contacts to synchronise billing contacts.

Once activated, school admins can create invoices, record payments, and send account statements for students. See Invoicing for the full guide.


Xero Integration​

Connect a setting group to your Xero organisation so ClassBuddy can sync contacts and create invoices directly in Xero. Setup has three parts: create an app in the Xero developer portal, enter its credentials in ClassBuddy, then verify the webhook connection.

Before you start, have your School ID handy. You can find it in ClassBuddy under Settings > School Page. See School Info.

Step 1 — Create a Xero app​

  1. Sign in to the Xero Developer portal.
  2. Go to My Apps and click New app.
  3. Fill in the form:
FieldValue
App nameClassBuddy
Integration typeWeb app
Will you use Xero data to train, fine-tune, adapt, or enhance an AI model?No
Company or application URLhttps://classbuddy.io
OAuth 2.0 redirect URIhttps://web.classbuddy.io/xero-callback
  1. Accept the terms and conditions and create the app.
Xero new app form

Step 2 — Copy the Client ID and secret​

  1. Open the app you just created and click Configuration.
  2. Scroll to the Connection section and copy the Client id.
  3. Click Generate a secret and copy the secret.
caution

Xero shows the client secret only once. Store it somewhere safe before leaving the page. If you lose it, generate a new one.

Xero app client id and secret

Step 3 — Configure the webhook​

  1. In your Xero app, open Webhooks.
  2. Set Delivery URL to https://api.classbuddy.io/webhooks/xero/{SCHOOL_ID}, replacing {SCHOOL_ID} with your School ID.
  3. Copy the Webhooks key that Xero generates.

Do not click Intent to receive yet. You will do that in Step 5, after ClassBuddy has the webhooks key.

Xero webhooks configuration

Step 4 — Enter the details in ClassBuddy​

  1. In the ClassBuddy web app, go to Settings > Setting Groups and open the group you want to connect.
  2. Scroll to Xero Integration config and tap the edit icon.
Xero Integration config setting

  1. Fill in the following fields:
FieldDescription
Client IDThe Client id from Step 2
Client SecretThe secret from Step 2
Invoice StatusStatus given to invoices that ClassBuddy creates in Xero
Line Amount TypeHow tax applies to line amounts (for example tax exclusive, tax inclusive, or no tax)
Account CodeXero account code for invoice line items. Use 200 (Sales) unless your chart of accounts uses a different code.
Email InvoiceSet to true to have Xero email invoices to parents or students automatically
Combine Contact InvoiceSet to true to create one invoice per parent when they have more than one child enrolled
CurrencyThe currency of your Xero organisation
Webhooks KeyThe Webhooks key from Step 3
Auto InvoiceSet to true to have ClassBuddy generate invoices automatically
Invoice ReferenceThe reference shown on generated invoices
ActiveTurn on to enable the configuration
  1. Save the configuration.
  2. Tap Activate to connect to Xero, then tap Sync Contacts to sync your billing contacts with Xero.
Activate Xero integration and sync contacts

Step 5 — Verify the webhook​

Go back to your app in the Xero Developer portal, open Webhooks, and click Intent to receive. Xero sends a test request to ClassBuddy, and the status should show as successful.

If the check fails, confirm that the Delivery URL contains the correct School ID and that the Webhooks Key in ClassBuddy matches the one shown in Xero.