# Google docs onebox gem requires a "published" document

**URL:** <https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649>\
**Category:** Product Support\
**Created:** [23 Setembro , 2015 16:42 UTC](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649 "2015-09-23T16:42:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [25 Setembro , 2015 07:06 UTC](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649/3 "2015-09-25T07:06:14Z")

</div>

Michael, are you sure you [published](https://support.google.com/docs/answer/37579?hl=en) the Google Doc you are trying to onebox?

Google Doc needs to be published (_not shared_) for embedding. [More info here](https://support.google.com/docs/answer/143345).

In my testing the published Google Doc is getting embedded.

* * *

> **[Discourse Onebox](https://docs.google.com/document/d/1ly-k_ElI36dYDnPxFzWkBvMuzV1ALetVNjekTBsfd_Q/edit?21)**
>
> Discourse Onebox Embed testing!

---

_[View the full topic](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649)._
