# Create the instanceomni instances create --channel whatsapp-baileys --name "My WhatsApp"# Get the QR code — scan with WhatsApp on your phoneomni instances qr <instance-id># Or use a pairing code insteadomni instances pair <instance-id> --phone +5511999999999
Check the connection:
omni instances status <instance-id>
3
Send Your First Message
# Send a text messageomni send --to +5511999999999 --text "Hello from Omni!"# Send an image with captionomni send --to +5511999999999 --media ./photo.jpg --caption "Check this out"# Send a voice note via TTSomni send --to +5511999999999 --tts "Hello, this is a voice message!"
4
Explore Your Messages
# List recent chatsomni chats list# Read messages in a chatomni chats messages <chat-id># Search across all messagesomni messages search "hello"# Check recent eventsomni events list --limit 10
5
Connect an AI Agent (Optional)
Route incoming messages to an AI agent:
# Create an agent provider (e.g. an Agno backend)omni providers create --name "Agno" --schema agno --base-url https://agno.example.com --api-key <key># Create an agent bound to that provideromni agents create \ --name "My Agent" \ --provider agno \ --agent-provider <agent-provider-id> \ --provider-agent-id support-bot# Route all messages from this instance to the agentomni routes create --instance <instance-id> --agent <agent-id>