Deploy Your First Microapp
This guide walks through the initialization and deployment of a simple microapp.For a more detailed tutorial that walks through Microapp’s core features, check out the Create New Microapp tutorial.
1. Initialize Your Microapp
You can start building a microapp with any of our supported frameworks. Here are a few popular options to get started:Next.js
React
Vue.js
SvelteKit
Astro
2. Customize Your Microapp
Let’s make a basic change to your microapp and test it locally before pushing to GitHub.Update Page Content
The exact file to edit will depend on your chosen framework:For Next.js
Open the fileapp/page.tsx
(or pages/index.js
for older versions) and update it with:
For React
Open the filesrc/App.js
and update it with:
For Vue.js
Open the filesrc/App.vue
and update it with:
Test Locally (Optional)
To verify your changes before pushing to GitHub, run your microapp’s development server:3. Push Your Code to GitHub
Microapp integrates with GitHub for seamless deployment. If you don’t already have a GitHub account, create one, then follow these steps:a. Initialize Git Repository
b. Add and Commit Your Files
c. Create a New Repository on GitHub
Go to GitHub and create a new repository.d. Link and Push to Your GitHub Repository
4. Install and Integrate the Microapp SDK
For React-based frameworks (Next.js, React, etc.), install the React SDK:- Authentication - Learn how to implement user authentication
- Localization - Display content in the user’s preferred language
- Theming - Support light and dark mode in your microapp
5. Deploy Your Microapp
Once your microapp is ready, deploy it to the Microapp marketplace:- Create an account on the Creator Dashboard
- Create a new microapp project
- Follow the deployment instructions provided in the dashboard
6. Explore Additional Features
Congratulations! You’ve created and deployed your first microapp. Now, add functionalities to your microapp:Distribution
Distribute your microapp to a global audience, with built-in marketing and analytics.
Identity
Authenticate and authorize users with secure, easy-to-implement identity services.
Localization
Display content in the user’s preferred language for a global reach.
Theming
Support light and dark mode preferences for better user experience.
Monetization
Earn revenue from your microapp through various monetization strategies.
UI
Leverage beautiful and consistent design elements for your microapp.