You can now bring AI directly into the Visual Editor with Prompt to Code.
Connect your preferred AI model using an API key, describe what you want to change in your experiment, and let AI generate the custom code needed to bring your idea to life.

What you can do
- Connect your AI provider to the Visual Editor using an API key
- Describe an experiment or customization in natural language
- Have AI generate the required custom code
- Use the generated code directly in your experiment
- Iterate on your ideas by refining your prompts
Why this matters
Not every experiment can be built using the standard Visual Editor tools. Previously, more complex changes often required someone with programming knowledge to write custom HTML, CSS, or JavaScript.
Prompt to Code gives you another way to tackle those experiments. You can describe what you want to achieve and use AI to help translate your idea into working experiment code.
This means teams can explore more ambitious experiment ideas while reducing the amount of manual coding required.















