The community member is new to self-hosting Typebot using Docker and is wondering what the embed URL would be to use it in HTML. They found a code snippet in the documentation that uses a cloud URL, but since they deployed Typebot in Docker locally, they want to know the new localhost URL to use instead. One community member suggests that the same cloud URL can be used, while another says the apiHost field in initStandard would need to be changed. There is no explicitly marked answer.
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/js@0.3/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/c901fd24-75b0-4de3-bcbd-b0dd033f57ef.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}}]