Knowing what to put in your config.yml
isn't always straightforward. This guide aims to clarify what data is needed, and where to get it.
Note: ThemeKit is the tool that powers Slate deploys. See it's configuration variables documentation for more details.
- store: the shopify-specifc URL for this store/ environment (ie. my-store.myshopify.com).
- theme_id: the unique id for the theme you want to write to when deploying to this store / environment
- password: the password generated via a private app on this store / environment (necessary for API access)
warning: some commands (start
, deploy
) will overwrite the existing code on this theme_id
with empty boilerplate.
To avoid losing work, we suggest you go to /admin/themes and duplicate
an existing theme to work from.
Go to your store's /admin/themes.xml,
and copy the id
for the theme you would like to update:
alternatively, you can set the theme_id
to "live" to update the published theme
Navigate to your store's private apps page (/admin/apps/private).
Create a new private app and copy the password:
Assign the private app permissions to "Read and Write" for theme templates and theme assets: