From Reference Extension to Your Own Extension
Starting Point
If you reached this point, you have already:
- registered and configured the Reference Extension in mStudio,
- started and tested it locally,
- made it publicly reachable, and
- optionally already deployed it.
That means your technical foundation is in place. From here on, the focus is no longer getting the template running, but turning it step by step into your own Extension.
The Reference Extension as a Template
The Reference Extension intentionally contains two kinds of code:
- reusable infrastructure such as authentication, error handling, webhook, and database fundamentals,
- demo functionality that only demonstrates how specific features can be implemented.
In the next steps, you separate those two parts, remove demo code you do not need, and extend the foundation for your own use case.
Typical Next Steps
The following chapters are modular. You do not have to go through them in a fixed order; choose based on your target architecture:
- Cleanup - Remove Demo Content Remove sample features and keep only the technical foundation you want to build on.
- Use a Different Extension Context Switch from project context to organization context if needed.
- Develop Frontend Fragments Adapt UI, anchor points, and routing for your embedded mStudio interface.
- Implement an External Frontend Build an External Frontend instead of, or in addition to, Frontend Fragments when needed.
- Extend Backend Logic Extend your data model, migrations, and server functions for your domain logic.
- User-Unbound Authorization Use Extension Instance Secrets for background processes and custom user models.
If you already have a clear product idea, start with the chapter that has the biggest architectural impact.