# STEP-4 Creating ScandiPWA Extension with additional dependencies

1. Create scandipwa extension using [**scandipwa-cli**](https://www.npmjs.com/package/scandipwa-cli)**,** for that navigate to your theme folder, and execute `scandipwa extension create @scndipwa/vesrion`
2. To add [**Axios**](https://www.npmjs.com/package/axios) navigate to newly created extensions, and add [**Axios**](https://www.npmjs.com/package/axios) as a dependency to **package.json**

{% code title=" scandipwa/packages/@scandipwa/version/package.json" %}

```javascript
{
  "name": "@scandipwa/version",
  "version": "0.0.0",
  "license": "OSL-3.0",
  "scandipwa": {
    "type": "extension"
  },
  "dependencies": {
    "axios": "0.22.0"
  },
  "eslintConfig": {
    "extends": "@scandipwa"
  }
}

```

{% endcode %}

3\. From them folder execute `npm install`

**Useful Materials**\
[ScandiPWA CLI](https://docs.scandipwa.com/developing-with-scandi/developer-tools/scandipwa-cli)


---

# 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://docs.scandipwa.com/tutorials/accessing-magento-2-controllers/step-4-creating-scandipwa-extension-with-additional-dependencies.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.
