Skip to main content

How to integrate Avaturn into Three.JS app

You can use Avaturn as an avatar platform in your three.js app. Avaturn opens as an iframe and sends an avatar GLB to the three.js app, where the avatar is loaded via GLTFLoader.


Please find an example project here:

Please check function initAvaturn and change demo domain with your own created at

function initAvaturn() {
// Replace it with your own subdomain
const subdomain = "demo";
const url = `https://${subdomain}`;