You can create AI-powered experiments in minutes by writing a simple prompt—no coding needed. For a guided tour of prompt-based experimentation in Kameleoon, click here.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.
Access the creation flow
- In the Kameleoon app, go to Experiences > A/B Test > New experiment.
- If you use the Starter or Trial plan, the prompt-based interface opens automatically.
- If you use the Enterprise plan, a pop-up appears. Select By Prompt.
You cannot use the Graphic editor to edit a variant that PBX generates. For more information, see the FAQ.

- Enter the required information and click Create.
Configure your experiment
1. Define your prompt
In the prompt field, describe the modification you want to make using natural language. You can resize the prompt area by clicking and dragging the corner. Examples:- “Update the product listing grid to display 2 products per row instead of 4.”
- “Change the default sorting option to ‘Price, low to high’.”
Use images and designs
To provide visual context or add specific assets (like banners or pop-ups), click + > Add an image or paste an image from your clipboard.
- Asset: PBX inserts the image file directly into the variation.
- Mockup: PBX uses the image as a reference to recreate the design with code.
Select elements
Help the AI identify which elements to modify in two ways:- Text description: Describe the element in your prompt (for example, “Move the product grid below the banner”).
- Selection box: Click + > Draw sketch and outline the target element on the page. Use the toolbox to draw, erase, or delete your selection.
You cannot scroll or draw outside your current view when using the drawing tool. Use text descriptions for elements located lower on the page.
Configure AI Settings
Customize how the AI generates variants and interacts with your website. Click the + icon and select AI Settings. In the Projects sidebar, select the project you want to edit. The AI Settings menu includes two tabs:- Master Prompt: Define overarching instructions and context for the AI. For more information, refer to the Master Prompts article.
- Technical Settings: Configure technical preferences for your project. You can adjust the following options:
- Website adapts automatically to different screen sizes: Enable this option for responsive websites. Disable it if your mobile version uses a separate URL or does not update on resize.
- Enable support for dynamic websites (SPA, PWA…): Enable this option to detect virtual URL changes and ensure URL targeting and data collection work correctly.
- Custom attribute: Set a custom attribute to allow Kameleoon to track every virtual URL change, enable URL targeting, and gather data, such as the number of page views.
- Avoid dynamic IDs selectors: Specify selectors to avoid.
Generate optimization ideas
To get suggestions for your page:- Type a prompt such as “Suggest ideas to optimize this page.”
- Review the list of actionable improvements generated by the AI.
- Click Regenerate for new ideas or Cancel to use a different prompt.
Build variants in parallel
Build multiple variants simultaneously. While one variant generates, you can immediately start another. A loading icon indicates progress, and Kameleoon notifies you when each variant is ready.2. AI workflow
When you submit a prompt, PBX:- Identifies the target elements.
- Generates technical specifications (accessibility, responsiveness, and QA steps).
- Creates the required JavaScript and CSS updates.
Create from sketches
Design components like pop-ups or overlays by drawing them directly on the page:- Click + > Draw sketch.
- Draw your design.
- Prompt the AI to build it (e.g., “Build the popup based on my sketch”).
3. Review and adjust the generated code

[CSS] or JS code icons in the generation panel. Click CSS or JS to view and edit the relevant code. Click Edit code to make changes.

4. Compare and simulate
Use the header buttons to switch between views:- Website display: Preview the variant appearance.
- Code: View the technical implementation.
- Compare: Compare different variations side-by-side.

Share your experiment

- Copy link: Share a direct link to the experiment.
- Share on LinkedIn: Post your experiment directly to your feed.
Finalize the experiment
Once your variation is complete:- Click Finalize.
- Set your goals, audience targeting, and traffic allocation.
- Launch your experiment.