Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.autoplay.ai/llms.txt

Use this file to discover all available pages before exploring further.

Discover how to pipe live user data from the Autoplay SDK directly into your Tidio Lyro AI Agent. This guide covers building an async listener to capture real-time events, process the incoming data stream, and persist everything locally.

✨ Final result


πŸ“‹ Prerequisites

Complete the Quickstart. You should have:
  • PostHog in the browser β€” snippet, API key, product_id on identify (and email after login if you use it)
  • Connector credentials β€” URL, API token, stream URL (e.g. https://your-connector.onrender.com/stream/ plus your product id from the dashboard) β€” used in Step 2 only for the Autoplay stream
  • autoplay-sdk installed β€” and a successful test stream from the Quickstart
  • A Tidio account

The building blocks

Follow the steps in order β€” each page stands alone so you can ship incrementally.
  1. Connect real-time events β€” Set up the Tidio Lyro AI Agent, wire the backend server and listener, and embed the chat widget in your frontend app.
  2. Define proactive triggers β€” Proactively message users in Tidio based on what they’re doing in your product. (Coming soon)