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 sidebar
open()— Open the sidebar
close()— Close the sidebar
toggle()— Toggle open/closed
setContext({ threadId, projectName })— Set capture context

SSO: Users must be signed in to your ThoughtCapture app. If they're logged in, the sidebar works automatically — no separate login needed.