Storefronts
After cloning the storefront to your private git repository, proceed to Vercel for the remainder of the configuration. If you don't already have a Vercel account, now is the time to create one (you can create an account with GitHub/GitLab). To create a Vercel account, click here. Otherwise, log in to Vercel with your Git account to get started.
Vercel's free account does not allow for monetization, so ecommerce sites hosted on Vercel will need to be on a paid plan.
Once logged in, you can import your storefront git repository from the Import Git Repository section of the Vercel dashboard. Select your storefront repository to begin.
For Swell storefront themes, you want to ensure that the build settings and environment variables are set up according to the theme’s instructions:
Now that we've set the configurations, we can go ahead and deploy the site. This may take a bit of time, depending on how much data is within your store. Starting from scratch, it took us anywhere from 3 to 5 minutes to get the base storefront theme deployed. If the deployment stalls or you encounter a network issue during your deployment attempt, wait a few minutes before trying again.
After the deployment process, you'll be able to access your shiny, new storefront from the Vercel dashboard. Here, you can view the external-facing site, configure your domain and website settings, add plugins, and start making sales. When making any changes to your site, simply push them from your git repository to go live on Vercel.
After verifying that your storefront is up and running, you can then add the storefront URL given by Vercel or a custom domain name to a storefront in the Dashboard. You can create a new storefront any time at Storefronts → New Storefront.
Doing so will allow you to showcase that storefront in your store’s dashboard and also set it as the primary storefront for your store.