Install the ProAbono Customer Portal in a page
install_customer_portalGenerate code to embed the ProAbono customer portal for signed-in customers, including security hash, route, and template snippet. Step 1 of in-site installation.
Instructions
Generates the code that embeds the ProAbono Customer Portal inside a page of the merchant's own site -- current plan, invoices, payment method, billing address, usage -- for the signed-in customer. This is step 1 of the In-Site installation. Returns the server-side security hash computation, the route that renders the page, and the snippet to place in the template. Requires an authenticated customer area: the hosted pages always render for an identified customer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stack": "<stack>",
"target_page": "<target_page>"
},
"name": "install_customer_portal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | Yes | The host project's stack. Detect it from the open project (package.json, composer.json, requirements.txt, Gemfile, .csproj) and confirm with the developer. Use "generic" when none fits. | |
| target_page | Yes | Path of the page that will host the portal, e.g. "/account/billing". | |
| pass_language | No | Pass the application's UI language to ProAbono. Only when the application is the authority for it: it overwrites what the customer set in the portal. |