# Step 2. Import Definitions and demo entries.

{% hint style="info" %}
**Requirements**

* You need to complete the[ **app installation**](https://nghiaxchis.gitbook.io/ciseco-hydrogen-shopifys-headless-theme/ciseco-with-development-store/step-1.-install-the-required-apps) steps and complete the steps in the [**Getting Started**](https://nghiaxchis.gitbook.io/ciseco-hydrogen-shopifys-headless-theme/getting-started-1/step-1.-getting-started-with-ciseco-hydrogen-and-oxygen) section [step-1.-getting-started-with-ciseco-hydrogen-and-oxygen](https://nghiaxchis.gitbook.io/ciseco-hydrogen-shopifys-headless-theme/getting-started-1/step-1.-getting-started-with-ciseco-hydrogen-and-oxygen "mention")
  {% endhint %}

### [​](https://docs.commerce.blazity.com/setup#3-private-admin-app)Step 1. Create a Private Admin App <a href="#id-3-private-admin-app" id="id-3-private-admin-app"></a>

1. Go to the Shopify admin dashboard, navigate to Settings > `Apps and sales channels` > `Develop Apps`, and click on `Create app`.
2. After naming and creating your app, move to the `Configuration` tab.
3. In the “Admin API access scopes” section, click `Edit` and select the following scopes:\
   `read_apps,` \
   `read_files, write_files,` \
   `write_metaobject_definitions, read_metaobject_definitions, write_metaobjects, read_metaobjects,` \
   `write_products, read_products,` \
   `write_themes, read_themes`
4. Under **Webhook subscriptions**, choose the `2024-04` API version.
5. Lastly, navigate to the `API Credentials` section.
   * Copy the **Admin API access token** and save it to a file for convenient use in the steps below

### Step 2. Import Definitions and demo entries. <a href="#id-3-private-admin-app" id="id-3-private-admin-app"></a>

1. You can deploy the Hydrogen application to Oxygen and import data there. However, my advice is to check everything on **Localhost** and deploy it to Oxygen as the final step.
2. Check all [environment variables](https://nghiaxchis.gitbook.io/ciseco-hydrogen-shopifys-headless-theme/ciseco-with-development-store/step-2.-setup-environment-variables.) have been set correctly and[ node\_module has been installed](https://nghiaxchis.gitbook.io/ciseco-hydrogen-shopifys-headless-theme/ciseco-with-development-store/step-4.-install-node_module-and-run-on-localhost).
3. Open the **terminal** and run: `"npm run dev"`
4. Go to `http://localhost:3000/cisecoInitCreateMetaobjectDefinitions`&#x20;
5. Enter the **Admin API access token** value above into the input box and perform data import.
6. After importing, you need to manually enable the **Storefronts access** option in the admin page (Please check the video below for more clarity)
7. Please follow the video below.

### &#x20;👉 Video Import definitions and demo entries. <a href="#id-3-private-admin-app" id="id-3-private-admin-app"></a>

{% embed url="<https://youtu.be/qErMZeeqlHM>" %}
Video Import Definitions and demo entries
{% endembed %}

{% file src="<https://2369203281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd8ej7PWHlKyrp3Yi6VZq%2Fuploads%2FHPEfvkqvKkPqla8WgtTA%2FimportOrigin2.webm?alt=media&token=fef7e873-7421-4478-991f-dabd7ef8ef58>" %}
