> ## Documentation Index
> Fetch the complete documentation index at: https://coss-mintlify-7c00cc7c.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding embed to your webpage

<Frame>
  <iframe width="100%" height="100%" src="https://www.youtube.com/embed/fMHW6jYPIb8?si=ohBU_CMRBWFrQx6L" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
</Frame>

You can get the embed snippet, to install on your webpage, from the Embed Snippet Generator, within the app.

<Note>
  The snippets provided are automatically updated as per the cal.com instance. **So, even when self hosting, you
  can simply copy and paste the snippets from there**
</Note>

There are four ways in which you can embed your [Cal.com](http://Cal.com) event type.

<img src="https://mintcdn.com/coss-mintlify-7c00cc7c/ETludJPC1DNDjzL-/images/brandbird(20).png?fit=max&auto=format&n=ETludJPC1DNDjzL-&q=85&s=ad9c79515bf8fd4bdb52f038b5f07f15" alt="brandbird (20).png" width="2400" height="1350" data-path="images/brandbird(20).png" />

## Inline

Show the embed inline anywhere on the webpage. It let's you show the embed at a particular place in your webpage.

[CodeSandbox link\[React\]](https://codesandbox.io/s/inline-demo-react-for-docs-xps99g?file=/src/App.js)
[CodeSandbox link\[HTML\]](https://codesandbox.io/s/vanillajs-week-view-inline-y9wgxc?file=/index.html)

<Frame>
  <img src="https://mintcdn.com/coss-mintlify-7c00cc7c/ETludJPC1DNDjzL-/images/i1600x900-RDSMehJ8vTwZ_zcals5.png?fit=max&auto=format&n=ETludJPC1DNDjzL-&q=85&s=d590f1b92fba83e8d37c1bd1061a7ed1" alt="Inline embed example" width="1600" height="900" data-path="images/i1600x900-RDSMehJ8vTwZ_zcals5.png" />
</Frame>

## Pop-up via element click

Show the embed, on click of any element on your webpage, in a popup

[CodeSandbox link\[React\]](https://codesandbox.io/s/element-click-popup-h5c5v2?file=/public/index.html)
[CodeSandbox link\[HTML\]](https://codesandbox.io/s/popup-on-click-of-an-existing-element-framework-agnostic-forked-7pl95c?file=/index.html)

<Frame>
  <img src="https://mintcdn.com/coss-mintlify-7c00cc7c/ETludJPC1DNDjzL-/images/i1600x900-IQ6S7Rq9d94T_d5vl8m.png?fit=max&auto=format&n=ETludJPC1DNDjzL-&q=85&s=258292c940655c19d0c7b9b24e8070c7" alt="Pop-up embed example" width="1600" height="900" data-path="images/i1600x900-IQ6S7Rq9d94T_d5vl8m.png" />
</Frame>

## Floating button pop-up

Adds a floating button that can be customized and on clicking that the embed shows up in a popup.

[CodeSandbox link\[React\]](https://codesandbox.io/s/floating-button-popup-react-forked-9y5g95?file=/public/index.html)
[CodeSandbox link\[HTML\]](https://codesandbox.io/s/embed-floating-button-popup-framework-agnostic-mg7339?file=/src/index.js)

<Frame>
  <img src="https://mintcdn.com/coss-mintlify-7c00cc7c/ETludJPC1DNDjzL-/images/i1600x900-PNSh9u2m_QV2_v80gvk.png?fit=max&auto=format&n=ETludJPC1DNDjzL-&q=85&s=fb60468b6f11fa22efe98a9dfc45b932" alt="Floating button embed example" width="1600" height="900" data-path="images/i1600x900-PNSh9u2m_QV2_v80gvk.png" />
</Frame>

## What can you embed?

* You can embed your cal.com link for an event type e.g. `rick/get-rick-rolled`. You can get the snippet from the event-type page.
* You can embed your profile page e.g. rick. For this, you can just update the snippet to replace your cal.com event type link with your username. e.g. `rick/get-rick-rolled => rick`
* You can embed your Routing Form e.g. `forms/YOUR_FORM_ID`. You can get the snippet for that from the Routing Form page.

<Frame>
  <img src="https://mintcdn.com/coss-mintlify-7c00cc7c/ETludJPC1DNDjzL-/images/i1600x900-iihnWwzsuARg_llvldw.png?fit=max&auto=format&n=ETludJPC1DNDjzL-&q=85&s=efa07f7556c420745ace5b8109bcad9c" alt="Routing form embed example" width="1600" height="900" data-path="images/i1600x900-iihnWwzsuARg_llvldw.png" />
</Frame>
