Your first WhatsApp agent in 15 minutes
Create, configure, and test your first WhatsApp agent step by step.
What you will achieve
By the end of this tutorial you will have a working AI agent on WhatsApp, ready to reply to messages automatically. Estimated time: 15 minutes.
Prerequisites
- An active Rela AI account (sign up here)
- A phone number with WhatsApp available to connect
- Access to the dashboard from a desktop browser
Step 1: Register your account
- Open the dashboard at
https://app.rela.ai. - Click Create account and enter your details.
- Confirm your email by clicking the verification link.
You should see the main dashboard with the sidebar menu visible.
Step 2: Create a WhatsApp agent
- In the sidebar, click Agents.
- Click the New Agent button.
- Fill in the fields:
- Name:
Test Assistant - Channel: select
WhatsApp - Model: leave the default model
- Name:
- Click Create.
You should see the agent configuration page with the prompt sections visible.
Step 3: Configure the prompt sections
The agent prompt is divided into three key sections. Configure each one:
Identity
You are a virtual assistant for ACME company.
Your name is Ana and you help customers with general inquiries.Instructions
1. Greet the user by name if you know it.
2. Answer questions about business hours: Monday to Friday, 9:00 AM - 6:00 PM.
3. If you don't know the answer, indicate that a human agent will reach out soon.Rules
- Never share prices without system confirmation.
- Always respond in the user's language.
- Keep responses under 3 paragraphs.Click Save after completing each section.
Step 4: Connect your number via QR
- On the agent page, go to the WhatsApp Connection section.
- Click Generate QR code.
- Open WhatsApp on your phone and go to Linked Devices > Link a device.
- Scan the QR code displayed on screen.
- Wait for the status to change to Connected (green indicator).
You should see the number status as "Connected" with a green dot next to the number.
Step 5: Test with a message
- From another phone (or the same one, using a different contact), send a WhatsApp message to the connected number.
- Type:
Hello, what are your business hours? - Wait for the agent's response (it usually arrives in 2-5 seconds).
You should see a response from the agent mentioning business hours Monday to Friday, 9:00 AM - 6:00 PM.
Step 6: Verify the response in the dashboard
- Return to the dashboard and go to Agents > Test Assistant.
- Click the Conversations tab.
- Select the recent conversation.
You should see the full history: the user's message and the AI-generated response.
Summary
| Step | Action | Result |
|---|---|---|
| 1 | Account registration | Dashboard access |
| 2 | Create agent | WhatsApp agent created |
| 3 | Configure prompt | Identity, instructions, and rules defined |
| 4 | Connect number | WhatsApp linked and active |
| 5 | Send message | Automatic response received |
| 6 | Verify in dashboard | Conversation visible in history |
Next steps
- Assign tools to your agent so it can query data or create tasks
- Configure OTP authentication to protect sensitive information
- Connect data sources so your agent responds with real information
Mobile App
Rela AI works as a phone app without downloading from an app store. It installs in seconds from the browser and works even when internet signal is intermittent.
Extract data from PDFs and create a searchable collection
Learn to create extraction templates, process PDF documents, and enable AI-powered queries on extracted data.