Skip to content

Quickstart

  1. Create a project in the dashboard. Give it a name, a greeting, and a persona (system instructions).

  2. Copy your project secret key from the project’s Install section. It’s public — safe to ship in your client.

  3. Add the SDK for your platform:

    <iframe
    src="https://embed.widget-chat.com?projectSecretKey=YOUR_PROJECT_SECRET_KEY&userId=user-123"
    style="position:fixed; bottom:0; right:0; width:400px; height:600px; border:none; z-index:9999;"
    allow="clipboard-write"
    ></iframe>
  4. Run it. The widget fetches your project config, loads history for userId, shows the greeting, and starts chatting.

Next steps