www/apps/bloom/app/first-store/page.mdx
import { InlineIcon, InProductAction } from "docs-ui" import { CursorDefault } from "@medusajs/icons"
export const metadata = {
title: Build Your First Bloom,
}
Build and publish a complete ecommerce store in hours using Bloom as your AI assistant. This guide walks you through creating your first Bloom store, customizing the design, adding features, and going live.
In this guide, you'll create a complete Bloom ecommerce store with:
By the end, you'll have a working store ready to accept orders and manage your business.
Start by visiting the Bloom homepage. You have two ways to create your store:
The Bloom homepage has a textbox where you can enter a prompt describing your store. Bloom uses this prompt to build your store from scratch.
The best first prompts include:
Here's an example prompt:
Build a candle store called "Lumière" with a minimalist, elegant design.
Use warm neutral colors (cream, beige, sage green). Add three products:
Golden Hour candle ($42), Forest Bathing candle ($39), and Clay & Sage
candle ($39).
Bloom will generate images for your products and store to provide a complete experience. You can also upload your own product images.
</Note>Include as many details as possible in your first prompt to get the best results.
After you submit your prompt, you'll be asked to create an account. Afterwards, Bloom will start building your store based on your prompt. This takes ~2 minutes.
Medusa provides Starters to help you get started faster. Starters are pre-built store designs and features for common store types like fashion or home goods.
Use starters to get a head start with ready-made designs and features. You can customize everything later by chatting with Bloom.
To choose a starter:
Whether you write a custom prompt or choose a starter, you must create an account to continue. You can create an account with GitHub or email.
By default, your account will be on the Free plan, which includes 5 free credits per month to make changes to your store. You don't need to enter payment information to use the Free plan.
See Credits and Plans for more details, with information on how to upgrade if you need more credits or to publish your store.
Once Bloom finishes building, you'll enter the main project interface. Here, you can preview your store, chat with Bloom to make changes, and manage your store from the admin dashboard.
The project interface has four main sections:
The interface is designed to let you chat with Bloom while seeing changes in real-time.
Your store's design is fully customizable. Ask Bloom to update colors, layout, images, and more by sending design prompts in the chat.
For example, you can ask Bloom to update the hero image for a parallax effect:
Add a full-width hero image to the homepage showing candles in a cozy
setting. When users scroll down, add a parallax scroll effect where the
hero image moves slower than the content below, creating depth. Use a
semi-transparent dark overlay on the image so the text stays readable.
Once you submit your prompt, Bloom will update the store in real-time. You can see the changes immediately in the Preview panel.
Bloom includes a <InProductAction product={"bloom"} type={"MEDUSA_AI_ENABLE_SELECTION_MODE"}>Selection Mode</InProductAction> to help you target specific elements on your store for design changes. This is easier and more effective than describing elements you want to change in your prompt.
To use Selection Mode:
Add an image that shows candles in a cozy setting.
Bloom will apply the changes specifically to the selected element.
Selection Mode also allows you to make quick text changes and design tweaks without writing detailed prompts. See Selection Mode Guide for details on using this feature effectively.
There are more ways to enhance your store's design with Bloom:
See Design from Media for tips on working with Bloom to create beautiful designs.
Bloom is an ecommerce expert. Ask Bloom to add custom features to your store by describing what you need in a prompt.
For example, you can ask Bloom to add a product review system with the following prompt:
Add a product review system. Customers should be able
to leave a star rating (1-5 stars) and a written review. Show the average
rating and total number of reviews at the top of the product page. Display
reviews below the product description, with the most recent reviews first.
Include the reviewer's name and review date.
Once you submit the prompt, Bloom will implement the feature and update your store in real-time. It will make the necessary changes in the store and admin dashboard to support the new feature.
See Prompting Custom Features for tips on asking Bloom to build custom functionality.
Your Bloom store includes a full admin dashboard to manage products, orders, and customers. In the project's preview, you can switch between the Store and Admin views to manage your store.
To switch to the Admin view, click the <InProductAction product={"bloom"} type={"MEDUSA_AI_OPEN_PANE"} data={{ pane: "admin" }}>Admin</InProductAction> tab in the toolbar at the bottom.
In the admin dashboard, you can manage all aspects of your store, including:
See Commerce Features for a full list of features available in your Bloom store.
<Note title="Tip">Bloom can perform ecommerce operations for you. For example, you can ask Bloom to add a new product or configure your store's currencies. See Ecommerce Operations for tips on how to use Bloom to manage your store.
</Note>You can also ask Bloom to add custom features to your admin dashboard. For example, you can ask Bloom to add a "Featured" checkbox to the product page in the admin:
Add a "Featured" checkbox to the product page in the admin. When checked,
display those products in a special section on the homepage.
Bloom updates the admin and store to match your request.
Continue to refine your store by chatting with Bloom until you're happy with the design and features.
Once you're ready to start selling, you can publish your store and admin dashboard. Publishing deploys your store to a live URL, sets up hosting, and configures everything needed to run your store.
<Note title="Ready to start selling?">See the Going Live guide for a publishing checklist and detailed instructions to ensure your store is ready for launch.
</Note>To publish your store:
This starts the publishing process. Bloom will deploy your store to a live URL, set up hosting, and configure everything needed to run your store.
Once publishing completes, access your live store using the buttons below the store's image:
To log into your store's admin dashboard:
After logging in, you can manage your store, add products, fulfill orders, and more from the admin dashboard.
<Note title="Tip">See the Medusa Admin User Guide for detailed instructions on using the admin dashboard.
</Note>By default, your store will be published to the .medusajs.site domain. For example, your-store-name.medusajs.site. See the Custom Domains guide for instructions on configuring your own domain name.
You have full ownership of your store's code. Transfer your project's codebase to your GitHub account to backup your code, continue development locally, or collaborate with developers.
See Export to GitHub for instructions to transfer your project's codebase to your GitHub account.
After publishing, you can continue making website and design changes to your store with Bloom.
To publish new changes:
This re-deploys your store with the latest changes you've made in Bloom. Publish as many times as needed to keep improving your store over time.
To get the best out of Bloom, check out the following guides to learn how to write effective prompts, add new features, and prepare your store for launch.
<CardList items={[ { href: "/going-live", title: "Going Live Checklist", text: "Prepare your store for launch with this checklist." }, { href: "/custom-domains", title: "Store Domain", text: "Use your own domain name for your store." }, { href: "/prompting/service-integrations-prompting", title: "Integrate Services", text: "Connect services like Stripe for payments." }, { href: "/prompting/store-design-prompting", title: "Prompting", text: "Learn how to write effective prompts for better results." }, { href: "/features/commerce-features", title: "Bloom Features", text: "Learn more about selection mode, design from media, responsive view, and more." }, { href: "/credits-and-plans", title: "Credits and Plans", text: "Understand Bloom's pricing plans and token usage." } ]} />