> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/it/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/install-custom-npm-packages-for-advocate.md).

# Installa pacchetti NPM personalizzati per Advocate

Puoi installare pacchetti NPM personalizzati da usare nel microsito o nei widget del tuo programma Advocate.

#### Installa un pacchetto NPS personalizzato

{% tabs %}
{% tab title="Installa pacchetti NPM personalizzati per un microsito" %}
Se vuoi usare componenti personalizzati per creare il tuo microsito, puoi installare un pacchetto personalizzato.

1. Nel menu di navigazione a sinistra, seleziona ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → Contenuti**.
2. Nella *Scheda del microsito*, seleziona **Modifica impostazioni**.
3. Sotto la *Hosting del sito* sezione, seleziona **+ Aggiungi pacchetto** → **Aggiungi da NPM**.
4. Inserisci il nome del pacchetto, *Versione*e *File* percorso.
5. Seleziona **Aggiungi**.

   * Torna al [editor del microsito](/brand/it/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/microsite-editor-explained.md) per iniziare ad aggiungere i tuoi componenti personalizzati al tuo sito.

   <div data-with-frame="true"><figure><img src="/files/ecbdb17944ba012762b182cc2ee4dab8ef313d6a" alt="" width="375"><figcaption></figcaption></figure></div>

{% endtab %}

{% tab title="Installa pacchetti NPM personalizzati per i widget del programma" %}
Se il tuo programma ha un widget personalizzato che non usa i nostri componenti, puoi installare un pacchetto personalizzato.

1. Nel menu di navigazione a sinistra, seleziona ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → Contenuti**.
2. Nella scheda del widget, seleziona **Modifica widget**.
3. Sotto *Widget del programma*, seleziona un widget.

<div data-with-frame="true"><figure><img src="/files/6617d74f8f6908df8d4ce06d17eb97f652f8e119" alt="" width="563"><figcaption></figcaption></figure></div>

1. Nel menu di navigazione a sinistra, seleziona **Pacchetti**.
2. Seleziona ![](/files/5655ac36f230cead399ef81d5607d3ea3807bd40) **Aggiungi pacchetto**.
3. Seleziona **Aggiungi da NPM**.
4. Inserisci il nome del pacchetto, la versione e il percorso del file.
5. Seleziona **Aggiungi**.
   {% endtab %}
   {% endtabs %}

Scopri di più su come [Personalizzare i widget del programma](/brand/it/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-experiences/customize-program-widgets.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/it/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/install-custom-npm-packages-for-advocate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
