Skip to main content

Integrating Neo Beauty Studio

This guide will teach you how to seamlessly incorporate the Neo Beauty Studio by Beauty By Holition into your website, regardless of your chosen platform. You can effortlessly create striking inline product display pages (PDPs), pop-over modal windows, or fullscreen experiences using our neo.js library.

Our scripts handle all the technical aspects, setting up the Neo iFrame perfectly within your webpage. We've included examples of modal, inline, fullscreen, as well as integrations with popular platforms like Webflow, Shopify, and Wix to aid your implementation.

info

We recommend having a minimum space of 600px in height and 400px in width for optimal display in any inline PDP style setup.

Check out our live demos for different types of integrations:

  1. Modal Pop-Over: https://sandbox.holitionbeauty.com/neo-modal-script.html
  2. Inline PDP: https://sandbox.holitionbeauty.com/neo-pdp-script.html
  3. Full Screen: https://sandbox.holitionbeauty.com/neo-fullscreen-script.html

General Steps to Integrate Neo Beauty Studio

Here are the basic steps to integrate Neo Beauty Studio into your website:

  1. Open the webpage where you wish to embed the Neo Beauty Studio. Use a text editor or a Content Management System (CMS) interface that allows JavaScript code editing and insertion.

  2. Create a new button element on the page, which will trigger the virtual experience.

  3. Acquire the necessary CMS client ID from our team. You'll need this to access the Beauty By Holition CMS.

  4. Add the neo.js script to the body section of your page and link the button to initiate the experience. The script will handle the iFrame setup and insertion into the desired location.

  5. Define configuration settings to modify the styling and input the CMS client ID acquired in Step 3.

That's all! With these steps, you can quickly set up the Neo Beauty Studio on your website, offering your customers an engaging virtual try-on experience. If you're using Webflow, Shopify, or Wix, refer to the specific tabs below for platform-specific integration instructions.

This example illustrates how to create a simple modal pop-over, triggered by a button press on the webpage.

To integrate Neo Beauty Studio using neo.js, please follow these steps:

  1. Construct a new button on your webpage and assign it a unique id, for instance: <button id="myBtn">NEO</button>.
  2. Copy and paste the ensuing code snippet at the webpage's end, within the body HTML tags.
<!-- Start Beauty By Holition neo.js -->
<script type="text/javascript" src="https://vto.holitionbeauty.com/branch/V2/develop/vto/assets/scripts/neo.js"></script>
<script>
document.getElementById(/*<insert button id here enclosed in double quotes, eg. "myBtn">*/).onclick = () => {
neo({
client_id: /*<insert your CMS client id here>*/,
}
);
};
</script>
<!-- End Beauty By Holition neo.js -->
important

Ensure that your chosen webpage editor or CMS interface allows the direct addition of HTML elements and scripts to the webpage. This is a prerequisite for the successful integration of Beauty By Holition's Neo Beauty Studio using the instructions provided in this guide.