--- title: "Embedding Beamer Script in Vanilla React" slug: "embedding-beamer-script-in-vanilla-react" updated: 2025-10-08T16:41:21Z published: 2025-10-08T16:41:21Z canonical: "help.userflow.com/embedding-beamer-script-in-vanilla-react" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Embedding Beamer Script in Vanilla React Embedding the script in your React application can be done differently based on whether you’re using a vanilla React setup or a Vite + React setup or Nextjs. This guide will help you integrate Beamer with your **Vanilla React** setup. For a Vanilla React setup, you need to embed the Beamer script in the `public/index.html` file. This file serves as the main HTML template for your React application. ### Step 1: Locate the `public/index.html` file: - Open your React project directory. - Navigate to the `public` folder. - Open the `index.html` file. ### Step 2: Embed the Beamer Script: Add the following script tags inside the `<head>` section of the `index.html` file: ```plaintext Your App Title
``` ### Step 3: Save and Run: - Save the changes to the `index.html` file. - Start your React application using `npm start` or `yarn start.`**‍** **‍**[Click Here to know about How to Inject User Data into Beamer script in React.](/beamer/docs/steps-to-inject-user-data-into-beamer-script-in-react)