Create a POP account and activate SdI/PEPPOL by talking to an AI assistant

Getting startedmcp-ai2026-07-16

Goal

Create a new POP account and activate SdI (Italy/San Marino) or PEPPOL (rest of the EU) entirely in chat with an AI assistant connected to the remote MCP server — without opening popapi.io or filling out any form.

Prerequisites

The flow (5 steps)

The assistant will use these 5 tools, in order:

  1. pop_onboarding_request_otp — ask the assistant to start registration with your email. If the account doesn’t exist, it’s created automatically. The OTP code is also sent by email, but the assistant already receives it in the response.
  2. pop_onboarding_verify_otp — give the assistant the OTP code (expires in 10 minutes): in return you get a temporary onboarding_token (valid 30 minutes), which the assistant will use for you in the following steps.
  3. pop_onboarding_get_status (optional) — to check where you stand before proceeding.
  4. pop_onboarding_get_account_setup — the assistant retrieves the fields still to fill in (country, company name, VAT number, tax regime, etc.) and the allowed values (e.g. the list of tax regimes for your country).
  5. pop_onboarding_save_account_setup — provide the missing data (in natural language, the assistant translates it); at this point you can also ask to activate SdI or PEPPOL in the same request.

Activating SdI or PEPPOL in the same flow

After activation

Once the wizard is complete, get your license_key from Account > API on popapi.io (see get-your-license-key) to start generating invoices — that’s the key you’ll use to authenticate “normal” calls (invoice creation), different from the onboarding_token used only during this flow.

Good to know

Common errors

For the technical detail of the underlying protocol (same flow, direct REST calls) see api/onboarding. To connect the assistant see mcp-remote.