Hello all, I have a follow up question re: embed. ...
# api
o
Hello all, I have a follow up question re: embed. How can we embed calendar in a self hosted cal into a client site?
h
You would need to build packages/embeds/embed-core as follows. It would generate dist/embed.umd.js in the embed-core dir
yarn build
Then you need to host embed.umd.js somewhere and update the Embed Snippet with the URL. See https://github.com/calcom/cal.com/blob/main/packages/embeds/embed-snippet/src/index.ts
🔥 1
Also there is one more thing to do for now, you would need to modify embed.ts here to add your self hosted cal URL. This would soon be allowed to be configured. https://github.com/calcom/cal.com/blob/main/packages/embeds/embed-core/src/embed.ts#L377
o
Thank you @Hariom Balhara
❤️ 1