# File provision

ScandiPWA introduces concept of "file provisioning". **This is a feature of** [**ScandiPWA extensions**](https://docs.create-scandipwa-app.com/extensions/extensions).&#x20;

{% hint style="info" %}
**To provision a file** - means to add a file into the "override" tool-chain with a lowest priority. This would make it discoverable by compiler, while any theme will be able to easily override it.
{% endhint %}

This is commonly used by extensions which implement changes in the entry-point. In example, `@scandipwa/m2-theme` provisions the `pub/index.php` path. It makes it possible to compile an application using this as an HTML entry-point without manually defining it in a theme.

To provision a file, set the `scandipwa.provide` field of `package.json` equal to an array, and populate it with desired path to provision.&#x20;


---

# 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.create-scandipwa-app.com/extensions/file-provision.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.
