- Autoplay.js in your app to listen for proactive nudges.
- A user tour provider to show the guided in-app tour.
- Maven to read activity, offer the next step, and launch the tour only after the user says yes.
✅ Before you start
Finish these first:- Step 1 — Connect real-time events so Maven can call Autoplay MCP tools.
- Quickstart Step 3 — Connect Autoplay.js so your app can receive Autoplay nudges.
- A tour provider setup. For Appcues, follow Appcues setup so
AP.dispatchNudge(nudge)can launch Appcues flows.
🔧 What Maven already has from MCP
Because you connected the Autoplay MCP server in Step 1, Maven already has these tools in Capabilities. You are not adding a second MCP server here; the prompt below tells Maven how to use the tools for proactive onboarding.
If you need to review Maven’s Agent Inclusion settings, a typical setup is:
🤖 Add the proactive Maven prompt
In Maven AGI, open your agent and go to Agent settings → Response customization. Set Conversation persona to Empathetic supporter, then paste this into Additional persona instructions. Replace:<YOUR_PRODUCT_ID>with the Autoplayproduct_idfromonboard_product.<YOUR_APP_NAME>with the product name Maven should use in user-facing language.
👀 What a proactive nudge looks like
Once Autoplay.js is installed and dispatching nudges, your tour provider or Autoplay’s built-in nudge card displays the offer without waiting for the user to ask “what’s next?”. Maven handles the conversation after the user accepts. See the example nudge card in Quickstart Step 3 — Add the proactive layer.🧪 Test the handoff
- Log in as a test user who has your tour provider installed and identified with the same
user_idused by your activity source. - Trigger activity that maps to an onboarding step.
- Open the Maven widget and ask: “What’s next?”
- Maven should call
get_onboarding_contextand offer the next walkthrough. - Reply “yes”.
- Maven should call
guide_next_step, and Autoplay.js should launch the tour in the user’s browser.
Maven offers the next step but no tour opens
Maven offers the next step but no tour opens
Confirm Autoplay.js is installed,
connectNudges is running for this user, and your tour provider is configured. If you are using Appcues, re-check the Appcues setup.Maven says there is no next step
Maven says there is no next step
Check that onboarding state exists for the same
product_id and user_id Maven is sending through the MCP tools.Maven launches a tour without consent
Maven launches a tour without consent
Tighten the prompt and confirm
guide_next_step is only called after an explicit yes in the current conversation.