# 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.

Canonical: https://provei.ai/en/blog/how-to-implement-ai-in-ecommerce-in-5-minutes
Last updated: 2026-11-11

[Back to the blog](https://provei.ai/en/blog)

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.

February 3, 2026 • Updated 11/11/2026 • Provei AI • 8 min read •

Virtual Try-On AI in E-commerce Installation Shopify Nuvemshop VTEX

In this article

This article is divided into sections. Browse the topics below to find the information you need.

TL;DR

**Implementing AI in e-commerce can be as simple as pasting one line of code.** With Provei.AI, installing the [virtual try-on](https://provei.ai/en/products/fashion-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.

1

## 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.

2

## The 5-minute walkthrough

1

Open Instalação and pick your platform Step 1

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.

2

Copy the code Step 2

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.

3

Paste it in the theme, once Step 3

In the layout used by every page, just before the closing body tag. Section 3 shows where that is on each platform.

4

Save and publish the theme Step 4

Until you publish, the code doesn’t reach the store. If the store uses a cache, clear it.

Test with a product link Step 5

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](https://provei.ai/ajuda/en/instalacao/).

3

## 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](https://provei.ai/en/platforms/shopify), [Nuvemshop](https://provei.ai/en/platforms/nuvemshop), [VTEX](https://provei.ai/en/platforms/vtex), [Tray](https://provei.ai/en/platforms/tray), [Yampi](https://provei.ai/en/platforms/yampi) and [WooCommerce](https://provei.ai/en/platforms/woocommerce) pages. Other platforms are under [supported platforms](https://provei.ai/en/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.

4

## 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.

5

## 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.

![Approve product page on a phone showing the Huge Approve X Corinthians 1910 black t-shirt, price R$ 299.99, the Experimentar Virtualmente button, the Guia de Medidas and Comparar tamanhos links, sizes PP to XGG and the Comprar button](https://provei.ai/platform/proof/mobile-fashion-approve.webp)

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](https://provei.ai/en/products/video-commerce) showcases load with the try-on code. See [what video commerce is](https://provei.ai/en/blog/what-is-video-commerce) to decide whether it fits your catalog.

6

## What the installation delivers

5 min

to install on most platforms

+94%

conversion

-25%

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](https://provei.ai/en/blog/virtual-try-on-roi) guide shows the math, and the [virtual try-on testing checklist](https://provei.ai/en/blog/testing-ai-virtual-try-on-checklist) helps you judge image quality before opening it to everyone.

Still choosing a vendor? See the [comparisons](https://provei.ai/en/comparisons) and the guide on [how to choose a virtual try-on](https://provei.ai/en/blog/how-to-choose-a-virtual-try-on-for-your-online-store). For other AI uses in the store, from search to support, read [AI in e-commerce: where it changes the shopping experience](https://provei.ai/en/blog/ai-in-ecommerce-how-to-transform-the-online-shopping-experience).

7

## 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”](https://provei.ai/ajuda/en/instalacao/); [“Test the installation”](https://provei.ai/ajuda/en/instalacao/testar-instalacao/); [“Add products by store link”](https://provei.ai/ajuda/en/produtos/adicionar-por-link/); [“Access the Provei dashboard”](https://provei.ai/ajuda/en/primeiros-passos/acessar-o-painel/).

### Want the virtual try-on in your store?

The team activates your account, clears your store address and supports the installation.

[Talk to the team ](https://provei.ai/en/contact)[Open the Help Center](https://provei.ai/ajuda/en/instalacao/)

## Related

- [Português (Brasil)](https://provei.ai/blog/implementar-ia-ecommerce-5-minutos)
- [Eyewear virtual try-on: how it works and what online opticians need](https://provei.ai/en/blog/virtual-try-on-for-eyewear)
- [Fashion e-commerce trends in Brazil 2026: what actually happened](https://provei.ai/en/blog/fashion-ecommerce-trends-in-brazil-2026)
- [Virtual fitting room: what it is, the types and how it works](https://provei.ai/en/blog/what-is-a-virtual-try-on)
