> For the complete documentation index, see [llms.txt](https://docs.opencityitalia.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opencityitalia.it/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/le-configurazioni-del-servizio/configurare-app-io.md).

# Configurare App IO

Dopo aver attivato appIO [tra le configurazioni generali](/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/le-funzioni-generali-delladmin/abilitare-lappio.md), nella scheda "AppIO" inserisci:

* l'identificativo del servizio;
* la chiave primaria;
* la chiave secondaria.

<figure><img src="https://4252442743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrdV0mwA7iy2c3I7wu5BX%2Fuploads%2FXjnL5R9Ecz3HcAiwh8ys%2Fimage.png?alt=media&amp;token=c7374e24-9c50-4714-afc2-a488b988b697" alt=""><figcaption></figcaption></figure>

Una volta inserite queste informazioni, puoi testare il funzionamento di appIO inserendo un codice fiscale a cui inviare una notifica di prova.

<figure><img src="https://4252442743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrdV0mwA7iy2c3I7wu5BX%2Fuploads%2Fo5HG3lFvl2Z5I6EExPF2%2Fimage.png?alt=media&amp;token=4828cd97-218f-4701-92e3-8c6993eca63a" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Se il test restituisce l'errore "You do not have enough permission", controlla questi tre punti:

1. **Stato del servizio su selfcare PagoPA** — accedi a [selfcare.io.italia.it](https://selfcare.io.italia.it), apri il servizio e verifica che lo stato sia **Pubblicato**. Se è in stato "Bozza" o "In revisione", App IO blocca l'invio anche con chiave valida e IP abilitati.
2. **Identificativo del servizio** — controlla che l'identificativo inserito nella configurazione di Opencity corrisponda esattamente a quello del servizio attivo su selfcare PagoPA.
3. **Preferenze del destinatario su App IO** — se il codice fiscale usato per il test appartiene a un utente che ha disabilitato (o non ancora attivato) quel servizio nelle proprie impostazioni App IO, l'invio viene bloccato con lo stesso errore, indipendentemente da chiave e identificativo.

Se tutti e tre i punti risultano corretti e l'errore persiste, il problema è lato PagoPA: apri un ticket su [selfcare.io.italia.it](https://selfcare.io.italia.it) indicando l'identificativo del servizio e il messaggio di errore ricevuto.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.opencityitalia.it/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/le-configurazioni-del-servizio/configurare-app-io.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
