# Knowledge base on a webpage

**URL:** <https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362>\
**Category:** Knowledge Base Tool\
**Tags:** website-pages, content\
**Created:** [October 29, 2020, 12:03pm UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362 "2020-10-29T12:03:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![liselippert](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/liselippert/32/99730_2.png) [@liselippert](https://community.hubspot.com/u/liselippert)\
**Post date:** [October 29, 2020, 12:03pm UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362/1 "2020-10-29T12:03:47Z")

</div>

Anyone know if it’s possible to integrate the knowledge base on a webpage?

I have tried using iframe, but I have problems setting the height to page height. I don’t want to scroll in the iframe, and the content length are varying, so it’s difficult to set a height in pixels.

The best would be if I could have the knowledge base as a module, and drag it into the webpage. Does anybody know if that’s possible?

---

<div class="post-metadata">

**Author:** ![natsumimori](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/natsumimori/32/39807_2.png) [@natsumimori](https://community.hubspot.com/u/natsumimori)\
**Post date:** [October 30, 2020, 2:27am UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362/2 "2020-10-30T02:27:56Z")

</div>

Hi @liselippert ,

I wanted to tag in some subject matter experts here: @Kevin-C and @daveroma , would you mind sharing your advice for @liselippert ?

---

<div class="post-metadata">

**Author:** ![liselippert](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/liselippert/32/99730_2.png) [@liselippert](https://community.hubspot.com/u/liselippert)\
**Post date:** [November 11, 2020, 9:59am UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362/3 "2020-11-11T09:59:45Z")

</div>

@Kevin-C @daveroma

Do you have any advice on how to solve this? 🙂

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [November 11, 2020, 1:45pm UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362/4 "2020-11-11T13:45:09Z")

</div>

Hey @liselippert and thanks @natsumimori

I might try using jQuery to set the height of the iframe dynamically on load.

[See this article on the subject!](https://stackoverflow.com/questions/3846132/jquery-get-height-of-iframe-content-when-loaded)

Hope that gets you going in the right direction

---

<div class="post-metadata">

**Author:** ![ShyamMahajan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/shyammahajan/32/21752_2.png) [@ShyamMahajan](https://community.hubspot.com/u/ShyamMahajan)\
**Post date:** [April 19, 2021, 3:23pm UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362/5 "2021-04-19T15:23:18Z")

</div>

I am trying to iFrame the knowledge base website to view private articles but that iFrame is not keeping up the hubspot login session and I am not able to login from the iframe. How can I integrate the private articles?

---

<div class="post-metadata">

**Author:** ![daveroma](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/daveroma/32/82727_2.png) [@daveroma](https://community.hubspot.com/u/daveroma)\
**Post date:** [November 11, 2020, 4:19pm UTC](https://community.hubspot.com/t/knowledge-base-on-a-webpage/27362/6 "2020-11-11T16:19:45Z")

</div>

Hi @liselippert @natsumimori

If the only issue with rendering it in a iframe has to do with dynamically setting the height, then @kevin solution should work well for you.

Another option is to add your knowledge base to a Live Chat widget on the site - [click here to learn more about that option](https://knowledge.hubspot.com/chatflows/create-a-live-chat#:~:text=To%20add%20the%20knowledge%20base,Automatically%20assign%20conversations%20switch%20on.)
