From your admin dashboard, click on Add New under the Office Viewer menu.
- Give the title of the post. (optional)
- Upload a document file.
- Copy the shortcode. (you can also copy the shortcode after published)
- Now publish/save the post.
Paste the shortcode in post, page, or text widget content. Save and view the content, you will see the Document Viewer is showing the Document.