Share feedback, ideas and get community help

Updated 4 months ago

hosting in docker

Hey I am new to this... I am planning to self host typebot using docker. Wondering what would be the embed url to use it in html ?

Below snippet I found in docs but this is using cloud's url( https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js) since I deployed typebot in docker in local, what would be the new localhost url ?

Plain Text
<script type="module">
  import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js'

  Typebot.initStandard({
    typebot: 'my-typebot',
  })
</script>

<typebot-standard style="width: 100%; height: 600px; "></typebot-standard>


instead of this https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js what i need to use ? please help
W
B
2 comments
Hi @shankar, you dont need to change it...the same one works
You'd need to change the apiHost field in initStandard
Add a reply
Sign up and join the conversation on Discord
instead of this https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js what i need to use ? please help","url":"https://community.typebot.io/hosting-in-docker-j5vPWsxztJVh","identifier":"j5vPWsxztJVh","publisher":{"@type":"Organization","name":"Typebot","logo":{"@type":"ImageObject","url":"https://assets.usehall.com/org_01J5WY498Z4HFNZA1D6GQGBV59/079223ba-f2d1-4825-8243-501026f6f74c.png"}},"comment":[{"@type":"Comment","text":"Hi @shankar, you dont need to change it...the same one works","dateCreated":"2024-08-21T11:32:09.883Z","dateModified":"2024-08-21T11:32:09.883Z","author":{"@type":"Person","url":"https://community.typebot.io/members/807436fa-f30b-4085-8860-476f85aa74df","name":"William","identifier":"807436fa-f30b-4085-8860-476f85aa74df","image":"https://cdn.discordapp.com/embed/avatars/2.png"},"commentCount":0,"comment":[],"position":1,"upvoteCount":0},{"@type":"Comment","text":"You'd need to change the apiHost field in initStandard","dateCreated":"2024-08-21T13:24:14.823Z","dateModified":"2024-08-21T13:24:14.823Z","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"},"commentCount":0,"comment":[],"position":2,"upvoteCount":0}],"author":{"@type":"Person","url":"https://community.typebot.io/members/0cba4671-04b3-4e78-b23c-85645025674c","name":"shankar","identifier":"0cba4671-04b3-4e78-b23c-85645025674c","image":"https://cdn.discordapp.com/embed/avatars/0.png"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0}}]