Connect to your store & start developing

Connect to your store

By default, ShopBase will look for a .env file with environment variables to connect to your store.

How to get your API key:


  1. From your ShopBase admin, go to Public Themes.

  2. Manage versions.

  3. Choice a version.

  4. Copy API key in Theme credentials

Start developing

From the root of your theme project, run:

shopbase-theme serve

This command starts a development server. You will be able to see and interact with your new site in a development environment — local (on your computer, not published to the internet).

You can also specify a path that point to your theme project:

shopbase-theme serve ~/home/theme/example