Integrate
Add ThoughtCapture as a sidebar to any web app.
Quick Start
Add this to your app's HTML:
<!-- Add to your app's HTML -->
<script src="https://thoughtcapture.me/embed.js"></script>
<script>
ThoughtCapture.init();
// Optional: set context
ThoughtCapture.setContext({
threadId: 'YOUR_THREAD_ID',
projectName: 'Q4 Planning'
});
</script>init(options)
Initialize the sidebar:
ThoughtCapture.init({
position: 'right',
width: 380
});setContext(data)
Set the capture context:
ThoughtCapture.setContext({
threadId: 'YOUR_THREAD_ID',
projectName: 'My Project'
});API Reference
init(options)— Initialize the sidebaropen()— Open the sidebarclose()— Close the sidebartoggle()— Toggle open/closedsetContext({ threadId, projectName })— Set capture contextSSO: Users must be signed in to your ThoughtCapture app. If they're logged in, the sidebar works automatically — no separate login needed.