Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

Prompt-based experimentation (PBX) is a fast and intuitive way to create experiments using natural language prompts and generative AI. Instead of coding or relying on a visual editor, simply describe the change you want to make. The AI then generates a measurable, targeted experiment that you can simulate and run directly on your website. For more information on creating PBX experiments, see Create a prompt-based experiment. For help writing effective prompts, see How to write effective prompts (dos and don’ts).
Kameleoon offers a free trial of prompt-based experimentation so you can explore its capabilities before committing. For more information on available PBX plans, see Prompt-based experimentation plans.

What is Prompt-Based Experimentation?

Prompt-based experimentation is a form of vibe experimentation. It provides a new way to create, configure, and analyze experiments using natural language prompts and generative AI. Instead of relying on a visual editor or writing code, describe what you want to test and define your success criteria. The AI then generates a fully configured experiment that is both targeted and measurable. PBX combines the flexibility of a visual editor with the creative power of generative AI. It handles advanced layout changes, generates new elements, and applies brand-oriented designs—often exceeding the capabilities of traditional visual editors. PBX works directly on your existing website, allowing you to optimize and iterate without building new products from scratch.
To learn more about how PBX works, including its LLMs and how to get the best results, see the PBX FAQ.

Examples of what you can create

With prompt-based experimentation, you can:
  • Add dynamic Add to cart buttons on product pages that align with your brand’s identity.
  • Implement sticky headers or call-to-action bars consistent with your site’s design.
  • Introduce persistent, personalized pop-ups and tooltips triggered by user behavior.
  • Add infinite scroll to your website’s category pages.
  • Generate quizzes, forms, pop-ups, banners, and surveys that accelerate the customer journey and increase user engagement.

Generate test ideas with PBX Ideate

Kameleoon’s PBX Ideate analyzes your website to identify friction points and automatically generates optimization hypotheses. Developed in partnership with Conversion, a leading experimentation agency, this feature uses the Lever Framework to diagnose issues in five key areas:
  • Comprehension: Evaluates how clearly users understand your offer.
  • Motivation: Identifies what drives users to take action.
  • Trust: Assesses the credibility and legitimacy of your site.
  • Cost: Measures the perceived time, effort, and financial cost.
  • Usability: Evaluates how easily users can navigate and interact with your site.
PBX Ideate transforms these observations into actionable test ideas with predicted impact scores. You can review these suggestions and launch experiments directly in the PBX editor. To learn more about the logic behind these suggestions, see What powers PBX Ideate?. To learn how to scan pages and review ideas, see Generate test ideas.

Benefits of prompt-based experimentation

  • Speed: Build experiments in minutes instead of hours.
  • Accessibility: Non-technical users create meaningful tests without coding.
  • Scalability: Teams run more experiments and increase testing velocity without scaling developer resources linearly.
  • Quality: PBX automatically generates code that is secure, responsive, and accessible.
  • Increased throughput and learnings: More tests lead to more learnings. A faster feedback loop accelerates insights.
For more information on the value added by PBX, see this FAQ entry.

Before and after with PBX

DimensionBefore PBXAfter PBX
Setup timeDays or weeks of work.Hours with PBX templates.
Experiments per quarter2–3 experiments.5–10x more experiments with the same resources.
StakeholdersTechnical teams.Product, marketing, and design teams.
Quality and consistencyHigh risk of errors.Standardized, validated implementations.
Team focusDeveloper-heavy workload.More time for ideation and analysis.
Experimentation cultureLimited to a few teams.Organization-wide adoption.

Prerequisites

Before creating a prompt-based experiment, meet the following requirements:
  • The Kameleoon PBX extension is only available on browsers that support the Chrome Web Store (for example, Chrome, Arc, Brave, Edge).
  • Install the Kameleoon PBX extension.
    1. Go to the Chrome Web Store and install the Kameleoon PBX extension.
    2. Once installed, you can create prompt-based experiments directly in your browser.
  • Install the Kameleoon script on your website: Implement the Kameleoon script on the site where you want to simulate or run your experiment. Without the script, Kameleoon cannot execute or track experiments.
  • Check your Content Security Policy (CSP): If your website restricts the loading of resources (scripts, images, media, CSS) via the CSP HTTP header, you must update your CSP to allow Kameleoon resources. Otherwise, PBX will not load. Kameleoon notifies you with a warning pop-up if you need to update your CSP. Learn more about updating CSP for Kameleoon.
  • Allow third-party cookies: PBX uses a session cookie hosted on the Kameleoon domain for authentication. Ensure you disable the Block third-party cookies option in your browser settings. If the PBX editor repeatedly prompts you to log in, verify that your browser allows third-party cookies.
For more information on PBX limitations and compatible sites, see the PBX FAQ.

PBX extension capabilities

The Kameleoon PBX extension provides the necessary context for Kameleoon to understand your page’s content, structure, and design. This allows the AI engine to generate variations autonomously while accounting for the specific context of the page. With the extension installed, use the Kameleoon PBX editor directly on any page of your website to build variants with AI. If you use a compatible browser without the extension, Kameleoon prompts you to download it.

Data privacy and security

The extension does not collect or transmit personal or sensitive data from your website’s visitors. When you build an experiment in the PBX editor, the extension captures and transmits all content visible on the page—including HTML structure, text, and screenshots—to the AI model. This data provides the necessary context for your prompt. While this ensures that Kameleoon sends no end-user data to the AI model, the model processes any information visible to you during the creation process. For more information, see How PBX protects personal or sensitive data.