Overview
During development, you can test your newly created agent on existing Lua channels without setting up your own integrations. This is perfect for quick testing and validation before deploying to your own channels.Quick Testing Only: These channels are for development and testing. For production, you’ll want to set up your own dedicated channels.
Instant Testing
No channel setup required - start testing immediately
All Platforms
Test on WhatsApp, Facebook, Instagram, Email, and Slack
Real Environment
Test exactly how your agent will behave in production
Easy Switch
Link and unlink agents anytime during development
How to Link Your Agent
Each channel uses a special “link” command with your agent ID. Find your agent ID in yourlua.skill.yaml file:
WhatsApp Testing
Instant link via WhatsApp:1
Get Your Link
Replace Example with agent ID:
agentId with your actual agent ID from lua.skill.yaml:Format:📱 Click to Open WhatsApp
Replace YOUR_AGENT_ID in the URL with your actual agent ID before clicking
2
Send Message
The message will be pre-filled with your link command. Just tap Send!
3
Start Testing
Your agent is now linked. Start chatting to test your agent!
Facebook Messenger Testing
1
Copy Link Command
Copy this text and replace Example:
agentId with yours:2
Open Messenger
Click to open the Lua Facebook page:
💬 Open Facebook Messenger
Click to start conversation with Lua on Messenger
3
Send Link Command
Paste and send the exact message you copied in Step 1
4
Confirmation
You’ll receive confirmation that your agent is linked
5
Start Testing
Now chat with your agent through Facebook Messenger!
Instagram Testing
1
Copy Link Command
Copy this text and replace Example:
agentId with yours:2
Open Instagram DM
Click to open the Lua Instagram account:
📸 Open Instagram Messages
Click to message @heylua.ai on Instagram
3
Send Link Command
Paste and send the exact message you copied in Step 1
4
Start Testing
Your agent is linked! Test through Instagram DMs
Email Testing
1
Copy Link Command
Copy this text and replace Example:
agentId with yours:2
Compose Email
Click to open your email client:
✉️ Send Email to [email protected]
Click to compose email (replace YOUR_AGENT_ID in the body)
3
Send Link Command
Replace YOUR_AGENT_ID in the email body with your actual agent ID and send
4
Start Testing
Reply to the confirmation email to start testing your agent via email
Slack Testing
1
Install Lua App
First, add the Lua app to your Slack workspace:
🔗 Install Lua on Slack
Click to authorize Lua app in your Slack workspace
2
Copy Link Command
Copy this text and replace Example:
agentId with yours:3
DM Lua App
In Slack, find the “Lua” app in your workspace and send it a direct message with your link command
4
Start Testing
Your agent is linked! Continue chatting in the Slack DM to test
Finding Your Agent ID
Your agent ID is in yourlua.skill.yaml file:
Testing Workflow
1
Link Agent
Use one of the methods above to link your agent to a test channel
2
Make Changes
Edit your tools, skills, or persona locally
3
Push Changes
4
Test on Channel
Chat with your agent on the linked channel to test changes
5
Iterate
Repeat steps 2-4 until satisfied
Unlinking Your Agent
To stop testing on a channel, send:When to Use Test Channels vs Your Own
- Use Test Channels For
- Use Your Own Channels For
✅ Quick development testing
- Testing during active development
- Validating changes before production
- Trying new features
- Debugging issues
- Early development phase
- Proof of concept
- Learning the platform
Setting Up Your Own Channels
When ready for production, set up your own channels:WhatsApp Setup
Connect your own WhatsApp Business account
Facebook Setup
Connect your Facebook page
Instagram Setup
Connect your Instagram business account
Email Setup
Set up your custom email channel
Slack Setup
Install on your Slack workspace
Website Widget
Add chat widget to your website
Troubleshooting
Link command not working
Link command not working
Make sure:
- You’re using the exact format:
link-me-to:agentId - No spaces in the command
- Agent ID is correct (check
lua.skill.yaml) - You’ve deployed your agent with
lua push
Agent not responding
Agent not responding
Check:
- Agent is deployed:
lua push && lua deploy - Skills are compiled:
lua compile - No errors in logs:
lua logs - Agent has at least one skill with tools
Wrong agent responding
Wrong agent responding
Solution:
- Send
unlink-meto unlink current agent - Send new
link-me-to:agentIdwith correct ID
Changes not appearing
Changes not appearing
Make sure to:
- Save your code changes
- Run
lua pushto upload - Run
lua deployif needed - Test may need a fresh conversation (some platforms cache)
Quick Reference
Link Commands by Channel
| Channel | Link / Instructions |
|---|---|
| Open WhatsApp → Replace YOUR_AGENT_ID | |
Open Messenger → Send link-me-to:agentId | |
Open Instagram DM → Send link-me-to:agentId | |
| Compose Email → Replace YOUR_AGENT_ID | |
| Slack | Install App → DM link-me-to:agentId |
Unlink
Sendunlink-me on any channel to disconnect your agent.
All Testing Channels
WhatsApp Testing
Click to open (replace YOUR_AGENT_ID in URL)
Facebook Messenger
Click to open, then send link command
Instagram DM
Click to open, then send link command
Email Channel
Click to compose (replace YOUR_AGENT_ID)
Slack Installation
Click to install Lua app on Slack
Terminal Testing
Use
lua chat for command-line testing
