---
title: Lab #1 - Building Custom Blocks
slug: saga-hol/lab-1-building-custom-blocks
icon: 📄
createdAt: 2026-07-20T12:10:24.340Z
---

### Lab Summary

In this lab, you begin building a **custom block** for an **AEM Edge Delivery Services** project that is authored with the **Universal Editor**.&#x20;

The purpose of this lab is to help you understand the complete workflow required to add your own block to a project: *from repository setup → to AEM site creation → to defining the block → to styling the block → and to publishing the block.*

This guide focuses on **WYSIWYG authoring with Edge Delivery Services**, where content is authored in AEM using the Universal Editor and the front-end code for the site lives in GitHub.

### Goal

By the end of this lab, you will be able to:

- create your own GitHub project for Edge Delivery Services
- connect that project to AEM as a Cloud Service
- create a new AEM site that uses your GitHub repository
- prepare the project so you can add a custom block in the next steps
- understand how custom blocks fit into the Universal Editor + Edge Delivery Services model

### What You Will Build

In this exercise, you will prepare everything needed to build a block that displays a **memorable quote** on a page.

You are not building the full block yet in these first sections. Instead, you are setting up the **foundation** required for custom block development:

1. a GitHub repository for your project code&#x20;
2. an AEM site connected to that repository&#x20;
3. a starting environment ready for block definition in the next chapter



:::hint{type="success"}
### Why This Matters

With Edge Delivery Services and Universal Editor:

- **content** is authored in AEM
- **front-end code** such as CSS and JavaScript is managed in GitHub
- **blocks** are the main building units used to render page content

That means every custom block starts with a correctly connected **AEM + GitHub** setup.
:::



<font color="#0c121d67">*Copyright © 2026 Adobe. All Rights Reserved. For support, write to\: hol\@adobe.com*</font>
