# Getting started building themes

{% hint style="info" %}
The first step in building a theme for ShopBase is to join the ShopBase Partner Program by [creating a partner account](/master.md#create-a-shopify-partner-account).&#x20;
{% endhint %}

After you create a partner account, check out the following tools and resources to help you get started:

* [A GitHub account to store your theme code ](https://github.com/)
* [Theme development resources](/build-a-theme/theme-development-resources.md)
* [How to submit a theme to ShopBase Theme Store](/build-a-theme/how-to-submit-a-theme-to-shopbase-theme-store.md)

### Create a new theme from ShopBase Partner Admin <a href="#generate-api-credentials-from-the-shopify-admin" id="generate-api-credentials-from-the-shopify-admin"></a>

**Steps:**

1. Create a new empty Github repo (public or private) and remember its' url (eg: <https://github.com/ShopBaseCom/starter-theme>).
2. From your ShopBase Partner Admin, go to **Public Themes**.
3. Click **Create Theme**
4. Give your theme a name
5. In the **Theme details** section, write your theme description and 2 thumbnails of Desktop and Mobile.
6. In the **Connect to repository** section, enter the repository URL where you store your theme code.
7. Hit **Save**.

### Develop the theme in local environment <a href="#generate-api-credentials-from-the-shopify-admin" id="generate-api-credentials-from-the-shopify-admin"></a>

**Steps:**

1. Create a new theme repo on your local machine using our [Theme CLI](/build-a-theme/theme-development-resources.md) tool.
2. [Connect your store & start developing](/build-a-theme/theme-development-resources/connect-to-your-store-and-start-developing.md).

### How submit your theme to Theme Store

**Steps:**

1. From theme detail page, click **Create new version**
2. Enter the description of this version. For eg. *Submit the first time*
3. Hit **Save as draft** or **Submit for Review** \
   (Only Submit when you make sure your theme is fully tested and works)
4. Select the store that you want to install the theme version to test.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.shopbase.com/build-a-theme/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
