- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
4.1. Build Custom Features
In this chapter, you'll learn about the concepts you need to build custom features in your Medusa application.
To add a custom feature to your application, you create:
- A module with data models and a main service to manage them.
- A workflow to create, update, and delete records of data models. You implement functionalities in a workflow to benefit from features such as roll-back in case of errors, retry configurations, and more.
- An API route that exposes the workflow's functionality to clients, such as the storefront or admin dashboard.
Next Chapters: Brand Module Example#
In the next chapters, you'll follow an example to:
- Add a Brand Module that creates a
Brand
data model and provides data-management features. - Add a workflow to create a brand.
- Expose an API route that allows admin users to create a brand using the workflow.
Was this chapter helpful?