> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tightknit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Embeds

> Learn how embedded pages show your community site on another website and stay in sync.

Embeds put a page of your community site inside another website, such as your marketing site or help center. The embedded page stays in sync with your community site, and links inside it stay in the embed.

## Embed any page from Site > Embeds

Go to **[Site > Embeds](https://studio.tightknit.ai/-/website/embeds)** in Studio and choose a page from the **Page** picker:

* **Pages on your site**: Home, Events, Members, Groups, Resources, Collections and Community guidelines.
* **Record pages**: one Feed, Post, Event, Group, Collection, Member or Tag. After you pick the type, choose the record from the second picker.

You can also paste a link from your community site into either picker. Studio works out which page it is and fills in the rest, so you can copy a page's address from your browser and get its embed code.

A page that your plan doesn't include shows the plan it needs. A page that is turned off on your site says so, with a link to the setting that turns it on.

## Embed a record from its page in Studio

On a feed, event, group, collection, member or tag page in Studio, open the **⋯** menu next to the title and click **Get embed code**. For a post, click **Get embed code** under **Post Details** on its page in **Discussions**.

The dialog opens on that record, with the same options and preview as Site > Embeds. **Get embed code** appears only when your community has a site.

## Copy and paste the code

Under the pickers, Studio shows the page's options, a **Height** setting, the code and a preview:

1. Choose any options. A feed and the home page offer a sort order and post format, and the events page offers upcoming or past events and the calendar filters.
2. Set the **Height** in pixels.
3. Click **Copy code**, then paste the code into your website's HTML where the page should appear.

```html theme={null}
<iframe frameborder="no" src="https://community.example.com/embed/x/announcements?sort=newest&amp;format=card" height="400" width="100%" title="Announcements"></iframe>
```

Use **Open in new tab** to see the embedded page on its own.

## What can't be embedded

* **Sites that require sign-in.** When your site is set to [Restricted access](https://docs.tightknit.ai/community-site/authentication.md#restricted-access-behavior), an embed would show visitors nothing, so Studio doesn't offer embed code.
* **Pages that aren't public.** A feed, post, event, group, member or tag must be readable by anyone, without signing in, to be embedded. Studio marks the others **Not public**.


## Related topics

- [Pages](https://docs.tightknit.ai/community-site/pages.md)
- [Site Overview Settings](https://docs.tightknit.ai/community-site/general.md)
- [Security at Tightknit](https://docs.tightknit.ai/security/overview.md)
- [Navigation & Routes](https://docs.tightknit.ai/community-site/navigation.md)
- [Authentication](https://docs.tightknit.ai/community-site/authentication.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.