---
title: Lab #5: Experience Modernization Agent
slug: saga-hol/lab-5-experience-modernization-agent
icon: 📄
createdAt: 2026-08-16T13:39:39.098Z
---

*In this lab, we will use the Experience Modernization Agent Console to redesign a block using the provided Figma design. This lab provides you with an overview of how fast it can be now for developers to implement a new design.&#x20;*

:::hint{type="info"}
*To tie into your design workflow, you can also use the agent to import designs from Figma and style blocks to match the design spec, without any manual translation.&#x20;*

*In this chapter, you'll give it a Figma URL and let it style the accordion block to match the design spec.*
:::



## Access AEM Coder

1. Go to the [aemcoder.adobe.io](https://aemcoder.adobe.io) tab.
2. Wait for the instance to be provided.&#x20;
3. Click on **Start Chatting:**

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/_5zDXseHIoHNUbcF6fRoH_image.png" size="100" isUploading="false" width="2952" height="1932" darkWidth="2952" darkHeight="1932" showCaption="false" indent="1"}



## Overview of the Figma Design

This is how the design looks in the **Figma file** – on the left is the normal state (folded and unfolded) and on the right the state on mouse hover:


![](https://adobelabs.dev/events/summit26/brand-visibility/l335/media_105c3991a91ed9f619b5b0efaa3553dbecfbd21c1.png?width=750\&format=png\&optimize=medium)

:::hint{type="info"}
Notice the differences with the current accordion of the WKND site:

- In the current implementation, the accordion has a white background by default, while the designer wants it to always have a background.
- On hover, our designer wants to use the strong orange accent color, while the current implementation is using a softer color.
:::



## Step 1 — Quick Figma setup

1. Go to the top-left configuration:

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Ib88eGMSeI5E8l2KuO9PQ_image.png" size="90" isUploading="false" width="1612" height="574" darkWidth="1612" darkHeight="574" showCaption="false" indent="1"}

2. Scroll down to the configuration called **Credentials,&#x20;**&#x61;nd add the following Figma personal access token: `figd_xUVY-ztEmsDYPUbc07xRqQODbeAqVzxUT1nSUbVR`

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/vcFUBemvoC7uCULalDSHn_image.png" size="100" isUploading="false" width="2536" height="486" darkWidth="2536" darkHeight="486" showCaption="false" indent="1"}

3. Click **Save.&#x20;**
4. Exit settings:

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/3EfhDEsF312qTGbtsJicd_image.png" size="20" isUploading="false" width="352" height="168" darkWidth="352" darkHeight="168" showCaption="false" indent="1"}



## Step 2 — Send the prompt

Let's start by pointing the agent to the accordion block and giving it the Figma URL.

1. **Make sure you're in Content Preview:**
   - If you haven't already, go back to the [aemcoder.adobe.io](https://aemcoder.adobe.io/) tab.
   - And make sure you are in Preview:&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/XJBZHt4hycppfJq_vaq5O_image.png" size="60" isUploading="false" width="974" height="502" darkWidth="974" darkHeight="502" showCaption="false" indent="1"}

2. Scroll down our page and take a look at the actual accordion block:

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Zm6x1CtnLYiwo1_3QjG3h_image.png" size="70" isUploading="false" width="1964" height="1536" darkWidth="1964" darkHeight="1536" showCaption="false" indent="1"}

3. Select the Element Inspector,&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/ytZe1zH6E4-v3UqSKNikt_image.png" size="40" isUploading="false" width="496" height="110" darkWidth="496" darkHeight="110" showCaption="false" indent="1"}

4. and select our` div faq-list`:

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/xr4sW0-gu3gTWSjfmvLaB_image.png" size="90" isUploading="false" width="1296" height="650" darkWidth="1296" darkHeight="650" showCaption="false" indent="1"}

5. Above the chat text area, you should see a context bubble with the label **"Block: faq-list .faq-list, block":**

::Image[]{src="https://adobelabs.dev/events/summit26/brand-visibility/l335/media_1d74deaeed87a60d0410e48e3e26112c114f153bd.png?width=750&format=png&optimize=medium" size="70" width="476" height="132" isUploading="false" darkWidth="476" darkHeight="132" showCaption="false" indent="1"}

6. **Copy and paste this prompt:**`Style the accordion as in the Figma design:`
   `https://www.figma.com/proto/eGmcjJEw2XHyjkk04Hdv9r/WKND---Accordion?node-id=0-1&t=ar16J8H5oVEhLGi6-1`

:::hint{type="info" indent="1"}
If prompted Figma integration required, Enable it:

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/EcDsHyEa_PGJDWuqfWyqa_image.png" size="70" isUploading="false" width="956" height="462" darkWidth="956" darkHeight="462" showCaption="false"}

If you had a Figma license, you could have copied this URL that we're using in the prompt by selecting the component in the file and choosing "Copy link to selection" from the contextual menu.
:::

7. Submit it, and **wait 2–5 minutes** for the agent to read the Figma file and generate the CSS to match the design.

:::hint{type="success"}
**Success**

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/XL43cSoZLgzXA5fZWzI2f_image.png" size="70" isUploading="false" width="1960" height="1444" darkWidth="1960" darkHeight="1444" showCaption="false"}

You should see the updated accordion matching the Figma design in the preview.
:::



![](https://adobelabs.dev/events/summit26/brand-visibility/l335/media_11a819c641848bed34128da71211d909a077d1bd0.png?width=750\&format=png\&optimize=medium)

## Learnings

**What you experienced:** You gave the agent a Figma URL and a target block. It read the design file directly, extracted colors, typography, spacing, and layout, and wrote the CSS. No manual translation needed, no screenshot comparison, no handoff document.

Design systems and codebases drift apart whenever someone manually translates a Figma file into CSS. With the agent, the design file is the source of truth. Any time a designer updates a component, you can re-run the prompt and the code catches up in minutes.

:::hint{type="info"}
**Questions?**
Now is a good time to ask the instructor before we move on.
:::

:::hint{type="success"}
**Success**
You know how to import design from Figma and style blocks to match the design spec.
:::



