It seems like you are looking for a way to programatically open the HelpKit widget? You have come to the right place. Using our widget API is super simple.
To open the widget you can use the
Helpkit.show(view, type?, articleId?)
view String : 'popover' | 'sidebar'
type String : 'article' (optional)
articleId String : 'your_article_page_id' (optional)
Opening the widget
In order to open the widget within your website all you have to do is define the
Example of a button with an event listener that displays the widget 👇
<button onclick="Helpkit.show('popover')">Open the widget</button>
Opening a single article
In order to open a single article within your website you have to define all three parameters.
Example of a button with an event listener that displays a single article 👇
<button onclick="Helpkit.show('popover', 'article', 'qYFazNTSwDkVohWu9S5rbe')">Open the widget</button>
Popover vs Sidebar
Here you can see the visual difference between 'popover' and 'sidebar'