How to implement AI in e-commerce in 5 minutes
Step by step to add the Provei.AI virtual try-on to Shopify, Nuvemshop, VTEX, Tray, Yampi or WooCommerce, test the install and avoid common mistakes.
In this article
This article is divided into sections. Browse the topics below to find the information you need.
Implementing AI in e-commerce can be as simple as pasting one line of code. With Provei.AI, installing the virtual try-on takes about 5 minutes on most platforms: copy the code from the Instalação (Installation) screen in the dashboard, paste it once in your theme, just before the closing </body> tag, and test it with a product link. On VTEX, allow about 10 minutes.
Before you start: what needs to be ready
The 5 minutes start once your account is active. Check four things before you open your store theme:
- An active account in the Provei dashboard. Access is by invitation: the account owner gets a login when the store is activated, and there is no open sign-up on the website.
- Products in the Provei catalog. The try-on button only appears on pages of products that are in the catalog and active.
- Access to the theme code editor, yours or whoever runs the store.
- Your store address cleared by Provei. If the store opens with and without www, or has more than one domain, ask for all of them to be cleared.
The 5-minute walkthrough
In the dashboard, open Instalação and choose Shopify, Nuvemshop, VTEX, Tray or Outra plataforma (Other platform). On Shopify, enter the address ending in .myshopify.com.
If the account has more than one try-on, choose which one to install. Click Copiar código (Copy code): it already carries your store ID.
In the layout used by every page, just before the closing body tag. Section 3 shows where that is on each platform.
Until you publish, the code doesn’t reach the store. If the store uses a cache, clear it.
Back in the dashboard, click Já instalei (I’ve installed it), paste a product page link and click Testar (Test). Then Concluir (Finish).
The code is a single script line, with a comment naming the try-on it loads and your account ID. It carries the async attribute, which lets the browser download the script without pausing the rest of the page. Still, test the product page on a phone before and after installing. The exact format is in the Help Center.
Where to paste the code on each platform
| Platform | Where to paste | Time | Watch out |
|---|---|---|---|
| Shopify | Online Store > Themes > ⋯ > Edit code > Layout > theme.liquid, before </body> | 5 min | If you switch themes, paste it again in the new theme.liquid |
| Nuvemshop | Loja online > Layout > Editar o código, at the end of the layout used by every page | 5 min | Code editing depends on your plan. Without it, use Google Tag Manager |
| VTEX | CMS > Layout > HTML Templates, in each template used by product pages | 10 min | On VTEX IO, use Enviar instruções to send the steps to your developer |
| Tray | Theme code editor, in the layout used by every page | 5 min | Publishing can take 5 to 15 minutes to show |
| Yampi | Loja Virtual > Scripts > + Novo Script | 5 min | Choose the pages where the script should run |
| WooCommerce | A scripts plugin, in its Footer field; or the child theme’s footer.php | 5 min | Choose Outra plataforma in the dashboard. Clear the site cache |
The full guides, with screenshots, are on the Shopify, Nuvemshop, VTEX, Tray, Yampi and WooCommerce pages. Other platforms are under supported platforms.
Nuvemshop: the old code fields are gone
Older tutorials tell you to paste scripts into Nuvemshop’s tracking code fields. Those fields were removed in March 2024. Use the layout code or Google Tag Manager instead.
How to test, and what to do if the button doesn’t show
The dashboard test opens the page you give it and looks for the code there. It doesn’t open the try-on. The possible results:
| Test result | What to do |
|---|---|
| All set: the code is on this page | Open the page in your store. If the button doesn’t show, check that the product is in the catalog and active, wait a few minutes after publishing the theme, and confirm with support that your store address is cleared. |
| We couldn’t find the code on this page | Check that you saved and published the theme, that the code is in the layout used by every page, and that the link is from the store, not from the admin panel. |
| Couldn’t test right now | The link must be public, start with https:// and open in a private window. Meanwhile, check the button directly on the page. |
Installed through Google Tag Manager?
The dashboard test can’t find code inserted by a tag manager. That doesn’t mean it’s wrong: check the button directly on the product page.
After the code: products and the in-store experience
Once the code is live, the try-on appears on pages of products in the Provei catalog. Under Produtos › Adicionar produtos, the Vários por link (Several by link) option takes up to 500 links at a time: Provei fetches the name, price and photos from each page. You can also turn on AI selection of the best photos. Importing by link needs an access key, created under Conta › Desenvolvedor.

At Approve, the try-on button sits right below the price, next to the size guide and size comparison.
In Experiência na loja (In-store experience) you adjust the try-on button and window with a live preview, and set the access rules: shoppers try on directly, leave a name and contact, get the image through the store’s WhatsApp, or sign in with their store account. For clothing, link a size chart to your products if you want to offer size recommendation. The sizing tools use a separate code, pasted in the same place.
If the store will use shoppable videos, there’s no new code: Video Commerce showcases load with the try-on code. See what video commerce is to decide whether it fits your catalog.
What the installation delivers
to install on most platforms
conversion
returns
These are the figures Provei publishes for its virtual try-on. To measure in your own store, compare the same categories before and after turning the try-on on, over the same number of days. The virtual try-on ROI guide shows the math, and the virtual try-on testing checklist helps you judge image quality before opening it to everyone.
Still choosing a vendor? See the comparisons and the guide on how to choose a virtual try-on. For other AI uses in the store, from search to support, read AI in e-commerce: where it changes the shopping experience.
How this guide was made
Written by the Provei.AI team, with AI assistance in drafting. The paths for each platform and the test messages come from the site’s platform pages and the Provei Help Center. The dashboard is in Portuguese, so screen names appear in Portuguese with a translation. Platforms change their menus from time to time: if yours looks different, the platform guide in the Help Center is the most current.
Sources checked on 11/11/2026: Help Center, “How to install the virtual try-on in your store”; “Test the installation”; “Add products by store link”; “Access the Provei dashboard”.
Want the virtual try-on in your store?
The team activates your account, clears your store address and supports the installation.