# Installation

## Package installation

{% tabs %}
{% tab title="NPM" %}

```
npm install @growstocks/stack
```

{% endtab %}

{% tab title="Yarn" %}

```
yarn add @growstocks/stack
```

{% endtab %}
{% endtabs %}

## Project integration

1. Make an scss file with your preferred name (e.g. `main.scss`, `style.scss`, `index.scss`).
2. Add the expected compiled css and js files in the `<head></head>` tags.

   ```markup
   <!-- @StackStyles -->
   <link rel=stylesheet type="text/css" href="css/your-file-name.css">
   <!-- @StackScripts -->
   <script src="js/your-file-name.js"></script>
   ```
3. Configure your theme settings in the style file you made using the [Stack Theme API](/stack/scaffold/theme.md).
4. Add your components in the same file. (Refer to the [component integration documentation](/stack/components/component-integration.md))


---

# 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://stackcss.gitbook.io/stack/getting-started/installation.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.
