--- title: "How to install Beamer on your website or app?" slug: "how-to-install-beamer-on-your-website-or-app" updated: 2026-10-28T17:01:50Z published: 2026-10-28T17:01:50Z canonical: "help.userflow.com/how-to-install-beamer-on-your-website-or-app" --- > ## 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. # How to install Beamer on your website or app? Installing Beamer means adding one snippet to your site. This article covers the standard install and points you to the guide for your specific setup. ## Get your embed snippet ![](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(716).png) 1. Go to **Embed code** in your Beamer dashboard by hovering over your profile. 2. Copy the snippet shown there. It already contains your Product ID. The snippet has two parts: a `beamer_config` object holding your configuration, and the import of `beamer-embed.js`. ## Add it to your site Paste the snippet inside the `<body>` of your page, at the very bottom, so the rest of your content loads first. You can split the two parts and declare `beamer_config` elsewhere in your code if that suits your setup better — but `beamer_config` must always be declared before `beamer-embed.js` loads. If it isn't, Beamer won't pick up your configuration. That's the whole standard install. Reload your site and the Beamer widget appears. ## Attach Beamer to your own button or menu item If you'd rather trigger Beamer from an existing element instead of the default button, give that element the class `beamerTrigger`. Any element with that class opens the Beamer widget on click and shows the unread bubble. See [How to add Beamer as a menu item using our script?](https://help.userflow.com/beamer/docs/en/how-to-add-beamer-as-a-menu-item-using-our-script) **Adding your own button does not remove the default one.** The floating Beamer button keeps rendering unless you switch it off, so you'll end up with two ways to open the widget on the same page. To hide the default button, set `button: false` in `beamer_config`: ```javascript var beamer_config = {  product_id: "YOUR PRODUCT ID",  selector: "yourButtonId",  button: false }; ``` Your own button keeps working. `button: false` only affects the default floating one. ### Opening Beamer from another tool's interface If you're opening Beamer from somewhere you don't fully control — a resource center, a help menu, another product's widget — you're not binding a button at all, you're calling Beamer directly. That needs one more parameter: - `button: false` hides the default floating button. - `alert: false` stops Beamer binding any element and hides the unread badge. Use this only when nothing on your page should open the widget on click. - `Beamer.show()` opens the widget whenever your own code calls it. ```javascript var beamer_config = {  product_id: "YOUR PRODUCT ID",  button: false,  alert: false }; // then, from your own trigger: Beamer.show(); ``` **Don't set** `alert: false` **if you're using your own button.** It removes the binding that makes your button work. It belongs only in the programmatic case above. If Beamer shouldn't load at all until the user acts, add `lazy: true` and call `Beamer.init()` first. See [Enable the auto-open widget for your posts](https://help.userflow.com/beamer/docs/en/how-to-enable-the-auto-open-widget-for-your-posts). For every available parameter, see [Beamer Developer Documentation](https://help.userflow.com/beamer/docs/en/beamer-developer-documentation). ### Opening Feedback and Roadmap from your own trigger `Beamer.show()` opens the Changelog only. To open the other surfaces, call them directly: ```javascript Beamer.show()              // opens the Changelog Beamer.showIdeas(true)     // opens Feedback Beamer.showRoadmap(true)   // opens the Roadmap ``` Enabling Feedback and Roadmap in your settings makes them available. It does not change what `Beamer.show()` opens. If you are triggering Beamer from your own button, a menu item, or another tool's UI, call the method for the surface you want. Disabling the Changelog is also surface-specific. Turning the Changelog off under **Settings > Widget > Buttons & Triggers** hides the Changelog on both the widget and the standalone page. Feedback and Roadmap stay available and can still be opened with the methods above, as long as their own visibility is still switched on. One thing to know before you do it: disabling the Changelog turns off all Changelog features, not just whether it is visible. The full list of methods is in the [Beamer Developer Documentation](https://help.userflow.com/beamer/docs/en/beamer-developer-documentation). ## Installing on a specific platform or framework | Setup | Guide | | --- | --- | | WordPress | [How to install Beamer on my WordPress account?](https://help.userflow.com/beamer/docs/en/how-to-install-beamer-on-my-wordpress-account) | | Vanilla React | [Embedding Beamer Script in Vanilla React](https://help.userflow.com/beamer/docs/en/embedding-beamer-script-in-vanilla-react) | | Vite + React | [Embedding Beamer Script in Vite + React](https://help.userflow.com/beamer/docs/en/embedding-beamer-script-in-vite-react) | | Next.js | [Embedding Beamer Script in Next.js](https://help.userflow.com/beamer/docs/en/embedding-beamer-script-in-next-js) | | Not a web app, or no third-party scripts allowed | [How to install Beamer using our API?](https://help.userflow.com/beamer/docs/en/how-to-install-beamer-using-our-api) | ## Configuration parameters The snippet accepts parameters for display position, segmentation, language, lazy loading, and user data. For the full list and what each one does, see [Beamer Developer Documentation](https://help.userflow.com/beamer/docs/en/beamer-developer-documentation). ## Content Security Policy (CSP) and allowlisting If your site uses a Content Security Policy, or a firewall or proxy that blocks unknown domains, allow these domains so the widget can load: - `app.getbeamer.com` - `backend.getbeamer.com` - `push.getbeamer.com` - `realtime.getbeamer.com` - `errors.getbeamer.com` - `logs.getbeamer.com` They cover loading the widget, API requests, real-time updates and error logging. The widget always calls these getbeamer.com domains directly. It can't be served through a reverse proxy, and a CNAME doesn't work with it. Only the standalone page can use your own domain. See [Using a custom domain for standalone pages](https://help.userflow.com/beamer/docs/en/using-a-custom-domain-with-beamer). If your policy doesn't allow inline scripts or styles, use the API install with a secure iframe instead. It doesn't rely on inline scripting or styling. It does need some development work on your side. See [How to install Beamer using our API?](https://help.userflow.com/beamer/docs/en/how-to-install-beamer-using-our-api) ## Load Beamer only where your users should see it Beamer shows posts on every page where the script runs. If the script is on your login page or your public marketing pages, popups and other announcements can show to visitors who haven't signed in. Those visitors also count toward your Monthly Active Users. To show posts only to signed-in users: 1. Add the snippet to the pages your users reach after they sign in, not to your login page. 2. Pass a `user_id` for each signed-in user so Beamer can tell people apart. See [How to send user data to the Beamer script?](/beamer/docs/how-to-send-user-data-to-the-beamer-script) If your login page and your app share one template, set `lazy: true` in `beamer_config` and call `Beamer.init()` only once the user has signed in. See [Enable the auto-open widget for your posts](/beamer/docs/how-to-enable-the-auto-open-widget-for-your-posts). ## It's installed but nothing is showing See [Troubleshooting: the Beamer widget isn't appearing on my site](https://help.userflow.com/beamer/docs/en/troubleshooting-the-beamer-widget-isnt-appearing-on-my-site).