# Embedding a Google Document

**URL:** https://meta.discourse.org/t/embedding-a-google-document/215707
**Category:** Support
**Created:** [January 23, 2022, 2:48pm UTC](https://meta.discourse.org/t/embedding-a-google-document/215707 "2022-01-23T14:48:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AUH\_Holder](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@AUH\_Holder](https://meta.discourse.org/u/AUH_Holder)
#### Post date: [January 23, 2022, 2:48pm UTC](https://meta.discourse.org/t/embedding-a-google-document/215707/1 "2022-01-23T14:48:59Z")

</div>

Hi all,

Just a quick one… hopefully!

I’m looking to embed a Google Document into a post, as we use our forums to publish policies and receive feedback on them.

I have found a plugin, called **“Google docs Onebox for Discourse”** which will do what we need, however it doesn’t work when installing. I’m also a bit confused as to if Onebox is now in the installation for Discourse?

When pasting the link into the post, it shows like this:

> **[TestEmbed](https://docs.google.com/document/d/1xM9RtF1wp1m50rLcrZ0RBV2OV1JxweyRhJQnAYAaDf8/edit)**
>
> Thisisatest Sssssssssss

When what we need is something like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/5/4555473885fa54b94f202f5baab917419adec3a0.png)

_(Images are not my own)_

Is there any advice for this? 🙂

Thanks,  
James.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 23, 2022, 3:25pm UTC](https://meta.discourse.org/t/embedding-a-google-document/215707/2 "2022-01-23T15:25:47Z")

</div>

I believe you need to whitelist [https://docs.google.com](https://docs.google.com) in your `allowed iframes` admin setting, and then place your link in the post something like this:

```plaintext
<iframe src="https://docs.google.com/document/d/1xM9RtF1wp1m50rLcrZ0RBV2OV1JxweyRhJQnAYAaDf8/edit?embedded=true" width="300" height="300" frameborder="0" marginheight="0" marginwidth="0">
</iframe>

```

Somebody may have more experience though, and can add some extra detail. 🙂

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 22, 2022, 3:26pm UTC](https://meta.discourse.org/t/embedding-a-google-document/215707/3 "2022-02-22T15:26:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
