> ## Documentation Index
> Fetch the complete documentation index at: https://cal.com/help/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/calcomhelp/p-7gGgMlhWA3vTHK/images/brandbird(20).png?fit=max&auto=format&n=p-7gGgMlhWA3vTHK&q=85&s=225a330a0323cf0394e55d97d0e5b78e" 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/calcomhelp/p-7gGgMlhWA3vTHK/images/i1600x900-RDSMehJ8vTwZ_zcals5.png?fit=max&auto=format&n=p-7gGgMlhWA3vTHK&q=85&s=916d633409f43a0d6e1df2161349d51f" 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/calcomhelp/p-7gGgMlhWA3vTHK/images/i1600x900-IQ6S7Rq9d94T_d5vl8m.png?fit=max&auto=format&n=p-7gGgMlhWA3vTHK&q=85&s=199c14e510a2633a15b79f3820d21955" 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/calcomhelp/p-7gGgMlhWA3vTHK/images/i1600x900-PNSh9u2m_QV2_v80gvk.png?fit=max&auto=format&n=p-7gGgMlhWA3vTHK&q=85&s=91941b83dd3f58d0041cf73db62936ba" 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/calcomhelp/wwRVz4NrWudfqgAR/images/i1600x900-iihnWwzsuARg_llvldw.png?fit=max&auto=format&n=wwRVz4NrWudfqgAR&q=85&s=b4aa3c44f74ace7138a5bdd58ec5e91b" alt="Routing form embed example" width="1600" height="900" data-path="images/i1600x900-iihnWwzsuARg_llvldw.png" />
</Frame>
