Creating Your First Agent
Let's build your first AI agent step by step. This guide assumes you're completely new to Optimly and want to create a customer service agent for your business.
Before You Start
What you'll need:
- An Optimly account (sign up free)
- 10-15 minutes of your time
- Some basic information about your business (we'll help you with this)
What you'll have at the end:
- A working AI agent that knows about your business
- A chat widget on your website
- The ability to capture leads and answer customer questions 24/7
Step 1: Plan Your Agent
Before creating your agent, think about these questions:
What should your agent do?
- Answer questions about your products/services?
- Capture leads from interested visitors?
- Book appointments for consultations?
- Provide support for existing customers?
- All of the above?
What personality should it have?
- Professional and formal?
- Friendly and casual?
- Helpful and informative?
- Enthusiastic about your products?
What does it need to know?
- Your company information (what you do, who you serve)
- Your products or services (features, pricing, benefits)
- Common customer questions and answers
- Your contact information and business hours
💡 Don't worry if you don't have all this ready - you can always add more later!
Step 2: Create the Agent
-
Log into your Optimly dashboard at app.optimly.io
-
Click "Create Agent" (big blue button on your dashboard)
-
Fill in the basic information:
- Agent Name: Something descriptive like "Customer Support Assistant" or "Sales Helper"
- Description: What this agent will do (e.g., "Helps visitors learn about our services and book consultations")
-
Set the personality by writing a brief prompt:
You are a helpful and friendly customer service representative for [Your Company Name].
You are knowledgeable about our products/services and always try to be helpful.
You speak in a professional but warm tone. If you don't know something,
you offer to connect the customer with a human team member. -
Click "Create Agent"
Your agent is now created! But it doesn't know anything about your business yet. Let's fix that.
Step 3: Teach Your Agent About Your Business
Your agent needs knowledge to be helpful. Here are the easiest ways to add it:
Option A: Upload Documents (Recommended)
If you have any of these, upload them:
- Company brochure or one-pager
- FAQ document
- Product/service descriptions
- Pricing sheets
- Company policies
How to upload:
- Click on your agent
- Go to "Knowledge" tab
- Click "Add Knowledge Source"
- Drag and drop your files or click to browse
- Wait for processing (1-2 minutes)
Option B: Add Your Website
Let your agent learn from your existing website:
- In Knowledge tab, click "Add Website"
- Enter your website URL (e.g.,
https://yourcompany.com
) - Choose "Crawl entire site" or select specific pages
- Click "Import"
Option C: Write Custom Information
Add information manually:
- Click "Add Text Source"
- Give it a name like "Company Overview"
- Write or paste information like:
Company: [Your Company Name]
Services: [What you offer]
Pricing: [Your rates or packages]
Contact: [Phone, email, address]
Hours: [When you're available] - Save
💡 Start with the most important info - you can always add more knowledge sources later.
Step 4: Test Your Agent
Before putting your agent live, let's make sure it works:
-
Click "Test Agent" in your agent dashboard
-
Try these sample questions:
- "What services do you offer?"
- "How much does it cost?"
- "How can I contact you?"
- "What are your business hours?"
- "Can I schedule a meeting?"
-
Check the responses:
- Are they accurate?
- Are they helpful?
- Do they sound natural?
- Is the tone what you want?
-
If something's wrong:
- Add more knowledge if the agent doesn't know enough
- Edit the agent prompt if the tone is off
- Try different questions to test various scenarios
Step 5: Enable Tools (Optional but Recommended)
Tools make your agent more powerful. Here are the most useful ones:
Lead Capture Form
Automatically collect contact info from interested visitors:
- Go to "Tools" tab in your agent
- Toggle on "Lead Form"
- Customize the fields you want to collect
- Save
Appointment Scheduling
Let customers book meetings directly:
- Enable "Appointment Scheduling"
- Connect your calendar (Google Calendar, Outlook, etc.)
- Set your availability
- Save
Email Handoff
Transfer complex conversations to your email:
- Enable "Email Handoff"
- Add your support email address
- Save
Step 6: Deploy Your Agent
Now let's get your agent talking to real customers:
Website Integration (Most Popular)
- Click the "⋯" menu on your agent card
- Select "Embed on website"
- Choose "Chat Bubble" (appears as a floating button)
- Customize the appearance:
- Position (bottom-right is most common)
- Colors to match your brand
- Welcome message
- Copy the code snippet
- Paste it before
</body>
on your website - Save and publish your site
Direct Link (For Testing)
You can also share a direct link to test your agent:
- Go to "Share" tab
- Copy the public link
- Share it with colleagues or test it yourself
Step 7: Monitor and Improve
Congratulations! Your agent is now live. Here's how to keep improving it:
Check Performance Daily
- View conversations to see what customers are asking
- Monitor response quality - are answers helpful?
- Track leads captured and appointments booked
Common Improvements
- Add more knowledge based on questions the agent can't answer
- Refine the personality if responses don't match your brand voice
- Update business information when things change
- Add new tools as your needs grow
Weekly Tasks
- Review conversation logs for patterns
- Update knowledge base with new FAQs
- Optimize underperforming responses
What's Next?
Now that you have a working agent, you might want to:
🚀 Scale Up
- Create specialized agents for different purposes (sales, support, booking)
- Connect multiple channels (WhatsApp, Facebook, Instagram)
- Integrate with your CRM using our API
📊 Analyze Performance
- Study conversation analytics to understand customer behavior
- Track conversion rates from visitor to lead to customer
- Identify popular topics and expand your knowledge base
🔧 Advanced Features
- Set up automated follow-ups for captured leads
- Create custom responses for specific scenarios
- Build complex conversation flows for different user types
Need Help?
🎥 Visual Learner?
Watch our step-by-step video tutorial: YouTube Guide
💬 Questions?
- Live chat with our team on optimly.io
- Email support at contact@optimly.io
- Join our community on Discord
📚 Want to Learn More?
- Knowledge Base Guide - Advanced knowledge management
- Analytics Overview - Understanding your data
- Integration Options - Advanced deployment methods
Success! 🎉
You now have an AI agent that can:
- ✅ Answer customer questions 24/7
- ✅ Capture leads automatically
- ✅ Book appointments without human intervention
- ✅ Provide consistent, helpful responses
- ✅ Scale to handle unlimited conversations
Your agent will get smarter over time as you add more knowledge and refine its responses based on real customer interactions.
Welcome to the future of customer service! 🚀