# Prosperity Partner Integration — Complete Documentation > This file contains the complete partner integration documentation for the Prosperity insurance platform. > It is optimized for consumption by AI coding assistants and LLMs. > Source: https://partner-docs.life.li --- ## AI-Assisted Integration URL: https://partner-docs.life.li/ai-integration # AI-Assisted Integration Accelerate your integration with the Prosperity platform using AI coding assistants. Every API operation in our documentation has a **Copy Prompt** button — click it, paste into your AI assistant, and get working integration code. Each prompt includes the actual GraphQL schema types (SDL) read directly from our source code, so the type definitions, field constraints, and documentation comments are always in sync with the API. ## Copy Prompts (Per Operation) Each page in the [Platform Integration](/platform-integrations) section has focused, self-contained prompts you can copy directly into your AI coding assistant: ### API Setup - [Platform GraphQL API](/platform-integrations/graphql-api) — prompt to set up the authenticated API client ### Creating Offers - [Creating Offers](/platform-integrations/creating-offers) — per-product prompts for: - Liechtenstein Life Invest (Germany) - Liechtenstein Life Wealth (Germany) - Prosperity Plus Germany (Germany) - Prosperity 3A (Switzerland) - Existing customer offers ### Other Operations - Fetch offer and download PDF - Update customer information - Look up customer by email Each prompt includes the exact GraphQL mutation/query, working example variables, authentication setup, relevant schema types (SDL), and product-specific notes. Just copy, paste, and tell your AI what to build. ## Schema Reference Browse the full GraphQL schema for the Partner Platform API: - [Schema Reference](/docs/schema) — browsable, auto-generated documentation for every type, input, enum, union, and interface - [Platform Integration API Explorer](/platform-integrations/graphql-api) — interactive playground with full schema introspection The schema reference is auto-generated from the source `.gql` files to stay in sync with the API. ## llms.txt (Auto-Discovered by AI Tools) Our documentation follows the [llms.txt standard](https://llmstxt.org/). AI tools that support this standard will automatically discover and consume our documentation. - **Index:** [/llms.txt](https://partner-docs.life.li/llms.txt) — lightweight summary with links to all pages - **Full content:** [/llms-full.txt](https://partner-docs.life.li/llms-full.txt) — complete documentation in one AI-optimized file ## Interactive GraphQL Playground Each API documentation page includes an embedded GraphQL playground where you can explore the schema, run queries, and test mutations directly: - [Platform Integration API Explorer](/platform-integrations/graphql-api) — for creating complete offers - [Digital Onboarding API Explorer](/customer-digital-onboarding/graphql-api) — for partial offers with customer onboarding ## Which API Do I Need? | Use Case | API | Graph | |----------|-----|-------| | You have **all customer data** and want to create complete, binding offers | Partner Platform | `partner-platform` | | You have **partial data** and want customers to complete the offer in-app | Partner (Digital Onboarding) | `partner` | ## Need Help? If you need assistance with AI-assisted integration or have questions, please reach out to our support team. --- ## Creating Offers With Onboarding Customer Flows URL: https://partner-docs.life.li/customer-digital-onboarding/creating-offers # Creating Offers With Onboarding Customer Flows ## Prerequisites - You have received your API Key (for stable and production environment) ## Integrating our product There are two ways to integrate our product – both lead the user from your website into our policy application flow (themed as per your brand guidelines) seamlessly. ### Option 1: Embedding our user creation widget ![User Creation Widget](/img/user-creation-widget.jpg) You can integrate our user creation/registration widget inside your website as an ` ``` ## URL Parameters The widget can be initialized with default values using URL parameters. Here are the supported parameters: | Parameter | Default | Options | Description | | ----------------- | ------- | ------------------ | ------------------------------------------------------------------------------------------- | | graphType | preTax | postTax, preTax | Initializes the widget with the selected graph type. Users can still switch between graphs. | | initialPayment | 0 | - | Initial payment amount at policy start | | monthlyPayment | 100 | min = 30 | Monthly payment amount | | riskLevel | high | high, medium, low | Initial risk level selection (high: 9%, medium: 6%, low: 3%) | | currentAge | 25 | min = 18, max = 55 | Customer's current age | | startInXYears | 0 | - | Initializes with start year difference comparison graph if > 0 | | ageWhenPolicyEnds | 67 | 67, 75, 85 | Expected policy end age | ## Example Usage Here's an example of embedding the calculator with some predefined parameters: ```html ``` ## Customization The widget automatically adapts to your website's layout and provides a responsive experience across different screen sizes. The height can be adjusted based on your needs by modifying the `height` attribute of the iframe. --- ## Embed Our Calculator Widget URL: https://partner-docs.life.li/widgets/embedded-calculator # Embed Our Calculator Widget We offer a powerful and user-friendly calculator widget that can be easily integrated into your website. The widget provides your customers with a seamless experience to understand and customize their pension plans through an interactive simulation graph. ![Calculator](/img/calculator.jpg) ## Integration Guide You can integrate our calculator widget into your website as an ` ``` ## URL Parameters The widget can be initialized with default values using URL parameters. Here are the supported parameters: | Parameter | Default | Options | Description | | ----------------- | ------- | ------------------ | ------------------------------------------------------------------------------------------- | | graphType | preTax | postTax, preTax | Initializes the widget with the selected graph type. Users can still switch between graphs. | | initialPayment | 0 | - | Initial payment amount at policy start | | monthlyPayment | 100 | min = 30 | Monthly payment amount | | riskLevel | high | high, medium, low | Initial risk level selection (high: 9%, medium: 6%, low: 3%) | | currentAge | 25 | min = 18, max = 55 | Customer's current age | | startInXYears | 0 | - | Initializes with start year difference comparison graph if > 0 | | ageWhenPolicyEnds | 67 | 67, 75, 85 | Expected policy end age | ## Example Usage Here's an example of embedding the calculator with some predefined parameters: ```html ``` ## Customization The widget automatically adapts to your website's layout and provides a responsive experience across different screen sizes. The height can be adjusted based on your needs by modifying the `height` attribute of the iframe. ---