Quickstart: Install Sleekplan
Add the Sleekplan feedback widget to your app, identify your users, and optionally enable Single Sign-On — all in one short walkthrough
Updated Dec 1, 2026
This guide walks you through the most common Sleekplan setup path: embedding the JavaScript widget in your app, identifying your logged-in users so feedback is properly attributed, and enabling Single Sign-On if you need it. By the end you'll have the widget running on your site with users identified by email and ID. If the JavaScript widget isn't the right fit, see Standalone page or Iframe embed for the alternatives.
Add the widget snippet
Go to Settings → Widget and copy the snippet shown there.
<script type="text/javascript">window.$sleek=[];window.SLEEK_PRODUCT_ID=XY;(function(){d=document;s=d.createElement("script");s.src="https://client.sleekplan.com/sdk/e.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>Paste it immediately before
</head>in the HTML that loads your app.For a detailed walkthrough, see Install the widget.
Identify your users
Passing user identity to Sleekplan ties every vote, comment, and feedback submission to the right person in your system — no separate Sleekplan signup required for your users. Listen for the
sleek:initevent and call$sleek.setUser()with the user's details.window.document.addEventListener('sleek:init', function () { $sleek.setUser({ mail: 'user@example.com', id: 'YOUR_INTERNAL_USER_ID', name: 'janesmith' }); }, false);Full parameter reference: User setup.
(Optional) Enable Single Sign-On
SSO is required when you have private boards enabled or when your workspace is configured to require email confirmation before users can interact. To use it, generate a JWT on your server using your Sleekplan SSO secret and pass it as the
tokenfield inside$sleek.setUser(). The token is verified server-side, so your users are authenticated silently without any additional prompt.Generate your first token: Single Sign-On.
Go live
Your widget is installed and your users are identified. A few common next steps:
- Customize button placement and appearance in Settings → Widget.
- Enable in-app changelog announcements so users see new updates inside your app.
- Configure Webhooks to sync feedback events to your other tools.
- Connect AI clients via the MCP Server.
Full reference for $sleek.setUser(), addMetadata(), resetUser(), and all other SDK methods.
Widget not showing, users not identified, or SSO failing? Start here.
