# Подключение модулей и плагинов

Для установки готовых модулей или плагинов у JSBerry есть особые команды:

Для плагинов:

```
jsberry i plugin_name plugin
```

Например для установки фреймворка koa:

```
jsberry i koa-api plugin
```

Для модулей:

```
jsberry i module_name module
```

Например для "чистого" CRUD модуля:

```
jsberry i clear module
```

Список доступных модулей/плагинов можно найти [**здесь**](https://github.com/Dugnist/jsberry/blob/master/STORE.md).

Также модули можно устанавливать по прямой ссылке на гит репозиторий. В таком случае имя папки модуля в проекта будет взято из его конфигурационного файла config.js.

Например скопируем ссылку на репозиторий с плагином mongoose:

![](/files/-LeksBBDTLMk-Z_lWiEn)

В таком случае команда установки будет выглядеть так:

```
jsberry i https://github.com/Dugnist/jsberry-mongoose.git plugin
```


---

# 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://willogix.gitbook.io/jsberry/russkii/getting-started/podklyuchenie-modulei-i-plaginov.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.
