> ## Documentation Index
> Fetch the complete documentation index at: https://guide.worshipbuddy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Sunday School

> Set up and manage Sunday School classes, teachers, parents, and students

# Sunday School

The Sunday School module helps you manage children's ministry programs with dedicated portals for administrators, teachers, and parents.

<Info>
  **Web**: Full Sunday School setup and all portals (Admin, Teacher, Parent).
  **Mobile**: Sunday School shows **"Coming Soon"** in the More tab — use the web app for Sunday School access.
</Info>

## Overview

Sunday School provides:

* **Class Management** - Organize students into grade-based classes
* **Teacher Assignment** - Assign teachers to specific classes
* **Parent Access** - Parents view their children's classes and progress
* **Curriculum Tracking** - Manage lessons and curriculum for each class
* **Attendance** - Track student attendance per class

## Enabling Sunday School

1. Click **Organization** in the top navigation
2. Click the **Sunday School** sub-tab
3. Toggle **Enable Sunday School Features** on
4. Assign **Sunday School Admins** (optional)
5. Copy the portal link to share with admins/teachers/parents

Configure grades and classes in the **Admin Portal** (`/sunschool/admin/`) — not on the Organization → Sunday School settings tab.

<Info>
  Only Owners and Organization Admins can enable and configure Sunday School.
</Info>

## User Portals

Access portals at `/sunschool/?org={org_id}` or via the portal selector after enabling Sunday School.

### Admin Portal (`/sunschool/admin/`)

* Manage all grades and classes
* Add/remove students from classes
* Assign teachers
* View attendance records
* Manage curriculum

**Access**: Users listed as **Sunday School Admins** in Organization → Sunday School settings (not automatic for Owner/Org Admin unless added)

### Teacher Portal (`/sunschool/teacher/`)

* View students in assigned classes
* Take attendance on the class dashboard
* Access curriculum and lesson plans
* Track student progress

**Access**: Users assigned as teachers to one or more classes (not granted automatically by Owner/Org Admin role)

### Parent Portal (`/sunschool/parent/`)

* See which classes their children are in
* View upcoming lessons
* Check attendance records

**Access**: Users with family relations to enrolled students (not granted by teacher assignment)

### Student Portal

<Warning>
  The **Student Portal** is currently **disabled** in the portal selector. The route exists but shows a placeholder. Use Admin, Teacher, or Parent portals instead.
</Warning>

## Setting Up Classes

### Creating Classes

1. Go to **Sunday School → Admin Portal**
2. Click **+ Add Class**
3. Enter name, description, and optional age range
4. Save

### Adding Students

1. Open the class
2. Click **+ Add Student**
3. Select a student from the picker
4. Click **Add** for each student (one at a time)

<Info>
  Students must first exist as people in your organization before enrolling in Sunday School.
</Info>

### Assigning Teachers

1. Open the class
2. Go to the **Teacher** sub-tab
3. Click **+ Add Teacher**
4. Select teachers and save

## Taking Attendance

1. Go to **Teacher Portal**
2. Select the class
3. Open the **Attendance** sub-tab
4. Mark each student **On Time**, **Late**, or **Absent**
5. Save

## Portal Access Summary

| Portal      | How access is granted                                             |
| ----------- | ----------------------------------------------------------------- |
| **Admin**   | Listed in **Sunday School Admins** (Organization → Sunday School) |
| **Teacher** | Assigned as teacher to a class                                    |
| **Parent**  | Family relation to an enrolled student                            |
| **Student** | Disabled in portal selector                                       |

Owner and Organization Admin can **enable** Sunday School and **add SS admins**, but they do not automatically receive Teacher or Parent portal access unless they meet the criteria above.

## Best Practices

1. **Organize by age** - Match your ministry's age groups
2. **Assign multiple teachers** - Have backup teachers for each class
3. **Keep rosters updated** - Review class rosters regularly
4. **Track attendance consistently** - Take attendance every session
