How to install Taku Widget

To install the Taku widget, let's first customize its launcher appearance:

Select on which side of the screen widget should be displayed
News

Next, copy the script below and insert it into your website's HTML file:

1
<html>
2
<body>
3
...
+
<script>
+
!function(t,e,a,n){function c(){if(!e.getElementById(a)){var t=e.getElementsByTagName(n)[0],c=e.createElement(n);c.type="text/javascript",c.async=!0,c.src="https://cdn.taku-app.com/js/latest.js",t.parentNode.insertBefore(c,t)}}if("function"!=typeof t.Taku){var s=function(){s.q.push(arguments)};s.q=[],t.Taku=s,"complete"===e.readyState?c():t.attachEvent?t.attachEvent("onload",c):t.addEventListener("load",c,!1)}}(window,document,"taku-js","script");
+
+
window.Taku('news:boot', {
+
api_public_key: "Your public API key. You will get it after sign up.",
+
position: "right",
+
+
launcher_options: {
+
bg_color: "#3345EE",
+
text_color: "#ffffff",
+
text: "News"
+
}
+
});
+
</script>
18
</body>
19
</html>

After completing these steps, the Taku widget should be visible on your website.

Next steps

For more information on what to do next, we recommend the following sections: