header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Access the Wix AI Assistant
  • Get coding advice from the assistant
  • Quick access to the Wix AI Assistant
  • Code snippets
  • Interactive chat
  • Get more assistance

Wix Studio: AI Assistant

In this article
  • Access the Wix AI Assistant
  • Get coding advice from the assistant
  • Quick access to the Wix AI Assistant
  • Code snippets
  • Interactive chat
  • Get more assistance
Wix Studio is being released gradually to ensure a smooth onboarding experience. If you’re an agency or freelancer already using Wix or Editor X, you’ll receive an email once you have access.
The Wix AI Assistant is an intelligent coding companion built into the Wix IDE. It provides developers with real-time assistance, helping you write code, fix errors, discover features, and learn to use Wix APIs to create great sites.

Access the Wix AI Assistant

To access the Wix AI Assistant, click the Wix AI Assistant icon in the Wix IDE sidebar:
Select Wix AI Assistant
This opens the Wix AI Assistant panel:
Wix AI Assistant panel. Options: (1) Generate code; (2) Fix my code; (3) Look up documentation.

Get coding advice from the assistant

There are several ways the Wix AI Assistant can help you:

Generate new code

For assistance in writing new code, follow these steps:
  1. Select Generate code.
  2. In the text input field, describe what you want the code to do, then click Send Button.
The code assistant creates a code snippet that performs the requested task, and explains how the code works.
For example:
  • Create a backend function that retrieves and returns the currently logged-in member's address.
  • Generate code that gets all the blog posts written between two dates.

Fix your code

To find out what's wrong with code that isn't working, follow these steps:
  1. Select Fix my code.
  2. In the text input field, paste the code that isn't working, then click Send Button.
    For example:
    const myText = "hello world";
    
    console.log("myText");
  3. The code assistant then asks you to describe the problems or errors you're encountering. Describe your code's problems in the text input field, then click Send Button.
    For example:
    • This code is supposed to log "hello world" to the console, but instead it logs "myText".
The code assistant explains what's wrong with your code and provides a code snippet with code that should work correctly.

Discover Wix API capabilities

To ask questions about Wix APIs and find out what you can do with them, follow these steps:
  1. Select Look up documentation.
  2. In the text input field, enter a question, then click Send Button.
The code assistant answers your question based on the Wix API documentation.
For example:
  • How can I retrieve an item from a data collection by ID?
  • Is there an API for receiving HTTP requests?

Quick access to the Wix AI Assistant

You can also access the Wix AI Assistant directly from the editor window:
  • Open the Wix AI Assistant: Right-click anywhere in the editor window and select Ask Wix AI Assistant. This opens the Wix AI Assistant panel, ready for your query.
  • Fix your code: If you have a piece of code that needs fixing, highlight it in the editor window, right-click anywhere in the editor window, and select Ask Wix AI Assistant: Fix code. This opens the Wix AI Assistant panel with the Fix my code option pre-selected and your highlighted code already entered as the initial query.

Code snippets

When the Wix AI Assistant provides a code snippet, an Insert button and a Copy button appear above it:
Code snippet
Click Copy to copy the code to the clipboard.
Click Insert to insert the code directly into the code file you are editing. The code is inserted where your cursor is currently located. If you have some code selected, the inserted code will replace it.

Interactive chat

The Wix AI Assistant provides an interactive chat interface, so you can continue your conversation with the assistant after receiving its initial response. For example, you can ask clarifying questions, request corrections, or make further queries that build on your first one.
To continue the conversation, enter your question in the text input field, then click Send Button.
You can ask up to 2 follow-up questions after each initial query. After this, the Wix AI Assistant starts over.

Get more assistance

After your chat is complete, you might want to get assistance with a new question. To start over, click the home icon at the top of the Wix AI Assistant panel.

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.