Skip to main content
If you have a custom HTML/CSS/JS site or work with a developer, embedding BragBox is straightforward.

Add the script tag

Paste the embed snippet into any HTML file where you want testimonials to appear:
The widget renders an iframe immediately after the script tag. Place the snippet inside a container <div> to control the layout:

Placement

The iframe is injected directly after the script tag in the DOM. Wrap it in a container and style the container — don’t try to style the iframe contents directly, as they’re isolated from your site’s CSS.

React / Next.js

In a React or Next.js project, use a useEffect to inject the script:

Content Security Policy (CSP)

If your site uses a CSP header, you’ll need to allow the BragBox domain: